Error Your Hard-Disk has no more space left

Discussion in 'ISPConfig 3 Priority Support' started by Gaston Girardi, Jan 14, 2020.

  1. Gaston Girardi

    Gaston Girardi Member HowtoForge Supporter

    Hi hope anyone can help me, i'm having this message in on the monitor state:

    Error
    Your Hard-Disk has no more space left
    Code:
    Disk Usage
    
    Filesystem     Type     Size     Used     Available     Use%     Mounted on
    udev    devtmpfs    7.8G    0    7.8G    0%    /dev
    tmpfs    tmpfs    1.6G    152M    1.5G    10%    /run
    /dev/md2    ext3    28G    495M    27G    2%    /
    /dev/vg00/usr    ext4    9.8G    1.6G    7.7G    18%    /usr
    none    tmpfs    7.9G    20K    7.9G    1%    /tmp
    /dev/mapper/vg00-var    ext4    9.8G    2.7G    6.7G    29%    /var
    /dev/mapper/vg00-home    ext4    9.8G    9.3G    0    100%    /home
    
    But if i go to my server and run the following command:

    Code:
    [email protected]:/# fdisk -l
    Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 500DDEE5-94A5-4216-9CCB-65083FC70FA5
    
    Device        Start        End    Sectors   Size Type
    /dev/sda1      2048       6143       4096     2M BIOS boot
    /dev/sda2      6144   58593279   58587136    28G Linux RAID
    /dev/sda3  58593280   78125055   19531776   9.3G Linux swap
    /dev/sda4  78125056 1953523711 1875398656 894.3G Linux RAID
    
    
    Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 72771963-779D-4758-9E25-E9E2891C5F24
    
    Device        Start        End    Sectors   Size Type
    /dev/sdb1      2048       6143       4096     2M BIOS boot
    /dev/sdb2      6144   58593279   58587136    28G Linux RAID
    /dev/sdb3  58593280   78125055   19531776   9.3G Linux swap
    /dev/sdb4  78125056 1953523711 1875398656 894.3G Linux RAID
    
    
    Disk /dev/md2: 28 GiB, 29996482560 bytes, 58586880 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/md4: 894.3 GiB, 960203915264 bytes, 1875398272 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/mapper/vg00-usr: 50 GiB, 53687091200 bytes, 104857600 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/mapper/vg00-var: 50 GiB, 53687091200 bytes, 104857600 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/mapper/vg00-home: 794.3 GiB, 852827832320 bytes, 1665679360 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Code:
    [email protected]:/# lsblk
    NAME            MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
    sda               8:0    0 931.5G  0 disk
    ââsda1            8:1    0     2M  0 part
    ââsda2            8:2    0    28G  0 part
    â ââmd2           9:2    0    28G  0 raid1 /
    ââsda3            8:3    0   9.3G  0 part  [SWAP]
    ââsda4            8:4    0 894.3G  0 part
      ââmd4           9:4    0 894.3G  0 raid1
        ââvg00-usr  253:0    0    50G  0 lvm   /usr
        ââvg00-var  253:1    0    50G  0 lvm   /var
        ââvg00-home 253:2    0 794.3G  0 lvm   /home
    sdb               8:16   0 931.5G  0 disk
    ââsdb1            8:17   0     2M  0 part
    ââsdb2            8:18   0    28G  0 part
    â ââmd2           9:2    0    28G  0 raid1 /
    ââsdb3            8:19   0   9.3G  0 part  [SWAP]
    ââsdb4            8:20   0 894.3G  0 part
      ââmd4           9:4    0 894.3G  0 raid1
        ââvg00-usr  253:0    0    50G  0 lvm   /usr
        ââvg00-var  253:1    0    50G  0 lvm   /var
        ââvg00-home 253:2    0 794.3G  0 lvm   /home
    
    As you can see i've got a lot of space for those folders it is like the system is not recognitioning the space, what can i do to force it to update the space i've got?.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe you resized the lvm volumes but did not resize the filesystems inside the volumes?
     
    Gaston Girardi likes this.
  3. Gaston Girardi

    Gaston Girardi Member HowtoForge Supporter

    mmm yes i did the first, but i think not the second one, do you have a guide to do that?.
     
  4. Gaston Girardi

    Gaston Girardi Member HowtoForge Supporter

    Ok i find a help in San Google :D, and now when i run a df-h it shows the size:
    Code:
    [email protected]:/# df -h
    Filesystem             Size  Used Avail Use% Mounted on
    udev                   7.8G     0  7.8G   0% /dev
    tmpfs                  1.6G  160M  1.5G  10% /run
    /dev/md2                28G  495M   27G   2% /
    /dev/vg00/usr           50G  1.6G   46G   4% /usr
    tmpfs                  7.9G     0  7.9G   0% /dev/shm
    tmpfs                  5.0M  4.0K  5.0M   1% /run/lock
    tmpfs                  7.9G     0  7.9G   0% /sys/fs/cgroup
    none                   7.9G   20K  7.9G   1% /tmp
    /dev/mapper/vg00-var    50G  2.7G   45G   6% /var
    /dev/mapper/vg00-home  782G  8.5G  742G   2% /home
    tmpfs                  1.6G     0  1.6G   0% /run/user/0
    
    I did it with the following command:
    Code:
    resize2fs <PartitionName>
    But in the panel don't, so do i have to reset my server, or i need to something else?.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    It may take some time until the panel shos te new size, it's not updated in realtime.
     
    Gaston Girardi likes this.
  6. Gaston Girardi

    Gaston Girardi Member HowtoForge Supporter

    Yes, Indeed, i realized that when a couple of hours later did a check, and see it was already updated.
     

Share This Page