Operating System - HP-UX
1753753 Members
5176 Online
108799 Solutions
New Discussion юеВ

Re: Mirror lvol has first block stale and other blocks current

 
Omar Al-Saiari
Occasional Contributor

Mirror lvol has first block stale and other blocks current



We have system with hp-ux 10.20 s800. vg03 has problem.
All lvol are mirrored in 4 disk, lvol1 has first block stale and the other are current as you can see the output of lvdisplay ├в v

--- Logical volumes ---
LV Name /dev/vg03/lvol1
VG Name /dev/vg03
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery NOMWC
Schedule parallel
LV Size (Mbytes) 6000
Current LE 1500
Allocated PE 3000
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t10d0 1023 1023
/dev/dsk/c0t11d0 477 477
/dev/dsk/c3t10d0 1023 1023
/dev/dsk/c3t11d0 477 477

--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c3t10d0 00000 current /dev/dsk/c0t10d0 00000 stale
00001 /dev/dsk/c3t10d0 00001 current /dev/dsk/c0t10d0 00001 current
00002 /dev/dsk/c3t10d0 00002 current /dev/dsk/c0t10d0 00002 current
00003 /dev/dsk/c3t10d0 00003 current /dev/dsk/c0t10d0 00003 current

we try to force to sync with lvsync and vgsync the same issue.
Remove the mirror copy from c0t10d0 and create it again with the same result we did this after replace c0t10d0 with new one.

Help
Om
6 REPLIES 6
Marco Santerre
Honored Contributor

Re: Mirror lvol has first block stale and other blocks current

Have you issued a vgcfgrestore on your new disk after you replaced it?
Cooperation is doing with a smile what you have to do anyhow.

Re: Mirror lvol has first block stale and other blocks current

you must by new disk
Todd McDaniel_1
Honored Contributor

Re: Mirror lvol has first block stale and other blocks current

I agree...

You should vgcfgrestore first then vgsync /dev/vg03 then vgchange -a y vg03.

You cant sync the disks until the new disk can "See" the LVM configuration data.
Unix, the other white meat.
Omar Al-Saiari
Occasional Contributor

Re: Mirror lvol has first block stale and other blocks current

yes we used vgcfgrestore before we run vgscn and lvsync.

we replace the disk with new one
Todd McDaniel_1
Honored Contributor

Re: Mirror lvol has first block stale and other blocks current

Here is a troubleshooting doc...

It is mainly for boot disks, but covers other situations...

Unix, the other white meat.
Robert-Jan Goossens
Honored Contributor

Re: Mirror lvol has first block stale and other blocks current

Hi Omar,

Could you test your new disk ?

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

Regards,
Robert-Jan