Description
|
Command
|
Create a volume group.
|
vgcreate vg1 /dev/sdb1 /dev/sdc1
|
Add a physical volume to a volume group.
|
vgextend vg1 /dev/sdd1
|
Display volume group.
|
vgdisplay new_vg
|
Scan disks for volume groups.
|
vgscan
|
Remove a physical volume from a volume group.
|
vgreduce group_name /dev/sdc1
|
Change the maximum number of logical volumes of volume group vg00 to 128.
|
vgchange -l 128 /dev/vg00
|
Activate or deactivate a volume group.
|
vgchange -a n my_volume_group
|
Remove a volume group.
|
vgremove officevg
|
Split the physical volumes of a volume group and create a new volume group.
|
$ vgsplit bigvg smallvg /dev/ram15 Volume group "smallvg" successfully split from "bigvg"
|
Merge the inactive volume group my_vg into the active or inactive volume group databases giving verbose runtime information.
|
vgmerge -v databases my_vg
|
Change the name of a volume group.
|
vgrename vg02 my_volume_group
|