Updated
This commit is contained in:
15
debian/notes/lvm-create-lv.txt
vendored
Normal file
15
debian/notes/lvm-create-lv.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# For create logical volume need know volume group and free space
|
||||
|
||||
# List of volume groups
|
||||
vgs --all
|
||||
|
||||
# In my example I have vg_debian now get information
|
||||
vgdisplay vg_debian
|
||||
|
||||
# Free space is 35GiB in my example (Free PE / Size 8960 / 35,00 GiB)
|
||||
|
||||
# Now I will create logical volume lv_data and ocupate 100% free space
|
||||
lvcreate -n lv_data -l 100%FREE vg_debian
|
||||
|
||||
# Now create file system on logical volume
|
||||
mkfs.ext4 /dev/mapper/vg_debian-lv_data
|
||||
Reference in New Issue
Block a user