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

gogocode

Member
Aug 28, 2004
7
0
151
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?
 

24x7ss

Well-Known Member
Sep 30, 2014
272
19
68
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.
 

gogocode

Member
Aug 28, 2004
7
0
151
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.
 

gogocode

Member
Aug 28, 2004
7
0
151
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 :-/
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
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.