Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: oitdmser on September 18, 2008, 10:37:43 AM
-
I recently added an additional hard disk to my sme 7.2 box using this guide:
http://wiki.contribs.org/AddExtraHardDisk
I migrated my ibay "itunes" to the new drive and my user folder "mike" as well.
Before the migration, the user "mike" was using approx 25gigs across both those folders. after the migration the user "mike" shows zero usage in the quota pane of the server-manger.
Is there a way to force a recalculation of those stats? I tried disabling, then re-enabling the quotas for that user and it did not work.
Thank you!
mike
-
OK so I figured out a bit more...
I had recalculated the quota for the new drive as per the HowTo, but I needed to recalculate the quota for the original drive as well. Perhaps this is because I mounted the new drive on /mnt/ and used symlinks from /home/e-smith/files ?
I ran:
quotaoff -vgu /dev/hda3 <-- original drive
quotacheck -vugc /dev/hda3
quotaon -vgu /dev/hda3
WARNING: This resets the quota limits for all the users!! I have only a few users, so its not big deal...
Now the reading in the quota pane shows the amount used on the original drive (I THINK, not sure but its close), it doesn't include the total from the new drive. Running quotacheck on the new drive does not solve this, nor does a reboot. Its as if Quota isn't configured to add the totals from the new drive, despite the fact the new drive is configured to use quotas in /etc/fstab
output from quota:
[root@morpheous ~]# quota -v mike
Disk quotas for user mike (uid 5000):
Filesystem blocks quota limit grace files quota limit grace
/dev/hda3 2500748 367001600 398458880 1526 0 0
/dev/sda1 27293620 0 0 79289 0 0
there is no quota enabled for the new drive (/dev/sda1)
-
Further information...
It is possible to edit the quota information manually using edquota, and this allows me to edit the quota for the new drive, but this info does not appear in the web interface.
It appears as though the bug is in the web interface; it only edits and reports quotas for one filesystem, not all of them.
-
It appears as though the bug is in the web interface; it only edits and reports quotas for one filesystem, not all of them.
Base SME server has no support for any additional filesystems. If you add additional file systems, you have modified your system, and you shouldn't expect it to work exactly the same as an unmodified system.
-
Despite the HowTo on the support page telling us how to add a disk?
-
Despite the HowTo on the support page telling us how to add a disk?
there is an howto also for a game..
an howto doesn't mean that web interface will accomodate to the "new" system.. ;-)
Ciao
Stefano
-
Yeah, good point.
i guess the quotas don't matter that much for my application anyway.
Is there any thought of supporting mulitiple file systems in the future?
-
Is there any thought of supporting mulitiple file systems in the future?
raise a NFR in bugzilla
Ciao
Stefano