Difference between revisions of "Vgcreate"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man8/vgcreate.8.html
Line 42: | Line 42: | ||
− | Related commands | + | == Related commands == |
+ | * <code>[[lvcreate]]</code> | ||
== See also == | == See also == |
Revision as of 11:25, 2 March 2021
vgcreate
[1] creates a VG to be used in Linux LVM.
Examples
vgcreate VG_NAME_1 /dev/hdb44 (Select PV (/dev/hdb44) from output from pvs
command)
Volume group "VG_NAME_1" successfully created
vgcreate TEST /dev/mapper/3700a09803831416c592b4f566453764f
(select PV using pvs command)
vgdisplay TEST -v --- Volume group --- VG Name TEST System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 1 VG Access read/write VG Status resizable MAX LV 0 Cur LV 0 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size <250.00 GiB PE Size 4.00 MiB Total PE 63999 Alloc PE / Size 0 / 0 Free PE / Size 63999 / <250.00 GiB VG UUID 1R1cyX-juQV-2K1U-GcuG-6imP-JqBh-gD0fIT --- Physical volumes --- PV Name /dev/mapper/3600a09803831416c592b4f566453764e PV UUID REXKhs-mU6s-ZiIF-vsJT-0fv0-nE01-X727SN PV Status allocatable Total PE / Free PE 63999 / 63999
Related commands
See also
- scan:
pvscan
vgscan
- LVM:
lvs
lvmscan
lvm fullreport
lvmreport
lvmconfig
lvmdump
lvmcheck
lvm dumpconfig
- Scan:
pvs
vgs
lvs
pvscan
vgscan
- PV:
pvcreate
pvremove
pvscan
pvremove
pvscan
pvs
pvchange
pvck
pvdisplay
pvresize
- LV:
lvdisplay
lvcreate
lvremove
,lvresize
,lvextend
,lvreduce
,lvrename
- VG:
vgdisplay
,vgcreate
,vgremove
,vgextend
,vgreduce
,vgscan
,vgchange
,vgrename
,vgcfgbackup
,vgcfgrestore
,vgimportclone
,vgck
- Check commands:
pvck
vgck
Advertising: