This commit is contained in:
2024-03-08 11:58:03 +01:00
parent 2db14c7fc5
commit 28926a7f4b
3 changed files with 35 additions and 0 deletions

15
debian/notes/lvm-create-lv.txt vendored Normal file
View 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