Tuesday, March 11, 2008

synclvodm - synchronising your logical volume manager in IBM AIX


Description

If you have problems with LVM because it is out of sync with the ODM in IBM AIX, you may see the following errors:

0516-306 getlvodm: Unable to find hd7copie in the Device
Configuration Database.
0516-912 rmlv: Unable to remove logical volume hd7copie.

To correct this, you must sync the ODM:

Before correction:

# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
...
hd7copie ??? 8 8 1 closed/syncd N/A

Run the sync command:

# synclvodm -v rootvg
synclvodm: Physical volume data updated.
synclvodm: Logical volume hd5 updated.
synclvodm: Logical volume hd6 updated.
synclvodm: Logical volume hd8 updated.
synclvodm: Logical volume hd4 updated.
synclvodm: Logical volume hd2 updated.
synclvodm: Logical volume hd9var updated.
synclvodm: Logical volume hd3 updated.
synclvodm: Logical volume hd1 updated.
synclvodm: Logical volume hd7 updated.
synclvodm: Logical volume hd7copie updated.
synclvodm: Logical volume rootvglv01 updated.

After the sync command completes:

# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
...
hd7copie dump 8 8 1 open/syncd N/A
Example

synclvodm -v vg_name

1 comment:

Anonymous said...

Hello. This post is likeable, and your blog is very interesting, congratulations :-). I will add in my blogroll =). If possible gives a last there on my blog, it is about the Câmera Digital, I hope you enjoy. The address is http://camera-fotografica-digital.blogspot.com. A hug.