1833758 Members
2541 Online
110063 Solutions
New Discussion

Re: I/O error using dd

 
SOLVED
Go to solution
Romaric Guilloud
Regular Advisor

I/O error using dd

>dd if=/dev/dbefr1/rlvol4 of=/dev/dbefr2_ref/rlvol4 bs=4096k
626+0 records in
625+1 records out
I/O error
>

Whereas OK for others rlvol I copy.
What can explain this repeated I/O error?
"And remember: There are no stupid questions; there are only stupid people." (To Homer Simpson, in "The Simpsons".)
7 REPLIES 7
Simon Hargrave
Honored Contributor

Re: I/O error using dd

is dbefr2_ref definately large enough to hold the whole of dbefr1? Perhaps it's getting to the end of the destination lv?
Romaric Guilloud
Regular Advisor

Re: I/O error using dd

Yes Simon, the lvol have the same size!
"And remember: There are no stupid questions; there are only stupid people." (To Homer Simpson, in "The Simpsons".)
Geoff Wild
Honored Contributor

Re: I/O error using dd

Unmount it and do a fsck -F vxfs -o full

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Olivier Decorse
Respected Contributor
Solution

Re: I/O error using dd

Possibilities :
1) dbefr2_ref/rlvol4 is to small to contains dbefr1/rlvol4. Check searching "LV Size" in lvdisplay -v /dev/dbefr2_ref/lvol4 and lvdisplay -v /dev/dbefr1_ref/lvol4
2) the disk inside the dbefr2_ref vg has a hard problem,
3) your SCSI control has a hard problem.

Olivier.
They say "install windows 2k, xp or better", so i install unix !
Pete Randall
Outstanding Contributor

Re: I/O error using dd

Generally this is an indication of a problem with one of the drives. I assume that the drive is substantially larger than 626 * 4096K.

The classic test for a failed hard drive is to run dd against it like this:

dd if=/dev/rdsk/cNtNdN of=/dev/null bs=1024k

If you get an I/O error, your drive is probably due for replacement.

I would look through syslog for errors reported against this drive or run diagnostics against it.


Pete


Pete
Romaric Guilloud
Regular Advisor

Re: I/O error using dd

Good guess Olivier, the LV are larger BUT as the initial lvextend was sized smaller it didn't work for this reason.
Thanks.
"And remember: There are no stupid questions; there are only stupid people." (To Homer Simpson, in "The Simpsons".)
Prashant Zanwar_4
Respected Contributor

Re: I/O error using dd

Hi,
Try recreating the LVOL and then do dd..That will be best.
Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."