Hi!
OS: AIX 433-10
Our mirrored rootvg is located on hdisk0 + hdisk1, but when doing the
lspv command the output on hdisk1 is:
lspv hdisk1
0516-320 : Physical volume 0040b6ba6defe2970000000000000000 is not
assigned to
a volume group.
Output from hdisk0 is OK and says it belongs to rootvg.
However, lsvg -p rootvg shows the truth, hdisk1 IS assigned to rootvg!
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk1 active 542 288 97..03..00..79..109
hdisk0 active 542 268 77..03..00..79..109
.. and lslvg -l rootvg is as expected:
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT
POINT
hd6 paging 67 134 2 open/syncd N/A
hd5 boot 1 2 2 closed/syncd N/A
hd8 jfslog 1 2 2 open/syncd N/A
hd4 jfs 8 16 2 open/syncd /
hd2 jfs 128 256 2 open/syncd /usr
hd9var jfs 11 22 2 open/syncd /var
hd3 jfs 10 20 2 open/syncd /tmp
hd1 jfs 1 2 2 open/syncd /home
... and lsvg rootvg shows that there are 2 active PVs, no STALE PVs!
VOLUME GROUP: rootvg VG IDENTIFIER:
0040b6ba140802b8
VG STATE: active PP SIZE: 16
megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1084 (17344
megabytes)
MAX LVs: 256 FREE PPs: 556 (8896
megabytes)
LVs: 12 USED PPs: 528 (8448
megabytes)
OPEN LVs: 11 QUORUM: 1
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
So ....
How can i fix this miss-match, and get hdisk1 back to rootvg in lspv
output!?
Do I have to unmirror rootvg, remove hdisk1, then assign it again and
finallay mirror rootvg again ... hope not!?
I have rebooted but no diffrence.
Problem accured probably after moving hdisk1 to another SCSI ... not
really sure since we didnt discover it until resently!
Regards,
Mats Sj?blom
Stockholm