The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Large "Other Usage", Delete Account + Restore Account only solution?

Discussion in 'General Discussion' started by gogocode, Nov 26, 2014.

  1. gogocode

    gogocode Member

    Joined:
    Aug 28, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hi all, I'm fighting a battle with sysadmins and thought maybe some advice might be found here.

    Me = reseller on various cpanel.

    Some of the accounts have large "Other" disk usage, I'm aware of the common solutions, look for files owned by the account system wide, remove orphaned virtfs, do a fixquota off peak.

    Problem:
    1. no files are found system wide of any particular note
    2. sysadmins claim that clearing the orphans doesn't work
    3. sysadmins claim that "this is a cpanel bug, the only solution is to backup, delete, and restore the account"
    4. sysadmins have a history of screwing up "backup, delete and restore" for various reasons :-(

    I've searched and search, and I have not found any cpanel bug that other than orphaned virtfs, or other user owned files on the system. Certainly none that can only be fixed by such hopeless sledgehammer-esque methods as a complete backup, kill, restore.

    Has anybody experienced this? Is there really a cPanel bug like this, or are the sysadmins just completely incompetent? Is there a less invasive fix?
     
  2. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you are having jalied shell enabled at that time virtfs files gets created. Do not remove virtfs file it will break your site. It's not a bug but virtfs is jailed shell where user get access of server files in jailed environment.

    If you want to remove virtfs then you can refer below link:

    https://documentation.cpanel.net/pa...=363754#VirtFS(JailedShell)-HowtoremoveVirtFS

    Make sure to take the backup of your account before proceeding with it because one single mistake can break the site.
     
  3. gogocode

    gogocode Member

    Joined:
    Aug 28, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Err, thanks, but that does not contribute to the solution.

    I know very well what virtfs is, and how to treat it, and why dismounting orphaned virtfs mounts is necessary, and how to do so.
     
  4. gogocode

    gogocode Member

    Joined:
    Aug 28, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    After some more digging, my best guess is that this may be a virtuozzo/openvz problem, not a cpanel one, that it's vzquota that is the problem on the host and the container quota data has a problem.

    I'm guessing that deleting and restoring the account (so it would get a new user id) is easier than fixing the quota problem (rebuilding the quotas) on the vz host for the container?

    I don't know enough about vz/openvz to know what is required to do that :-/
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Are quotas accurate for the account when using the "quota" command? EX:

    Code:
    quota username
    Note that you may need to repair the quota for the VPS from the node. EX:

    Code:
    vzctl stop VEID
    vzquota drop VEID
    vzquota init VEID
    vzctl start VEID
    Thank you.
     
Loading...

Share This Page