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 space usage "Other usage" very large and df and du give different results

Discussion in 'General Discussion' started by gigipigi, Sep 15, 2014.

  1. gigipigi

    gigipigi Registered

    Joined:
    Sep 15, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi everybody,

    I would love your help on the following issue... I am not really experienced so any help would be great.

    When I go to the CPANEL disk space usage page for a certain user I see that their "Other usage" is 27 GB out of a total 46 GB used by this specific user.

    When I do a "df -h" in shell I get:
    Filesystem Size Used Avail Use% Mounted on
    /dev/simfs 65G 54G 12G 83% /
    none 1.5G 4.0K 1.5G 1% /dev

    When I do (at root) a "du -h --max-depth=1" I get a total usage of 28 G.

    So it seems that this "other usage" is not kept in consideration with the "du" command, but is kept in account with the df command...

    Thank you so much for any help,
    Gigi
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,184
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    The "df -h" command shows overall server usage, not individual account usage. The best way to determine where the "Other Usage" is coming from is to use the "find" command. EX:

    Code:
    id username
    find / -uid UIDNUMBER > /root/username.output
    
    Replace the first command with the actual username of the account. This will output the account's UID. You can then replace "UIDNUMBER" in the second command with the actual UID of the account. The results will be output to /root/username.output which you can view after the command finishes.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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