Hi all
I'm getting short of disk space, so I'd like to extend my root partition as I still have plenty of space available on the disk.
See these lsblk commands : sda5_crypt isn't full but machine--vg-root almost is.
Code:
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 298,1G 0 disk
├─sda1 8:1 0 243M 0 part /boot
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 297,9G 0 part
└─sda5_crypt 254:0 0 297,9G 0 crypt
├─machine--vg-root 254:1 0 178,6G 0 lvm /
└─machine--vg-swap_1 254:2 0 7,7G 0 lvm [SWAP]
Code:
$ lsblk -afs
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda1 ext2 1.0 7a6d6f6f-3f57-4401-8118-cd28207dfe48 113,7M 47% /boot
└─sda
sda2
└─sda
machine--vg-root ext4 1.0 58c6d4c9-7d38-449a-891b-5b7ffe4871e6 10,5G 89% /
└─sda5_crypt LVM2_member LVM2 001 csKLdw-orf1-ZEuN-vHL9-aHKA-rBix-6eMyRU
└─sda5 crypto_LUKS 2 39ebf88d-40f7-4f65-98e6-f0c0eca648ba
└─sda
machine--vg-swap_1 swap 1 8e863f14-8a08-4a60-a9d9-89b9e26a0e6f [SWAP]
└─sda5_crypt LVM2_member LVM2 001 csKLdw-orf1-ZEuN-vHL9-aHKA-rBix-6eMyRU
└─sda5 crypto_LUKS 2 39ebf88d-40f7-4f65-98e6-f0c0eca648ba
└─sda
Don't ask me why I didn't make use of all that space in the first place ...
So, what do you think is the best way to achieve that ?
I could try and extend machine--vg-root ...
Or maybe add another data partition next to the existing ones. This may be easier and less risky. I mainly need room for data anyway.
I'd like to make a backup too in case something goes wrong. What software would u recommend for this ?
Thanks for your help