To Create a volumegroup.
vgcreate vg1 /dev/sdd1 /dev/sde1
Example
[root@server ~]# vgcreate vg-storage /dev/sdb Volume group "vg-storage" successfully created [root@server ~]# vgdisplay --- Volume group --- VG Name vg-storage 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 9.09 TiB PE Size 4.00 MiB Total PE 2383357 Alloc PE / Size 0 / 0 Free PE / Size 2383357 / 9.09 TiB VG UUID tAh3cq-EwoJ-6t94-SJtp-YoCC-XCst-4m8Ktp [root@server ~]#
See lvm
Leave a Reply