Operating System - HP-UX
1834418 Members
2011 Online
110067 Solutions
New Discussion

Re: Mirrored disk replacement - refresher

 
SOLVED
Go to solution
rvent
Frequent Advisor

Re: Mirrored disk replacement - refresher

There are 2 cables connected to each disk array and those connect to 2 different servers.

Server1: connects to disk array 1 and disk array 2
Server2: connects to disk array 1 and disk array 2.

vgscan -v shows an extrange drive c0t0d0??


# vgscan -v
vgscan: The physical volume "/dev/dsk/c2t0d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c3t2d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t8d0" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c5t8d0" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument


/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c3t2d0



/dev/vg01
/dev/dsk/c4t8d0
/dev/dsk/c5t8d0

hbhua_231
Advisor

Re: Mirrored disk replacement - refresher

hi,rvent

please note:
Cur LV 5
Open LV 4

Maybe you have one lv that was not been correctly removed.You shoule remove it first
to get rid of the error.

please post all infomation about vgdisplay -v vg01 and pvdisplay -v /dev/dsk/c5t8d0 |more


rvent
Frequent Advisor

Re: Mirrored disk replacement - refresher

I didnt notice that. But there are only 4 mount point and only 4 LVs:


# vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 5
Open LV 4
Max PV 16
Cur PV 3
Act PV 2
Max PE per PV 17501
VGDA 4
PE Size (Mbytes) 4
Total PE 34998
Alloc PE 19275
Free PE 15723
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 25000
Current LE 6250
Allocated PE 12500
Used PV 2

LV Name /dev/vg01/lvol2
LV Status available/syncd
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 500
Used PV 2

LV Name /dev/vg01/lvol3
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Used PV 2

LV Name /dev/vg01/lvol4
LV Status available/syncd
LV Size (Mbytes) 10500
Current LE 2625
Allocated PE 5250
Used PV 2


--- Physical volumes ---
PV Name /dev/dsk/c5t8d0
PV Status available
Total PE 17499
Free PE 7849
Autoswitch On

PV Name /dev/dsk/c4t8d0
PV Status available
Total PE 17499
Free PE 7874
Autoswitch On



***************************************

# pvdisplay -v /dev/dsk/c5t8d0 | pg
--- Physical volumes ---
PV Name /dev/dsk/c5t8d0
VG Name /dev/vg01
PV Status available
Allocatable yes
VGDA 2
Cur LV 4
PE Size (Mbytes) 4
Total PE 17499
Free PE 7849
Allocated PE 9650
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On

--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg01/lvol1 6250 6250
/dev/vg01/lvol2 250 250
/dev/vg01/lvol3 500 500
/dev/vg01/lvol4 2625 2625

hbhua_231
Advisor

Re: Mirrored disk replacement - refresher

HI,rvent ,read from your post,your disk /dev/dsk/c5t8d0
Allocated PE is 9650 but the mirror one /dev/dsk/c4t8d0 Allocated PE is 9625.

what about the used 25 pe on /dev/dsk/c5t8d0

Please attach pvdisplay -v /dev/dsk/c5t8d0,
and ls -al /dev/vg01/*

from your post,i will tell you how to recreat your removed lv.Then you could remove it and repair vg01 error.