Removing ODM information of a logical Volume
Unix United Professionals :: AIX :: AIX
Page 1 of 1
Removing ODM information of a logical Volume
Removing ODM information of a logical volume
Sometimes situations occur where a logical volume is deleted, but the ODM is not up to date. E.g. when lsvg doesn't show you the logical volume, but the lslv command can still show information about the logical volume.
To resolve this issue, first try: synclvodm -v [volume group name].
If this doesn't work, try this: (in the example below logical volume hd7 is used)
Save the ODM information of the logical volume:
odmget -q name=hd7 CuDv | tee -a /tmp/CuDv.hd7.out
odmget -q name=hd7 CuAt | tee -a /tmp/CuAt.hd7.out
(If you mess things up, you can allways use odmadd /tmp/[filename] to restore the ODM information).
Delete the ODM information of the logical volume:
odmdelete -o CuDv -q name=hd7
odmdelete -o CuAt -q name=hd7
Then, remove the device entry of the logical volume in /dev directory (if present at all).
Sometimes situations occur where a logical volume is deleted, but the ODM is not up to date. E.g. when lsvg doesn't show you the logical volume, but the lslv command can still show information about the logical volume.
To resolve this issue, first try: synclvodm -v [volume group name].
If this doesn't work, try this: (in the example below logical volume hd7 is used)
Save the ODM information of the logical volume:
odmget -q name=hd7 CuDv | tee -a /tmp/CuDv.hd7.out
odmget -q name=hd7 CuAt | tee -a /tmp/CuAt.hd7.out
(If you mess things up, you can allways use odmadd /tmp/[filename] to restore the ODM information).
Delete the ODM information of the logical volume:
odmdelete -o CuDv -q name=hd7
odmdelete -o CuAt -q name=hd7
Then, remove the device entry of the logical volume in /dev directory (if present at all).
Raghavan.navarathna- Posts : 1
Join date : 2008-04-16
Similar topics
» Veritas Volume Manager - Volume Manager FAQ Classic Commands & Other Useful Links
» Removing Solaris from VxVM Control
» Removing Solaris from VxVM Control
Unix United Professionals :: AIX :: AIX
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|