0516-304 : Unable to find device id (vgid) in the Device Configuration Database.

0516-304 Unable to find device id (vgid) in the Device Configuration Database

When i list out the online volume groups in my Aix server i got the below errors.

0516-304 : Unable to find device id 00c9b67400004c000000014e8ce6f790 in the Device
Configuration Database.
vgid=00c9b67400004c000000014e8ce6f790

Once i was rebooted server then also error occurred.
This is my experience to resolve the problems.

Error Code:
# lsvg -o
 0516-304 : Unable to find device id 00c9b67400004c000000014e8ce6f790 in the Device
 Configuration Database.
 vgid=00c9b67400004c000000014e8ce6f790
Error Description:

Why this error was happened because of some volume groups was properly not exported from the operating system.
Previously one volume groups was there and it has some mount points.
That mount points was properly not removed from OS and ODM that why this error occurred.

Problem Identification:

1. Find out the Problem of volume group identifier number.

# lsvg -o
 0516-304 : Unable to find device id 00c9b67400004c000000014e8ce6f790 in the Device
 Configuration Database.
 vgid=00c9b67400004c000000014e8ce6f790

2. Get the volume group details from object data manager(ODM) using vg identifier.
vgid=00c9b67400004c000000014e8ce6f790

# odmget CuAt| grep -i 00c9b67400004c000000014e8ce6f790
 value = "00c9b67400004c000000014e8ce6f790.1"
 value = "00c9b67400004c000000014e8ce6f790.14"

 

# odmget CuAt| grep -i 00c9b67400004c000000014e8ce6f790
 value = "00c9b67400004c000000014e8ce6f790.1"
 value = "00c9b67400004c000000014e8ce6f790.14"

 

# odmget CuAt| more

Find out the volume groups details using volume group identifier.
using (Esc + /) and paste the Vgid 00c9b67400004c000000014e8ce6f790

3. So we have find out the some logical volume details but it was not removed from ODM.
bootlv00 logical volume ODM details

name = "bootlv00"
 attribute = "lvserial_id"
 value = "00c9b67400004c000000014e8ce6f790.1"
 type = "R"
 generic = "D"
 rep = "n"
 nls_index = 648

fslv01 logical volume ODM details

name = "fslv01"
 attribute = "lvserial_id"
 value = "00c9b67400004c000000014e8ce6f790.14"
 type = "R"
 generic = "D"
 rep = "n"
 nls_index = 648

4. We have to get the each logical volume details from ODM and remove the entry also.
Get The ODM details and Remove the entry from ODM.

For Lv ID : 00c9b67400004c000000014e8ce6f790.1
# odmget CuDvDr | grep -w bootlv00
# odmdelete -o CuDvDr -q value3=bootlv00
 0518-307 odmdelete: 1 objects deleted.

 

#odmget CuDep | grep -w bootlv00
#odmdelete -o CuDep -q dependency=bootlv00
 0518-307 odmdelete: 1 objects deleted.

 

# odmget -q value=00c9b67400004c000000014e8ce6f790.1 CuAt
# odmdelete -o CuAt -q value=00c9b67400004c000000014e8ce6f790.1

 

# odmget CuDv | grep -w bootlv00
# odmdelete -o CuDv -q name=bootlv00

 

# odmget CuAt | grep -i bootlv00
# odmdelete -o CuAt -q name=bootlv00

5 .Manually Remove the bootlv00 device files from /dev Location.

# cd /dev
# ls -lrt | grep -i bootlv00
# ls -lrt | grep -i bootlv00
# rm rbootlv00
# rm bootlv00
For LV ID :00c9b67400004c000000014e8ce6f790.14
# odmget CuDvDr | grep -i fslv01
# odmdelete -o CuDvDr -q value3=fslv01
 0518-307 odmdelete: 1 objects deleted.

 

# odmget CuDep | grep -i fslv01
# odmdelete -o CuDep -q dependency=fslv01
0518-307 odmdelete: 1 objects deleted.

 

# odmget -q value=00c9b67400004c000000014e8ce6f790.14 CuAt
# odmdelete -o CuAt -q value=00c9b67400004c000000014e8ce6f790.14

 

# odmget CuDv | grep -i fslv01
# odmdelete -o CuDv -q name=fslv01

 

# odmget CuAt | grep -i fslv01
# odmdelete -o CuAt -q name=fslv01

Manually Remove the fslv01 device files from /dev Location.

# cd /dev
# ls -lrt | grep -i fslv01
# ls -lrt | grep -i fslv01
# rm rfslv01
# rm fslv01
Result:

Once reboot the server and check the online vg details.

# lsvg -o
 rootvg
 datavg

Problem was successfully resolved, thank for visit the web site.

Related posts

Leave a Comment