Can't compact/shrink Guest

Discussion in 'Linux Virtual Machine' started by ManfredR3, Dec 21, 2019.

  1. ManfredR3

    ManfredR3 Bit poster

    Messages:
    2
    Host: Mac OS Mojave
    Parallels: 15 Pro
    Host: Cent OS 7 with expandable Parallels HD, SmartGuard disabled, Snapshots disabled

    I have changed my workflow to work with projects on the linux guest system. This gives 120 GB space back on my guest. The whole guest needs around 80 GB, the paralles hdd is 205 GB big. I have started the guest and and run dd zu create a zerofile. After dd was finished, the file was around 760 GB. I removed them with rm. The Parallels GUI says there is no space to reclaim, and the prl_disk_tool doesn`t see the free disk space too:

    prl_disk_tool compact -i --hdd Development.pvm/DEV\ Server\ Neu-0.hdd
    Operation progress 100 %
    Disk information:
    Sector size: 512
    Block size: 2048
    Total blocks: 828416
    Allocated blocks: 196154
    Used blocks: 196103
    Operation supported: YES

    prl_disk_tool compact --hdd Development.pvm/DEV\ Server\ Neu-0.hdd
    Operation progress 100 %


    df -h (Guest)
    Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
    devtmpfs 2,9G 0 2,9G 0% /dev
    tmpfs 2,9G 0 2,9G 0% /dev/shm
    tmpfs 2,9G 9,1M 2,9G 1% /run
    tmpfs 2,9G 0 2,9G 0% /sys/fs/cgroup
    /dev/mapper/centos-root 50G 28G 23G 55% /
    /dev/sda1 1014M 309M 706M 31% /boot
    /dev/mapper/centos-home 756G 28G 729G 4% /home

    How can i reclaim the free space on the parallels image? Anyone an idea?

    Thx!
     

Share This Page