资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

aix下怎么删除一个卷组vg

这篇文章主要为大家展示了“aix下怎么删除一个卷组vg”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“aix下怎么删除一个卷组vg”这篇文章吧。

成都创新互联公司是一家专业提供奈曼企业网站建设,专注与网站设计制作、成都网站建设H5响应式网站、小程序制作等业务。10年已为奈曼众多企业、政府机构等服务。创新互联专业的建站公司优惠进行中。

要删除一个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”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注创新互联行业资讯频道!


当前文章:aix下怎么删除一个卷组vg
文章位置:http://www.cdkjz.cn/article/gohphe.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220