Added References for LVM and how-to for minimal Debian-13-KDE
This commit is contained in:
21
Linux/Docs/Reference-LVM.md
Normal file
21
Linux/Docs/Reference-LVM.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# LVM Reference Sheet
|
||||
|
||||
### Create LVM Volume and its filesystem in Thin Pool
|
||||
|
||||
```
|
||||
lvcreate -V 100M -T PoolName/ThinPoolName -n VolumeName
|
||||
mkfs.ext4 /dev/ThinPoolName/VolumeName
|
||||
#or
|
||||
mkfs.btrfs /dev/ThinPoolName/VolumeName
|
||||
|
||||
```
|
||||
|
||||
|
||||
### Resize LVM Volume and its filesystem in Thin Pool
|
||||
|
||||
```
|
||||
lvextend --resizefs -L +100M /dev/ThinPoolName/VolumeName
|
||||
# When using btrfs
|
||||
lvextend -L +100M /dev/ThinPoolName/VolumeName
|
||||
btrfs filesystem resize max MountPoint
|
||||
```
|
||||
Reference in New Issue
Block a user