Create and manage volume groups.
Usage
Code Block |
---|
|
create vg [label=]<vgname> [description=<text>] force=[1|0] (disk=<device-name>) ... [options=<vgcreate-opts>]
bind vg [volume=] <vgname> (disk=<device-name>) ... [options=<vgextend-opts>]
unbind vg [volume=] <vgname> (disk=<device-name>) ... [options=<vgreduce-opts>]
set vg [volume=]<vgname> [online=yes|no] [writeprotect=yes|no]
show vg [<vgname>]
|
Examples
Code Block |
---|
|
mayacli create vg vgtest disk=dev/sda disk=/dev/sdb disk=/dev/sdc
|
Output
Code Block |
---|
|
mayacli show vg
Configured volume groups :
Name Status Size Disks
------------------------ -------------------- --------- --------
rhel r/w,active,resizable 9.00G sda2
testvg1 r/w,active,resizable 223.57G sdb
|