Difference between revisions of "Vgcreate"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man8/vgcreate.8.html
(8 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
== Examples == | == Examples == | ||
− | + | vgcreate VG_NAME_1 [[/dev/]]hdb44</code> (Select PV (/dev/hdb44) from output from <code>[[pvs]]</code> command) | |
Volume group "VG_NAME_1" successfully created | Volume group "VG_NAME_1" successfully created | ||
− | |||
− | *<code>vgcreate TEST /dev/mapper/3700a09803831416c592b4f566453764f</code> (select PV using [[pvs]] command) | + | |
+ | *<code>vgcreate TEST [[/dev/mapper/]]3700a09803831416c592b4f566453764f</code> (select PV using [[pvs]] command) | ||
<pre> | <pre> | ||
Line 41: | Line 41: | ||
</pre> | </pre> | ||
− | + | == Related commands == | |
− | Related commands | + | * <code>[[lvcreate]]</code> |
== See also == | == See also == | ||
Line 49: | Line 49: | ||
[[Category:Linux]] | [[Category:Linux]] | ||
+ | [[Category:LVM]] |
Latest revision as of 07:04, 3 March 2021
vgcreate
[1] creates a VG to be used in Linux LVM.
Examples[edit]
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[edit]
See also[edit]
- 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: