Operating System - HP-UX
1833832 Members
2694 Online
110063 Solutions
New Discussion

Re: vg00 strange sync error

 
likid0
Honored Contributor

vg00 strange sync error

Hy,

before,I patched my 11i box, i split the mirror in vg00, a couple of weeks after patching a merged the mirror, but i get an io error when syncing lvol1, as you can see here:

tifon1:/# vgsync vg00
vgsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
vgsync: Couldn't resynchronize logical volume "/dev/vg00/lvol1".
vgsync: Couldn't resynchronize volume group "vg00".


i have tried to re-do the mirror in that lvol:


tifon1:/HP# lvreduce -m 0 /dev/vg00/lvol1
Logical volume "/dev/vg00/lvol1" has been successfully reduced.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
tifon1:/HP# lvextend -m 1 /dev/vg00/lvol1
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
lvextend: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
lvextend: Couldn't resynchronize logical volume "/dev/vg00/lvol1".


its allways lp0:


tifon1:/HP# lvdisplay -v /dev/vg00/lvol1 | more
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 304
Current LE 38
Allocated PE 76
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t6d0 38 38
/dev/dsk/c3t6d0 38 38

--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c0t6d0 00000 current /dev/dsk/c3t6d0 00000 stale
00001 /dev/dsk/c0t6d0 00001 current /dev/dsk/c3t6d0 00001 current
00002 /dev/dsk/c0t6d0 00002 current /dev/dsk/c3t6d0 00002 current
00003 /dev/dsk/c0t6d0 00003 current /dev/dsk/c3t6d0 00003 current
00004 /dev/dsk/c0t6d0 00004 current /dev/dsk/c3t6d0 00004 current
00005 /dev/dsk/c0t6d0 00005 current /dev/dsk/c3t6d0 00005 current
00006 /dev/dsk/c0t6d0 00006 current /dev/dsk/c3t6d0 00006 current
00007 /dev/dsk/c0t6d0 00007 current /dev/dsk/c3t6d0 00007 current
00008 /dev/dsk/c0t6d0 00008 current /dev/dsk/c3t6d0 00008 current
00009 /dev/dsk/c0t6d0 00009 current /dev/dsk/c3t6d0 00009 current
00010 /dev/dsk/c0t6d0 00010 current /dev/dsk/c3t6d0 00010 current



there are no scsi errors in syslog, so it looks like the disk is ok.


Any ideas ??



Windows?, no thanks
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: vg00 strange sync error

Hi Daniel:

This doesn't bode well for your disk. I'd look for errors thusly:

# dd if=/dev/rdsk/c3t6d0 of=/dev/null bs=1024k

Regards!

...JRF...
DCE
Honored Contributor

Re: vg00 strange sync error



Start over from scratch

Reduce all the mirrors off of c3t6d0
lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c3t6d0
and so on for all lvols on the disk

vgreduce the disk from vg00

pvcreate -B the disk (since it is vg00)

add the disk to vg00

run the mkboot command

mirror to the specific disk

lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t6d0
Mridul Shrivastava
Honored Contributor

Re: vg00 strange sync error

It could be a disk hardware issue so please try dd and then let us know if it succeeds.. else you may have to replace the disk..
Time has a wonderful way of weeding out the trivial
Luk Vandenbussche
Honored Contributor

Re: vg00 strange sync error

Check the attachment
likid0
Honored Contributor

Re: vg00 strange sync error

dd if=/dev/rdsk/c3t6d0 of=/dev/null bs=1024k
34732+1 records in
34732+1 records out
the disk looks ok
Windows?, no thanks
Mike Shilladay
Esteemed Contributor

Re: vg00 strange sync error

Hi Daniel,

We have had exactly this problem before,always the first extent. The only solution we found and believe me we certainly did try to fix it, was to replace the disk. Starting from pvcreate'ing the volume did nothing to rectify this. Always the same error.

Sorry Daniel, time to replace the disk.

Mike.
likid0
Honored Contributor

Re: vg00 strange sync error

When i did the dd to check the origin disk, te procces has freezed, and doesnt respond

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


not even to a kill, could it be the origin disk the one that is having problems?
Windows?, no thanks