create and enlarge logical volume

lvcreate -L4G --name=disk vg0
mkfs.ext4 /dev/vg0/disk
lvextend -L200G /dev/vg0/disk
e2fsck -f /dev/vg0/disk
resize2fs /dev/vg0/disk
This entry was posted in Debian. Bookmark the permalink.