1832994 Members
2122 Online
110048 Solutions
New Discussion

Re: lvsync - I/O error

 
James W Hitchcock
New Member

lvsync - I/O error

We had to have a disk replaced in vg00. We did the normal procedure .. vgcfgrestore, vgchange -a y, vgsync ... logical volumes would not sync up. When I tried to manually lvsync the logical volumes -- I was able to re-sync all volumes except lvol1 --- I got cannot resync logical volume i/o error ... but it does not appear to be a hardware issue anymore. Any ideas??
3 REPLIES 3
sen_ux
Valued Contributor

Re: lvsync - I/O error

Hi,

this could be a disk issue.
Did u verify the disk using dd.?

Thanks
Bill Hassell
Honored Contributor

Re: lvsync - I/O error

I/O error can only be a hardware error. Start by looking in /var/adm/syslog/syslog.log -- do you see SCSI or lbolt errors? Also check the physical volume with pvdisplay (one for the working disk, the other for the replaced disk. The replacement disk must be identical in size to the old disk. If not, you will get an I/O error trying to write beyond the end of the disk.

Otherwise, check the disk with diskinfo and use dd on the replaced disk. Assuming that the new disk is /dev/rdsk/c2t1d0, run the tests like this like this:

diskinfo /dev/rdsk/c2t1d0

Make sure the size of the disk is not 0 bytes or smaller than the working disk.

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

If you immediately get an I/O error, something is basically wrong with the new disk. If dd runs for a few records (dozens, or hundreds) then fails, there is a bad spot on the replacement.


Bill Hassell, sysadmin
Nguyen Anh Tien
Honored Contributor

Re: lvsync - I/O error

Please help to give me the output of "vgdisplay -v vg00"
what is new disk file system name???
HP is simple