OH YEA!  I've done that too! 

cmuExport all sites off a box, cmuImport them to a new server.  Then copy the 
/home partition over - just in case you need something from the old box.  Of 
course - its got to go in the new server's /home directory (since nothing else 
is large enough to hold it).  But if you use rsync or tar/untar - all the GIDs 
and UIDs can be preserved.  Suddenly, your new server shows some sites and some 
users over quota.  WEIRD!

I finally figured it out by searching for other files owned by the users who 
were over quota.  Use the command "find / -user username".  You may find a 
couple of that user's files in /tmp or directories used by specific programs 
(like OpenWebMail).  But MOST of it should be in that user's home directory (or 
that site's main web directory if they are a admin).  Any files anywere else 
should be investigated.

You did the right thing - change all those directories and files to root:root.  
Use the "R" switch to do it recursively (chown -R root:root /home/backup).  
Then they won't be counted against sites or users any more.

Sorry - even though I've had that exact problem, I didn't think about it 
earlier.  Good catch Michael.

Chuck

---------- Original Message -----------
From: "KA0JON" <[email protected]> 
To: "'BlueOnyx General Mailing List'" <[email protected]> 
Sent: Tue, 1 Mar 2011 21:47:40 -0600 
Subject: [BlueOnyx:06612] Re: Vsite Quota

> Thank you Michael,
>  
> When I ran the find / -group site 7command 
> much to my surprise when after Iinstalled BO on this server,
> I made a /home/olddrive/ folder that hadeverything from my old server /home 
> folder on it and all the sites.
> This is why my disk usage is GUI wasshowing funky things, 2 site 7’s
> So I went and chown that folder to root:root  and now all my sites are 
> showing correctly.
>  
> So in my way to save things and put it onthis hard drive was giving me grief.
>  
> Also thank you Chuck, for telling meabout the du –hs  command
> The du -hs /home/.sites/112/site7 showscorrect value
>  
> The Disk Usage in the GUI has spoiled me.
> Learning the comandline commands comes inhandy.
>  
> David Kreifels
>  
------- End of Original Message -------
 
_______________________________________________
Blueonyx mailing list
[email protected]
http://www.blueonyx.it/mailman/listinfo/blueonyx

Reply via email to