Create volume group in AIX

Create a volume group that contains 3 physical volumes with partition size set to 64 megabyte

# mkvg -s 64 hdisk2 hdisk3 hdisk4

Create volume group using all unused “None status” disks

# mkvg -S -y datavg -s ’64’ -n `lspv|grep None| awk ‘{print $1}’| xargs`

reference:
https://www-01.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.cmds3/mkvg.htm
http://unix.worldiswelcome.com/how-to-create-volume-group

Leave a comment