Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Disk usage not updating

Discussion in 'General Discussion' started by tribulant, Jun 4, 2014.

  1. tribulant

    tribulant Member

    Mar 3, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    Good day,

    I'm running WHM/cPanel on Amazon EC2 in a VPC scope.

    I had one, small volume attached to the instance as a trial to see how the Amazon server would work.
    It works great so we're going to use it as a development server.

    I detached the small volume, made a snapshot of it from which I created a new volume.
    I then attached the new, larger volume via AWS console and everything works great.

    The problem is that WHM isn't recognizing the new disk. The disk usage is old:
    fdisk does recognize the new disk though so it's just WHM:

    root@tri [~]# fdisk -l
    Disk /dev/xvde: 107.4 GB, 107374182400 bytes
    255 heads, 63 sectors/track, 13054 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000000

    I've tried several things like /scripts/fixquotas, etc... but nothing works.
    How can I get WHM to update the disk usage and keep doing so?
  2. cPanelJared

    cPanelJared Technical Analyst

    Feb 25, 2010
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Please do not cross-post the same message to multiple sections. I have deleted the copy of this message in the CloudLinux section as a duplicate.

    The fdisk output you provided shows that you do not have any partitions on the hard drive, so it is not yet ready to use. The WebHost Manager gets its data about hard drives directly from the operating system, which recognizes partitions; it does not recognize hard drives that do not have any partitions. This is actually not a problem with the WHM itself, because it is only reporting the data it gets from the operating system.

    Before you can use the new disk, it must have at least one partition created, and the partition must be formatted, and then mounted. Only then will it be usable by the operating system. fdisk shows what is recognized as hardware, but that does not mean it is usable. Unless fdisk shows at least one partition, the disk is not ready to be used.

    Exactly how to partition the drive, format and mount the partition(s) depends on the operating system and virtual environment, so you will need to ask your hosting provider for assistance with this. Once the drive is partitioned, and the partition(s) is/are formatted and mounted, the space will be recognized by the operating system, and in turn by the WHM.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice