0516-040 : Unable to read the specified physical volume
descriptor area.
I searched WEB and news for information about recovering
from this error, but found nothing apropriate.
How can I recover a correct VGDA for the rootvg?
The System is a B50/AIX 4.3.3 ML11.
thanx for any help.
greetings,
command lqueryvg -Atp hdiskX will show the content of vgda.
but i do not think it is really helpful.
if you want to find more lvm commands, i think IBM redbook - AIX
Logical Volume Manager from A to Z Introduction and Concepts can give
you more.
I'm using AIX Version 4.3.3 ML 11
The box is a B50
So it should be possible to unmirror the rootvg with
command "unmirrorvg rootvg hdisk0"
(hdisk0 is bad)
But the actual state is, that the lqueryvg-command runs into
the following:
root@excalibur:/root> lqueryvg -Atp hdisk0
0516-040 lqueryvg: Unable to read the specified physical volume
descriptor area.
root@excalibur:/root> lqueryvg -Atp hdisk1
0516-062 lqueryvg: Unable to read or write logical volume manager
record. PV may be permanently corrupted. Run diagnostics
So I think, I have machine with to defective hdisks, and
it's running fine (but how long?).
Does anybody know a way to recover one disk online/offline
or is a reinstall the only way?
Thanx,
Michael
I don't know, but the first thing I would do is backup all logical volumes
on this disk. And I would not reboot.
Yours,
Laurenz Albe
smit vg
-> unmirror a volume group
-> rootvg
-> select the disk that is to be removed (I believe)
ensure the "copies" field is at 1 (if you only have 1 LV
mirror copy, which it sounds like you do)...press enter
Once done, rmdev -dl hdisk0, replace the drive (hopefully you're using
hot swappable drives - otherwise a shutdown will be required), run
cfgmgr (-v flag if you want to watch config manager do it's thing), then
reverse the above (smit vg....mirror...)
BTW, the smit menus mentioned above essentially run the following basic
commands from a prompted environment <G>
LVM:
-> unmirrorvg (or rmlvcopy for EACH LV on hdisk0)
-> reducevg (removes the drive from the VG)
KEY to helping to understand things in AIX in these cases - ESPECIALLY
the things dealing with the LVM(!!): you're working MOSTLY with the ODM
(an "object database manager" where just about everything in the system
is defined and held until told otherwise by the appropriate
command(s)...such as above.
PMS
===