- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: dd fails with I/O error message
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 08:21 AM
10-20-2005 08:21 AM
I have created a new filesystem (fsnew) that is slightly smaller than (fsold) filesystem which is 80% full. I need to copy everything from fsold to fsnew. I am using:
dd if=/dev/vg01/rlvol1 of=/dev/vg02/rlvol1 bs=4096k
After a while the dd command fails and says I/O error.
Please help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 08:24 AM
10-20-2005 08:24 AM
Re: dd fails with I/O error message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 08:26 AM
10-20-2005 08:26 AM
Re: dd fails with I/O error message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 08:26 AM
10-20-2005 08:26 AM
Re: dd fails with I/O error message
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=687357
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 08:36 AM
10-20-2005 08:36 AM
Re: dd fails with I/O error message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 08:40 AM
10-20-2005 08:40 AM
Re: dd fails with I/O error message
check /var/adm/syslog/syslog.log
any errors?
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 08:56 AM
10-20-2005 08:56 AM
Re: dd fails with I/O error message
I actually need to copy from 15 filesystems. I have successfully completed 3 of them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 09:36 AM
10-20-2005 09:36 AM
SolutionYou are copying also metadata and LVM information may differ because the sizes are differents.
You copy also empty blocks.
Use cp -Rp or cpio, tar or fbackup/frecover with a pipe to copy the filesystems .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 10:07 AM
10-20-2005 10:07 AM
Re: dd fails with I/O error message
Just copy it as it's stated in the post above me.
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 05:14 PM
10-20-2005 05:14 PM
Re: dd fails with I/O error message
dd if=/dev/dsk/cxtxdx of=/dev/null bs=1024k
and post the result
Awadhesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 10:14 PM
10-20-2005 10:14 PM
Re: dd fails with I/O error message
you can use filesystem dump/restore utilities to duplicate filesystem. This will work form larger to smaller filesystems, if the size in the new filesystem is big enough to hold the data.
A dd will always try to copy ALL blocks of the device and you will never succeed in copying a larger to a smaller device.
VXFS: vxdump/vxrestore - see the man pages for details.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2005 01:56 AM
10-21-2005 01:56 AM
Re: dd fails with I/O error message
/usr/sbin/vxdump 0f - /dev/vgXX/lvYY | remsh
I'm sure the syntax for local copying is very similar, maybe something like:
/usr/sbin/vxdump 0f - /dev/vgXX/lvYY | '(cd
or
/usr/sbin/vxdump 0f - /dev/vgXX/lvYY | cd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2005 04:21 AM
10-21-2005 04:21 AM
Re: dd fails with I/O error message
This may isolate the disk for you.
Or for each pv in the VG, do:
pvdisplay -v /dev/dsk/cXtYdZ | more and look for the ???????
Or
dd if=/dev/rdsk/CxtYdZ of=/dev/null bs=64k
and see which one gives you an I/O error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2005 05:44 AM
10-21-2005 05:44 AM