Thread: Wrong disk usage in WHM
-
07-11-2009, 11:53 AM #1
Newbie
- Join Date
- Nov 2006
- Posts
- 25
Wrong disk usage in WHM
Hey guys,
I'm having a problem with my /usr. When I check it through WHM it's 100% full. But when I check it through SSH ( du -sh /usr ). it's almost 50% full
is there a way to let WHM recalculates the disk usage for /usr.
note: i already tried to empty it. but the 100% in WHM never changed. I deleted about 3GB of files. but in WHM, still saying 9.4GB used from 9.9GB
Thanks alot
- Sponsored Links
-
07-11-2009, 12:15 PM #2
Junior Guru
- Join Date
- Jun 2009
- Location
- Kochi,India
- Posts
- 177
Hi
Try to run these scripts to fix the quota issue
/scripts/fixquotas
/scripts/resetquotas
If that doesn't fix the issue try to run a quotacheck using the command
#quotacheck -avugfmLast edited by Rekhatitus; 07-11-2009 at 12:19 PM. Reason: add
-
07-11-2009, 12:21 PM #3
Disabled
- Join Date
- Sep 2005
- Location
- A box
- Posts
- 2,050
-
07-11-2009, 12:24 PM #4
Newbie
- Join Date
- Nov 2006
- Posts
- 25
thanks Rekhatitus,
it looks like this is what I need.
I run "/scripts/fixquotas" but it asked me to wait for 30 minutes. so I will wait until then and let you know if it get fixed.
thanks again for the help
- Sponsored Links
-
07-11-2009, 12:40 PM #5
Junior Guru
- Join Date
- Jun 2009
- Location
- Kochi,India
- Posts
- 177
-
07-11-2009, 01:52 PM #6
Newbie
- Join Date
- Nov 2006
- Posts
- 25
thanks guys for the help.
Here is what I did:
- I ran "/scripts/fixquotas" and I waited for it to finish completely.
- I checked the /usr space usage through WHM.
- I checked it again through SSH. gives me 4.2GB!!Code:Filesystem Size Used Avail Use% Mounted on /dev/sda2 9.9G 9.3G 55M 100% /usr
- I ran the other two commands ( checking space usage after each one of them )Code:du -sh /usr
- now I am writing this reply. and the problem didn't get fixed yet.Code:/scripts/resetquotas quotacheck -avugfm
-
07-11-2009, 02:03 PM #7
Junior Guru
- Join Date
- Apr 2009
- Posts
- 184
Run these commands
quotacheck -acfmv
/scripts/resetquotas
mount -o remount,rw,usrquota /
Is it a dedicated server or VPS?█ Offering Reliable Shared, Reseller, Master Reseller and Shoutcast Hosting.
█ High Performance VPS Hosting with 99.9% Uptime.
█ Providing Hosting Since 2006 Locally and Since 2008 Globally.
-
07-11-2009, 02:12 PM #8
Junior Guru
- Join Date
- Jun 2009
- Location
- Kochi,India
- Posts
- 177
-
07-11-2009, 02:14 PM #9
Newbie
- Join Date
- Nov 2006
- Posts
- 25
-
07-11-2009, 02:16 PM #10
Newbie
- Join Date
- Nov 2006
- Posts
- 25
-
07-11-2009, 02:16 PM #11
Disabled
- Join Date
- Sep 2005
- Location
- A box
- Posts
- 2,050
-
07-11-2009, 02:25 PM #12
Web Hosting Evangelist
- Join Date
- Jan 2003
- Posts
- 512
What does a "df -h" show when you run it for the /usr partition?
-
07-11-2009, 02:39 PM #13
Newbie
- Join Date
- Nov 2006
- Posts
- 25
-
07-11-2009, 04:29 PM #14
Web Hosting Evangelist
- Join Date
- Jan 2003
- Posts
- 512
-
07-11-2009, 04:38 PM #15
Newbie
- Join Date
- Nov 2006
- Posts
- 25
-
07-11-2009, 05:24 PM #16
Newbie
- Join Date
- Nov 2006
- Posts
- 25
My host solved the problem by rebooting the server.
Thanks everybody for your help.
-
07-12-2009, 01:44 AM #17
Junior Guru
- Join Date
- Jun 2009
- Location
- Kochi,India
- Posts
- 177
-
07-12-2009, 07:47 AM #18
Newbie
- Join Date
- Nov 2006
- Posts
- 25
-
07-12-2009, 08:42 AM #19
Junior Guru Wannabe
- Join Date
- May 2009
- Posts
- 31
You may need to restart the services for updating the partition table..like apache and mysql restart.. It will re write the process space and you can view the correct value in
df -h
Similar Threads
-
Virtuozzo VPS System Usage Meter Wrong?
By linux4me in forum VPS HostingReplies: 5Last Post: 01-13-2009, 01:11 PM -
bandwidth usage being wrong
By ihostdev in forum Hosting Security and TechnologyReplies: 1Last Post: 02-08-2006, 04:18 AM -
Disk usage in PHP
By flashwebhost in forum Programming DiscussionReplies: 5Last Post: 07-28-2004, 06:49 AM -
[WHM/cPanel] FTP Bandwidth Usage Credits to the Wrong Account!
By lintbox in forum Hosting Software and Control PanelsReplies: 2Last Post: 06-07-2004, 03:57 PM -
Cpanel reporting wrong disk usage
By e1ven in forum Hosting Software and Control PanelsReplies: 7Last Post: 12-09-2003, 06:51 AM


Reply With Quote





