您好,登錄后才能下訂單哦!
這篇文章主要為大家展示了“aix下怎么刪除一個卷組vg”,內容簡而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶領大家一起研究并學習一下“aix下怎么刪除一個卷組vg”這篇文章吧。
要刪除一個asm磁盤組,這個磁盤組對應的卷組也要被刪掉,釋放硬盤空間。處理如下:刪除datavg卷組
# lsvg -l datavg
datavg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
lv_asm jfs 2400 2400 2 closed/syncd N/A
# lspv
hdisk0 0006c86a0451ed0f rootvg active
hdisk1 000e5e0cb4179dce dsgvg active
hdisk2 000e5e0cb3d4c86c dsgvg active
hdisk3 000e5e0cb3d53940 datavg2 active
hdisk4 000e5e0cb3d59d35 datavg active
hdisk5 000e5e0cb3d5f310 datavg active
hdisk6 000e5e0cb3d656b6 datavg active
hdisk7 000e5e0cb3d6b725 datavg2 active
hdisk8 000e5e0cb3eca697 rootvg active
# reducevg datavg hdisk4
0516-016 ldeletepv: Cannot delete physical volume with allocated
partitions. Use either migratepv to move the partitions or
reducevg with the -d option to delete the partitions.
0516-884 reducevg: Unable to remove physical volume hdisk4.
# reducevg -d datavg hdisk4
0516-914 rmlv: Warning, all data belonging to logical volume
lv_asm on physical volume hdisk4 will be destroyed.
rmlv: Do you wish to continue? y(es) n(o)? y
#
#
# lspv
hdisk0 0006c86a0451ed0f rootvg active
hdisk1 000e5e0cb4179dce dsgvg active
hdisk2 000e5e0cb3d4c86c dsgvg active
hdisk3 000e5e0cb3d53940 datavg2 active
hdisk4 000e5e0cb3d59d35 None
hdisk5 000e5e0cb3d5f310 datavg active
hdisk6 000e5e0cb3d656b6 datavg active
hdisk7 000e5e0cb3d6b725 datavg2 active
hdisk8 000e5e0cb3eca697 rootvg active
# reducevg -d datavg hdisk5
0516-914 rmlv: Warning, all data belonging to logical volume
lv_asm on physical volume hdisk5 will be destroyed.
rmlv: Do you wish to continue? y(es) n(o)? y
rmlv: Logical volume lv_asm is removed.
# reducevg -d datavg hdisk6
ldeletepv: Volume Group deleted since it contains no physical volumes.
#
#
# lsvg
rootvg
dsgvg
datavg2
已經被刪除
# lspv
hdisk0 0006c86a0451ed0f rootvg active
hdisk1 000e5e0cb4179dce dsgvg active
hdisk2 000e5e0cb3d4c86c dsgvg active
hdisk3 000e5e0cb3d53940 datavg2 active
hdisk4 000e5e0cb3d59d35 None
hdisk5 000e5e0cb3d5f310 None
hdisk6 000e5e0cb3d656b6 None
hdisk7 000e5e0cb3d6b725 datavg2 active
hdisk8 000e5e0cb3eca697 rootvg active
#
以上是“aix下怎么刪除一個卷組vg”這篇文章的所有內容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內容對大家有所幫助,如果還想學習更多知識,歡迎關注億速云行業資訊頻道!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。