Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to delete a volume group vg under aix

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to delete a volume group vg under aix", which is easy to understand and clear. I hope it can help you solve your doubts. Let me lead you to study and learn this article "how to delete a volume group vg under aix".

To delete an asm disk group, the volume group corresponding to that disk group is also deleted to free up hard disk space. The processing is as follows: delete the datavg volume group

# 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-884reducevg: 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

Has been deleted.

# 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

#

The above is all the contents of the article "how to delete a volume group vg under aix". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report