亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

AIX 系統故障之--刪除VG故障

發布時間:2020-08-09 19:36:04 來源:網絡 閱讀:2129 作者:客居天涯 欄目:系統運維

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








向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

淄博市| 道孚县| 翁牛特旗| 江门市| 同仁县| 崇义县| 盖州市| 黄龙县| 章丘市| 萨嘎县| 突泉县| 南昌市| 达州市| 正定县| 武穴市| 长宁县| 涞水县| 盐山县| 武邑县| 焉耆| 中方县| 和静县| 麦盖提县| 历史| 通化市| 明星| 安岳县| 沐川县| 萝北县| 克东县| 杭州市| 前郭尔| 团风县| 顺平县| 南召县| 昌图县| 扎赉特旗| 从江县| 义乌市| 曲靖市| 收藏|