Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove device from database 1

Status
Not open for further replies.

ctoman

MIS
Oct 29, 2004
23
US

Aix4.3.3

IBM services tech replaced a bad drive, now when i do anything that effects that volume group i get this error
0516-304 lsvg: Unable to find device id 0008397f7757e89e in the Device
Configuration Database.
0008397f7757e89e removed 542 542 109..108..108..108..109

thank in advance!
 
that looks like a pvid.

try running cfgmgr and see if you get this again.

if not, trying using rmdev command to remove the device, and re-run cfgmgr.

good luck
 
As kHz points out, you probably didn't remove the OS definition of the hdisk that was physically removed.

 
I normally do some odmdelete's if challenged with this situation, but I think synclvodm -v <VolGroup> also does the trick.
 
I tried synclvodm -v and still not

park30:# lsvg -p db
db:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk2 active 542 184 00..00..00..75..109
hdisk3 active 542 27 00..00..00..00..27
0516-304 lsvg: Unable to find device id 0008397f7757e89e in the Device
Configuration Database.
0008397f7757e89e removed 542 542 109..108..108..108..109
hdisk5 active 542 144 00..00..90..31..23
hdisk10 active 542 357 78..46..16..108..109
hdisk12 active 542 49 00..00..00..00..49
hdisk13 active 542 358 109..16..16..108..109
hdisk15 active 542 292 109..00..00..74..109
hdisk16 active 542 296 109..00..00..78..109
hdisk17 active 542 296 109..00..00..78..109
hdisk6 active 542 542 109..108..108..108..109
hdisk19 active 542 363 109..37..00..108..109
hdisk20 active 542 48 00..00..00..00..48
hdisk4 active 542 514 109..95..93..108..109
hdisk7 active 542 542 109..108..108..108..109

thanks!
 
it's in the man page for reducevg

Sometimes a disk is removed from the system without first running reducevg VolumeGroup PhysicalVolume. The VGDA still has this removed disk in it's memory, but the PhysicalVolume name no longer exists or has been reassigned. To remove references to this missing disk you can still use reducevg, but with the Physical Volume ID (PVID) instead of the disk name: reducevg VolumeGroup PVID

so in your case

reducevg db 0008397f7757e89e

should do the trick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top