New install disk full...

Discussion in 'Installation/Configuration' started by zustudios, Apr 8, 2020.

  1. zustudios

    zustudios Member

    I did a new install but it's saying I have a full disk. How do I fix this?

    Disk Usage (Server : ns1)

    Filesystem
    Type Size Used Available Use% Mounted on
    udev devtmpfs 1.9G 0 1.9G 0% /dev
    tmpfs tmpfs 395M 1.1M 394M 1% /run
    /dev/mapper/ubuntu--vg-ubuntu--lv ext4 3.9G 3.6G 156M 96% /
    /dev/sda2 ext4 976M 77M 832M 9% /boot
     
    Last edited: Apr 8, 2020
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The disk has a size of 3.9 GB and you are using already 3.6GB, so yes, it's indeed nearly full. If it's a new install or not does not really matter, what matters is that the disk size is too small for the installation you made. You should try to increase the disk size or reinstall using a larger disk as it's a new system anyway.
     
  3. zustudios

    zustudios Member

    I have 200gb disk space. Why is it only showing 3.9gb?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Probably you created just a 4GB partition on your 200GB hard disk, so only 4GB can be used. You can try to resize the partition.
     
  5. zustudios

    zustudios Member

    Which partition needs to be resized?

    [email protected]:~# df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 1.9G 0 1.9G 0% /dev
    tmpfs 395M 1.1M 394M 1% /run
    /dev/mapper/ubuntu--vg-ubuntu--lv 3.9G 3.5G 192M 95% /
    tmpfs 2.0G 0 2.0G 0% /dev/shm
    tmpfs 5.0M 4.0K 5.0M 1% /run/lock
    tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
    /dev/loop0 89M 89M 0 100% /snap/core/7270
    /dev/sda2 976M 77M 832M 9% /boot
    tmpfs 395M 0 395M 0% /run/user/0
     
  6. nhybgtvfr

    nhybgtvfr Active Member

    it's this one
    /dev/mapper/ubuntu--vg-ubuntu--lv 3.9G 3.5G 192M 95% /

    but it may not be that simple, it's a logical volume, and depending on the starting location of other volumes/partitions, and what you've got configured as physical volumes and volume groups, it may require a quite a bit of volume/partition juggling.

    I don't know how familiar you are with logical volumes, if you're completely new to them it could get quite confusing.
    you may possibly find it easier and quicker to re-install ubuntu and instruct the installer to use the whole drive as a standard partition, and not use lvm.

    if you want to stick with lvm, you may find this set of articles useful:
    https://www.tecmint.com/create-lvm-storage-in-linux/
    https://www.tecmint.com/extend-and-reduce-lvms-in-linux/
    https://www.tecmint.com/take-snapshot-of-logical-volume-and-restore-in-lvm/
    https://www.tecmint.com/setup-thin-provisioning-volumes-in-lvm/
     
  7. zustudios

    zustudios Member

    Ok, I'll reinstall.
     

Share This Page