Get the App
SLTechnology News&Howtos  ›  Servers  › 

One of the AIX system faults-- deleting VG faults

Shulou Source: shulou.com Published: 2022-06-02 06:25:39 09月24日 Update

One of the AIX system faults-- deleting VG faults

System environment:

Operating system: AIX5300-08

Cause of failure:

Two paging spaces, lv_ps1 and paging01, are established on the datavg volume group. Without deleting the paging space, the datavg volume group is deleted first, and then the datavg volume group is re-established. When viewing the paging space, an error is reported.

[root@/usr/lib/bootaix211] # varyonvg datavg

[root@/usr/lib/bootaix211] # lspv

Hdisk0 00040f8aaa29d28e rootvg active

Hdisk1 000681aaf63a15aa datavg active

Hdisk2 0006816afe167521 None

[root@/usr/lib/bootaix211] # lsps-a

Page Space Physical Volume Volume Group Size Used Active Auto Type

0516-310: Unable to find attribute state in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

Paging01 hdisk1 datavg 2048MB 0 no yes lv

0516-310: Unable to find attribute state in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

Lv_ps1 hdisk1 datavg 2048MB 0 no yes lv

Paging00 hdisk0 rootvg 2048MB 1 yes yes lv

Hd6 hdisk0 rootvg 2048MB 1 yes yes lv

Solution:

1. Synchronous ODM

[root@/usr/lib/bootaix211] # synclvodm-v datavg

Synclvodm: Physical volume data updated.

Synclvodm: Logical volume lv_dsk1 updated.

Synclvodm: Logical volume loglv00 updated.

Synclvodm: Logical volume loglv01 updated.

Synclvodm: Logical volume fslv00 updated.

Synclvodm: Logical volume lv_ps1 updated.

Synclvodm: Logical volume paging01 updated.

0516-310 synclvodm: Unable to find attribute hotspare in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

0516-310 synclvodm: Unable to find attribute auto_sync in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

0516-310 synclvodm: Unable to find attribute auto_on in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

0516-310 synclvodm: Unable to find attribute quorum in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

[root@/usr/lib/bootaix211] # lsps-a

Page Space Physical Volume Volume Group Size Used Active Auto Type

0516-310: Unable to find attribute state in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

Paging01 hdisk1 datavg 2048MB 0 no yes lv

0516-310: Unable to find attribute state in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

Lv_ps1 hdisk1 datavg 2048MB 0 no yes lv

Paging00 hdisk0 rootvg 2048MB 1 yes yes lv

Hd6 hdisk0 rootvg 2048MB 1 yes yes lv

[root@/usr/lib/bootaix211] #

[root@/usr/lib/bootaix211] # lsvg-l datavg

Datavg:

LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT

Lv_dsk1 jfs 48 48 1 closed/syncd / dsk1

Loglv00 jfslog 1 1 1 closed/syncd N/A

Loglv01 jfs2log 1 1 1 closed/syncd N/A

Fslv00 jfs2 32 32 1 closed/syncd / dsk2

Lv_ps1 paging 32 32 1 closed/syncd N/A

Paging01 paging 32 32 1 closed/syncd N/A

2. Delete logical volumes through ODM

[root@/usr/lib/bootaix211] # odmdelete-o CuDv-Q "name=paging01"

1 objects deleted

[root@/usr/lib/bootaix211] # lsps-a

Page Space Physical Volume Volume Group Size Used Active Auto Type

0516-310: Unable to find attribute state in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

Lv_ps1 hdisk1 datavg 2048MB 0 no yes lv

Paging00 hdisk0 rootvg 2048MB 1 yes yes lv

Hd6 hdisk0 rootvg 2048MB 1 yes yes lv

[root@/usr/lib/bootaix211] # synclvodm-v datavg

Synclvodm: Physical volume data updated.

Synclvodm: Logical volume lv_dsk1 updated.

Synclvodm: Logical volume loglv00 updated.

Synclvodm: Logical volume loglv01 updated.

Synclvodm: Logical volume fslv00 updated.

Synclvodm: Logical volume lv_ps1 updated.

Synclvodm: Logical volume paging01 updated.

0516-310 synclvodm: Unable to find attribute hotspare in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

0516-310 synclvodm: Unable to find attribute auto_sync in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

0516-310 synclvodm: Unable to find attribute auto_on in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

0516-310 synclvodm: Unable to find attribute quorum in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

[root@/usr/lib/bootaix211] # lsps-a

Page Space Physical Volume Volume Group Size Used Active Auto Type

0516-310: Unable to find attribute state in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

Paging01 hdisk1 datavg 2048MB 0 no yes lv

0516-310: Unable to find attribute state in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

Lv_ps1 hdisk1 datavg 2048MB 0 no yes lv

Paging00 hdisk0 rootvg 2048MB 1 yes yes lv

Hd6 hdisk0 rootvg 2048MB 1 yes yes lv

[root@/usr/lib/bootaix211] #

3. Delete page space through smit

-delete paging01 and lv_ps1 page spaces through smit, and solve the problem.

[root@/usr/lib/bootaix211] # lsps-a

Page Space Physical Volume Volume Group Size Used Active Auto Type

Paging00 hdisk0 rootvg 2048MB 1 yes yes lv

Hd6 hdisk0 rootvg 2048MB 1 yes yes lv

[root@/usr/lib/bootaix211] #

[root@/usr/lib/bootaix211] # lsvg-l datavg

Datavg:

LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT

Lv_dsk1 jfs 48 48 1 closed/syncd / dsk1

Loglv00 jfslog 1 1 1 closed/syncd N/A

Loglv01 jfs2log 1 1 1 closed/syncd N/A

Fslv00 jfs2 32 32 1 closed/syncd / dsk2

4. Synchronization ODM still has an error

[root@/usr/lib/bootaix211] # synclvodm-v datavg

Synclvodm: Physical volume data updated.

Synclvodm: Logical volume lv_dsk1 updated.

Synclvodm: Logical volume loglv00 updated.

Synclvodm: Logical volume loglv01 updated.

Synclvodm: Logical volume fslv00 updated.

0516-310 synclvodm: Unable to find attribute hotspare in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

0516-310 synclvodm: Unable to find attribute auto_sync in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

0516-310 synclvodm: Unable to find attribute auto_on in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

0516-310 synclvodm: Unable to find attribute quorum in the Device

Configuration Database. Execute synclvodm to attempt to

Correct the database.

5. Re-import and export VG

[root@/usr/lib/bootaix211] # redefinevg

Usage: redefinevg {- d PVname |-I VGid} [- V MajorNumber] VGname

[root@/usr/lib/bootaix211] # redefinevg-d hdisk1 datavg

[root@/usr/lib/bootaix211] # varyoffvg datavg

[root@/usr/lib/bootaix211] # exportvg datavg

[root@/usr/lib/bootaix211] # importvg

0516-604 importvg: Physical volume name not entered.

Usage: importvg [- V MajorNumber] [- y VGname] [- f] [- c] [- x]] | [- L VGname]]

[- n] [- F] [- R] PVname

Imports the definition of a volume group.

Export vg and then re-import it into the ODM library to resolve the problem

[root@/usr/lib/bootaix211] # importvg-y datavg hdisk1

Datavg

[root@/usr/lib/bootaix211] # varyonvg datavg

[root@/usr/lib/bootaix211] # synclvodm-v datavg

Synclvodm: Physical volume data updated.

Synclvodm: Logical volume lv_dsk1 updated.

Synclvodm: Logical volume loglv00 updated.

Synclvodm: Logical volume loglv01 updated.

Synclvodm: Logical volume fslv00 updated.

[root@/usr/lib/bootaix211] #

Tags: Space failure system two problem synchronization operating system cause situation method environment logic error Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple OPPO Reno Microsoft Shulou Technology Shulou Information