千家信息网

AIX 系统故障之--删除VG故障

发表于:2026-11-02 作者:千家信息网编辑
千家信息网最后更新 2026年11月02日,AIX 系统故障之--删除VG故障系统环境:操作系统: AIX5300-08故障原因:在datavg 卷组上建立了lv_ps1和paging01 两个换页空间,在没有删除换页空间的情况下,先删除了da
千家信息网最后更新 2026年11月02日AIX 系统故障之--删除VG故障

AIX 系统故障之--删除VG故障

系统环境:

操作系统: AIX5300-08

故障原因:

在datavg 卷组上建立了lv_ps1和paging01 两个换页空间,在没有删除换页空间的情况下,先删除了datavg 卷组,后来又重新建立了datavg 卷组,在查看换页空间时,报错


[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


解决方法:


1、同步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、通过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、通过smit 删除page space

---通过smit 删除paging01 ,lv_ps1 这两个换页空间,问题解决

[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、同步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.

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、重新导入导出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.


将vg 导出,然后再重新导入到ODM 库,问题解决


[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]#








空间 故障 系统 两个 问题 同步 操作系统 原因 情况 方法 环境 逻辑 错误 数据库的安全要保护哪些东西 数据库安全各自的含义是什么 生产安全数据库录入 数据库的安全性及管理 数据库安全策略包含哪些 海淀数据库安全审计系统 建立农村房屋安全信息数据库 易用的数据库客户端支持安全管理 连接数据库失败ssl安全错误 数据库的锁怎样保障安全 互联网金融科技 互联网科技工作委员会副主任毛军 互联网品科技 工业互联网科技新基建 互联网科技英文 狮子座互联网科技有限公司 互联网科技素材视频竖屏 汉立互联网科技有限公司联系电话 以后互联网后是啥科技 成都铂石互联网科技做什么的 南平创想时代互联网科技有限公司 互联网科技革命什么开始 滨湖区互联网智能科技产品有哪些 元气玛特互联网科技公司是外包吗 广东工业互联网大赛深圳学泰科技 互联网科技数字货币 广州互联网高科技取餐柜 科技和互联网行业的特点 陕西彩京云互联网科技有限公司 互联网 科技节活动 微视频大赛 互联网科技园 江苏根荣互联网科技 美国互联网保险保险科技 A股互联网金融科技公司 华中科技有哪些互联网大佬 互联网对科技的发展 青海科技产业互联网发展 企晟互联网信息科技有限公司 伍佰万互联网科技怎么赚钱 陕西九四连强互联网科技有限公司
0