Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Create and manage volume groups.

Usage

Code Block
languagetext
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
languagetext
themeEmacs
    mayacli create vg vgtest disk=dev/sda disk=/dev/sdb disk=/dev/sdc





Output

Code Block
languagetext
themeDJango
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