Hello,
I am looking for a way to reduce the disk space used by my CentOS VM.
Here is the summary:
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root 50G 20G 27G 43% /
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 9.5M 1.9G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda1 477M 199M 249M 45% /boot
/dev/mapper/VolGroup-lv_home 12G 393M 11G 4% /home
Home 234G 219G 15G 94% /media/psf/Home
tmpfs 379M 28K 379M 1% /run/user/1000
I have both /dev/mapper/VolGroup-lv_root and /dev/mapper/VolGroup-lv_home that I would like to reduce.
I spent quite some time installing packages in my VM. Therefore I am not expecting the size to vary anymore, all my software are basically installed now.
So would like to resize /dev/mapper/VolGroup-lv_root from 50GB to 25GB. And /dev/mapper/VolGroup-lv_home from 12GB to 5GB
It is currently using 1/4 of my disk space ! If I can space the 32GB that would be great..
Can someone give me some direction ?
It seems I cannot reclaim disk space myself :-/
https://imgur.com/a/PXY4rYR