Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: larieu on May 11, 2010, 07:07:18 AM
-
after porting users from SME 7.4 to SME 8 I had some problem with quota
transfer was made as in "how to" "move to new hardware"
http://wiki.contribs.org/Moving_SME_to_new_Hardware (http://wiki.contribs.org/Moving_SME_to_new_Hardware)
using command from http://wiki.contribs.org/AddExtraHardDisk (http://wiki.contribs.org/AddExtraHardDisk)
quotacheck -vugc /dev/hdc1
I was able to solve that problem
unfortunately after that all my users had lost soft/hard limit info
even in db I was able to see that info
to solve as easy as possible I've installed Lazy admin tools http://wiki.contribs.org/Lazy_Admin_Tools (http://wiki.contribs.org/Lazy_Admin_Tools) and used command
lat-quota -c "* | 512M | 1G"
after that for that users which has special limits I created one file in the format from this URL
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/mblotwijk/Contribs/lazy-admin-tools/examples/example.quota (http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/mblotwijk/Contribs/lazy-admin-tools/examples/example.quota)
and run the command
lat-quota -i /path/file
I used only this part of this contrib but it seems to work without problems
may be someone who has the right can put this info here
http://wiki.contribs.org/SME8.0_Contribs_QA (http://wiki.contribs.org/SME8.0_Contribs_QA)
-
AFAIK lat is unmaintained.
-
Ok
but if it works should have one mention into that page
remember that qmail is also unmaintained - as far as I know
no need to comment more
-
I just installed lazy admin tools on sme8, however the scripts in /usr/sbin are not marked as executable.
I ran
chmod -v 755 /usr/sbin/lat*
and all is well now.
HTH someone,
D
-
I may have spoken too soon.
I have just had a horrible problem with LAT. I ran a script which did the following;
1) Delete all groups
2) loop through a list of groups and create them
3) Delete all users
4) loop through a list of users and create them
The script was running fine, and after each run i would tweak some things to get the account just right (about 40 accounts as a sample, ~120 when i do the final run)
The third time i ran the script something went horribly wrong. My diagnosis points to the possiblilty that LAT deleted an account (as it should) whos home drive was listed as /home/e-smith. BAM - everything dies as /home/e-smith is deleted which of course contains all the good bits. Now i need to totally rebuild.
I suspect the problem is that LAT created the account in question with a home drive of /home/e-smith
I have saved some logs if anyone is interested.
Off to rebuild my system now :(
-
I suspect the problem is that LAT created the account in question with a home drive of /home/e-smith
"With great power comes great responsibility" (http://www.youtube.com/watch?v=_5d6rTQcU2U#t=1m28s) ;-)
-
Please report all problems found in LAT via the bug tracker. That way if a new maintainer steps up, they will know what needs to be fixed.
-
seems like you tried to delete admin account, while you deleted all users accounts ....
indeed there is no protection to avoid that
opened bug http://bugs.contribs.org/show_bug.cgi?id=7162