Re: Can't remove hdisk from rootvg
Date: Wed, 10 Nov 2004 10:46:39 -0700 To: aix-l@Princeton.EDU
Interesting .. have only seen this on rare occasions.....
Run the following command to see what the disk actually knows about the
#>lqueryvg -Atvp hdisk0
This will read the vgda on the disk .. look at the items under Physical
.. this will tell you what PVIDs are in
rootvg as seen by the disk... see if 00c0b84e228a7fcd is in the list...
Run the next command to see if if ODM agrees with what you see on the
#>odmget -q "name=rootvg and attribute=pv" CuAt
See if 00c0b84e228a7fcd is again on the list...
1) if both agree... reducevg didn't work ..
execute the reducevg command again and re-run both of the previous
commands to see if they agree now
2) Disk VGDA says hdisk1 is IN the volume group and ODM says the disk is
NOT in the volume group..
ODM is correct in your situation but the disk did not get updated
#resync the VGDA with the ODM information
#>synclvodm -v rootvg
Re-run the the two commands and see if everyone agrees
3) Disk VGDA says hdisk1 is OUT of the volume group and ODM says is in
the volume group..
Match a odmdelete to remove the entry....
Good hunting ..
Update information from ODM to
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Sent: Wednesday, November 10, 2004 10:12 AM
Subject: Can't remove hdisk from rootvg
My new P5 550 came with AIX 5.3 preloaded onto hdisk1. I wanted to move
everything onto hdisk0. I followed the following steps:
migratepv -l hd5 hdisk1 hdisk0
bosboot -a -d /dev/hdisk0
bootlist -m normal hdisk0
mkboot -c -d /dev/hdisk1
reducevg rootvg hdisk1
rmdev -l hdisk1 -d
Everything worked great. The problem that I am having is when I run
cfgmgr, hdisk1 gets added to rootvg. Although rootvg knows nothing
cfgmgr: 0514-621 WARNING: The following device packages are required for
device support but are not currently installed.
hdisk0 00c0b84e228a7fcd rootvg
hdisk2 00c0b84e19bfd6ca stevevg
hdisk1 00c0b84ee1e5e1f4 rootvg
lab-aix4:/=>lsvg -p rootvg
PV_NAME PV STATE TOTAL PPs FREE PPs FREE
hdisk0 active 546 513