[BlueOnyx:14746] Re: quota help

Michael Stauber mstauber at blueonyx.it
Mon Feb 24 19:16:05 -05 2014


Hi Neal,

> i have built a new system using a single disk
> 
> the original /home partition was 58GB
> 
> i added a second disk 146GB and migrated /home to it 
> 
> i cannot up the quota for the site or users past 58GB
> 
> 
> looking at active monitor i see /home listed twice
> 
> both the currently mounted /home showing 54GB of usage out of 138GB ( 39% )
> and the old /home 214MB of 58GB usage, this was the size before i created the 
> new /home
> 
> how can i get BO to only see 1 /home and allow me to set a quota for the full 
> size?

The "new" /home partition must be mounted as "/home". So when you run
the command "mount" or "df -h", it should show as that. If not, you may
have to edit your /etc/fstab

Once that's done the other problem has to be fixed: That CODB now has
two "/home" partitions. To fix that, do this:

Login as "admin" by SSH and use the command "su -" to gain "root" access
on your server. Then run this command:

/usr/sausalito/bin/cceclient

That starts a command line interface to poll and manipulate the CODB
database backend of the GUI.

Inside that shell then type this command exactly as shown:

find Disk mountPoint = "/home"

It will report back something like this:

104 OBJECT 14
104 OBJECT 98

In the case of this example it reports that the CODB Objects with the ID
14 and 98 have the desired information.

Use this command to remove both objects, but replace the Object IDs with
the ones that were reported in your case:

destroy 14
destroy 98

That will destroy the two objects in question. Then restart the service
CCEd, which will re-create or update the partitioning information:

/sbin/service cced.init restart

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list