Resize root partition on VPS

Discussion in 'Installation/Configuration' started by bjarne-j, Feb 21, 2017.

  1. bjarne-j

    bjarne-j New Member

    Hi all.
    I have a "perfect server" setup on a VPS where i'm running out of space. From the cloud panel at my provider I have been able to change disksize from 20 GB to 30 GB.
    Now I need to resize this in Debian 8.
    Code:
     df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/dm-0        19G   15G  3.5G  81% /
    udev             10M     0   10M   0% /dev
    tmpfs           200M  4.6M  196M   3% /run
    tmpfs           499M     0  499M   0% /dev/shm
    tmpfs           5.0M     0  5.0M   0% /run/lock
    tmpfs           499M     0  499M   0% /sys/fs/cgroup
    /dev/vda1       228M   47M  170M  22% /boot
    tmpfs           100M     0  100M   0% /run/user/0
    
    I tried to follow this guide: http://www.microhowto.info/howto/increase_the_size_of_an_ext2_ext3_or_ext4_filesystem.html with no success. From console the umount /dev/dm-0 command does not change anything. It is still mounted to /

    Can some one help me how to proceed? Thanks in advance

    BR Bjarne
     

Share This Page