[CentOS] Cannot reclaim disk space

Discussion in 'Linux Guest OS Discussion' started by MarcoM12, Mar 12, 2019.

  1. MarcoM12

    MarcoM12 Bit Poster

    Messages:
    1
    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
     
  2. hitzhangjie

    hitzhangjie Bit Poster

    Messages:
    3
    Really? Really? Really? I really don't understand why developers of Parrallels Desktop so slow or no interested in their bugs!
    I will abort, this kind of service is just a pile of shit.
    They sell it, the disappear, then problems emerged, no one responsed. fuck!
     
  3. alie3

    alie3 Bit Poster

    Messages:
    1
    same thing is happening to me, fstrim used to work before and now it doesn't work
     

Share This Page