Basic AIX commands on vg

Source: Internet
Author: User

Lsvg
Lsvg-o
Lsvg rootvg view rootvg Information
Lsvg-p rootvg view the physical hard disk and distribution information in the rootvg volume
Lsvg-l rootvg view the basic information of the logical volume under the rootvg volume

Add a volume group
Smit mkvg adds a volume group using the smit tool. You can set more information.
Mkvg command to create a volume group named newvg created with a physical partition size of 2 MB is:
Mkvg-s 2-y newvg hdisk1


To display the LTG size of a disk, use the command:
/Usr/sbin/lquerypv-M hdisk0

Setting the LTG size
Varyonvg-M512K myvg
Set the logical track group size to the common maximum transfer size of the disks:
Chvg-L 0 tmpvg

Designate a hot spare:
Chpv-hy hdisk1
Chpv-hn hdisk1

Add a physical volume to a volume group:
Extendvg-f volumegroup hdiskn

Removed a physical volume from a volume group:
Reducevg-d-f volumegroup hdiskn

How to remove a volume group:
Reducevg-d-f volumgroup physicalvolume


Activate/deactivate a volume group
Varyonvg datavg
Varyoffvg datavg

Import/export a volume group

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.