[Solved]Disk usage doesn't show whole capacity

Discussion in 'General' started by Sheshman, Feb 6, 2022.

  1. Sheshman

    Sheshman Member

    Hi,
    Using latest version on Ubuntu 20.04(installed with official automatic install script), ispconfig runs on 3TB Hdd but when i go monitor->disk usage it doesn't show as 3TB, please see attached screenshots.
     

    Attached Files:

    Last edited: Feb 6, 2022
  2. Sheshman

    Sheshman Member

    Also please see attached Fdisk -l output, seems like i've 3TB space but somehow i don't use it i think
     

    Attached Files:

    • Fdisk.png
      Fdisk.png
      File size:
      170.8 KB
      Views:
      7
    • df.png
      df.png
      File size:
      65.8 KB
      Views:
      7
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Looks like the disk is indeed 3 T bytes. The file system and MD devices created on that disk is 100 G bytes, though. So 2,9 T bytes of disk is not used. You could create more partitions on that unused space, or enlarge the existing partition.
     
  4. Sheshman

    Sheshman Member

    Thanks for your reply, i thought the same but as a rookie i'm afraid to use CLI so i booted with Ubunut 18.04 desktop, started terminal and started gparted as "sudo gparted", i did attached steps through 001 to 007, strange thing is when i click to apply button it takes like 2-3 seconds to says completed when i rebooted disk size seems the same before operation. What am i doing wrong ?
     

    Attached Files:

    • 001.png
      001.png
      File size:
      76.5 KB
      Views:
      8
    • 002.png
      002.png
      File size:
      171.1 KB
      Views:
      8
    • 003.png
      003.png
      File size:
      201.2 KB
      Views:
      8
    • 004.png
      004.png
      File size:
      172.1 KB
      Views:
      8
    • 005.png
      005.png
      File size:
      198.1 KB
      Views:
      8
    • 006.png
      006.png
      File size:
      225.7 KB
      Views:
      8
    • 007.png
      007.png
      File size:
      163.8 KB
      Views:
      8
    • 008.png
      008.png
      File size:
      56.7 KB
      Views:
      8
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Since you are using md devices (or are you?), you should use tools that enlarge those.
    If you do not want to use md devices, scratch this installation and install a new system with plain Ext4 partition.
     
  6. Sheshman

    Sheshman Member

    excuse my ignorance but with md devices you mean virtual drives like esxi hdd? if yes then as far as i understand i should enlarge drive from esxi storage controls, am i right?
     
  7. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If you do not know the terms and words you should look them up instead of blindly guessing.
    Some examples found using Internet Search Engines:
    https://linux.die.net/man/4/md
    https://linoxide.com/lvm-configuration-linux/
    First find out what disk system you are actually using on your Linux, then read the docs to find out how to change sizes.
     
    Sheshman likes this.
  8. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    md devices means, usually, raid. which doesn't appear to be in use on your system anyway.

    you're using lvm, (logical volume manager), which can get very confusing for a beginner, you may have been better off starting with just plain partitions directly formatted as ext4, xfs, etc.

    try searching google for info on lvm, to understand it better.

    in the meantime, this https://packetpushers.net/ubuntu-extend-your-default-lvm-space/ may help you get everything back on track quickly.
    you should read it all, but don't worry about doing the part about checking the free space, you're already past that point.
    and as always, have a full data backup before you do anything.
     
    Sheshman likes this.
  9. Sheshman

    Sheshman Member

    many thanks, the article you shared with me solved the problem, now my disk is 3TB and i can uset it all, also that article thought me things that i didn't know, thank you, i owe you one.
     

    Attached Files:

  10. Sheshman

    Sheshman Member

    No argue with that, you are exactly right about what you said, thanks for the article you shared it helped me alot to understand things about drive types on unix systems, thank you.
     

Share This Page