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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s