View Full Version : quote error
NickRac
05-30-2003, 11:11 PM
Error with system Quotas
No disc quota is found for the indicated user. Quotas have not been turned on for this filesystem.
what does this mean and how do I fix it? I get it everytime I create a new user.
DirectAdmin Sales
05-30-2003, 11:32 PM
Hi Nick,
It should be working now, sorry about the error. For anything as important as this, be sure to use our live chat feature (on the support page) or e-mail, and we will be able to help you a lot faster.
Mark
bonnmac
06-05-2003, 11:49 AM
I am getting this error also. What needs to be done to fix it?
Thanks. :)
DirectAdmin Support
06-05-2003, 12:02 PM
Hello,
Make sure the quota's are on,
run:
quotaon -a
should solve your problem.
John
bonnmac
06-05-2003, 12:21 PM
Do I need to restart anything after running that? Cause I ran it then created a user and got this message.
Unix User created successfully
User's data directory created successfully
Domains directory created successfully
Domains directory created successfully in user's home
Domain Created Successfuly
Error with system Quotas
No disc quota is found for the indicated user. Quotas have not been turned on for this filesystem.
Thanks :)
DirectAdmin Support
06-05-2003, 12:24 PM
Hello,
type:
cat /etc/fstab
and make sure that /home has usrquota,grpquota on its line.
If it does, a simple reboot should enable quota's on the filesystem, if quotaon -a didn't work (or quotaon /home)
John
bonnmac
06-05-2003, 12:49 PM
I'm sorry.... I feel like I'm being a pain. but....
I did this
quotaon -a and it didn't work. So I did this...
type:
cat /etc/fstab
and make sure that /home has usrquota,grpquota on its line. (it does have it on it's line)
If it does, a simple reboot should enable quota's on the filesystem, if quotaon -a didn't work (or quotaon /home)
Then I rebooted but I'm still getting the error when I create new user. :confused:
DirectAdmin Support
06-05-2003, 12:53 PM
Ok, sorry, I went on your server and the quota files didn't exist... for anyone else having the problem:
/bin/mount -o remount,rw -a
/sbin/quotacheck -cavug
/sbin/quotaon -a
quotacheck will create the quota files for you.
Sorry for the trouble.
John
bonnmac
06-05-2003, 12:56 PM
:) No trouble. Okay so do I need to do this or did you do it?
Thanks again. You guys are great.
DirectAdmin Sales
06-05-2003, 12:56 PM
And you aren't bugging us, Bonnie. It's our responsibility to make sure these things work. :D
Mark
DirectAdmin Sales
06-05-2003, 12:57 PM
And to answer your question, we did that for you, so everything should be working now.
bonnmac
06-05-2003, 01:02 PM
Yes, woohoo quota's are working now. :D
outpernet
10-20-2003, 12:57 PM
this respond the server. How can i fix?
[root@ar9 home]# /sbin/quotacheck -cavug
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
DirectAdmin Support
10-20-2003, 01:23 PM
Hello,
Check your /etc/fstab file to ensure that the quotas have been enabled on /home or /. Mine contains something like:
LABEL=/ / ext3 defaults,usrquota,grpquota 1 1
LABEL=/home /home ext3 defaults,usrquota,grpquota 1 2 along with the other partitions.
If you don't have the usrquota,grpquota lines, just run the fstab.sh script from your da scripts directory:cd /usr/local/directadmin/scripts
./fstab.shJohn
outpernet
10-20-2003, 01:40 PM
yes, i didnt have those quotas. I drun that scripts, but the fstab file is the same, without quotas. i have to reboot?
DirectAdmin Support
10-20-2003, 01:47 PM
You shouldn't need to reboot. You can just manually add the usrquota,grpquota portion (to make them look similar to the above lines), then type:/sbin/quotaoff -a
/bin/mount -o remount,rw /home
/bin/mount -o remount,rw /
/sbin/quotacheck -cavugm
/sbin/quotaon -aafter the lines have been added.
John
MagnuM
10-27-2003, 06:09 AM
I put manualy those 2 lines in /etc/fstab.
I execute the command: /sbin/quotaoff -a
And when I try "/bin/mount -o remount,rw /home" I receive an error: "could not open /proc/partitions, so UUID and LABEL conversion cannot be done."
My fstab file, now looks like this:
none /dev/pts devpts rw 0 0
LABEL=/ / ext3 defaults,usrquota,grpquota 1 1
LABEL=/home /home ext3 defaults,usrquota,grpquota 1 2
thoroughfare
11-06-2003, 02:14 PM
Hi,
I'm getting:
[root@xxxxxxx /]# /sbin/quotacheck -cavug
bash: /sbin/quotacheck: No such file or directory
When I tried enabling quotas... help! :D
Matt
DirectAdmin Support
11-06-2003, 04:03 PM
Well that's a new one :)... try to see if it's anywhere by using:
locate quotacheck
It's probably not installed.. and your kernel would most likely not have quotas compiled in..
John
thoroughfare
11-06-2003, 04:10 PM
Did that before, even used updatedb with no luck.
So how do I solve this? Do I need to tell the VDS company that host me to do something with the kernel?
Cheers,
Matt :)
DirectAdmin Support
11-06-2003, 04:13 PM
Tell them you need quota support with quotaon, quotaoff,quotacheck and repquota.
John
thoroughfare
11-06-2003, 04:14 PM
Thanks John, they're doing it now :D
Matt
thoroughfare
11-06-2003, 04:27 PM
Hi,
Just to clarify:
I've got quotas installed now, but there's no quota files (quotacheck: Cannot get quotafile name for /dev/ubd/0)... do I need to run something to set them up?
Thanks,
Matt :)
DirectAdmin Support
11-07-2003, 10:31 AM
Hello,
/sbin/quotaoff -a
/sbin/quotacheck -cavugm
/sbin/quotaon -a
(you might get errors from quotaoff, but we do it just in case it's already on)
John
thoroughfare
11-07-2003, 02:35 PM
Do I need to recreate any users I created previous to installing quotas?
Cheers,
Matt
DirectAdmin Support
11-08-2003, 12:00 PM
You can just resave their quota limits. That should reset the quotas to the proper limit.
John
thoroughfare
11-08-2003, 12:39 PM
Thanks John :)
Matt
snaaps
02-07-2005, 12:40 AM
when I run cd /usr/local/directadmin/scripts/fstab.sh
my server crached!
I have no more acces to shh en I have do a reboot but this is not help!
My server now is down!
I will go today to the datacentre to it.
does anywone a tip for me?
MadDancer
07-19-2005, 12:52 PM
I'm getting a similar error under RHEL 4.0.
Error with system Quotas
setquota: Mountpoint (or device) /home not found. setquota: Not all specified mountpoints are using quota.
My system is configured with two drives (named "/" and "/home2") and a swap file.
My /home directory is not on its own partition. it is a directory under the / partition.
My fstab is as follows:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1 / ext3 defaults,usrquot
a,grpquota 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/home2 /home2 ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-hda2 swap swap defaults 0 0
Everything else seems to be working great, and quotas ARE enabled on the system as you can see. I even ran fstab.sh again to make sure.
Any thoughts on remedying my quota errors?
Icheb
08-08-2005, 05:47 AM
Your error isn't an actual error, but just a warning, I assume..
Anyone have a way to let DA rewrite all quota's with quota ?
All users created before quota activation have unlimited quota, not really the way I want it ;)
jlasman
08-08-2005, 03:36 PM
man edquota explains how to set quotas, but I agree, it's terse and you have to really know what your doing.
Best bet is to look at the quota for a user set up after quotas are enabled so you can see how it's done.
# quota username
will let you see a quota,
# edquota username
will let you set a user's quota.
Jeff
Icheb
08-09-2005, 01:21 AM
I was kinda hoping someone knew a way to let DA do it ;).
It's about 200 users at that server atm. Not really interested in doing that manually.
jlasman
08-09-2005, 06:10 PM
It could be done...
But it wouldn't be easy to write, and it would have to be written to the internals of the quota system, since there's no easy way to pipe anything directly to a file to make quota work.
So read the quota source code, and write it and we'll be happy to ask John to add it to DA. :)
Of course consider if you'd rather bill people who go over limits than turn them off. We considered that, and decided that for most of our clients that's what we want to do, so we intentionally don't use quota.
Your mileage may, and probably does, differ.
Jeff
milan
01-19-2006, 03:48 AM
I am having this problem to but cant fix it :S
server1:~# /bin/mount -o remount,rw -a
server1:~# /sbin/quotacheck -cavug
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.
server1:~# cd /etc/fstab/
-su: cd: /etc/fstab/: Not a directory
server1:~# cd /home/
server1:/home# cd
server1:~# ls
dbootstrap_settings install-report.template setup.sh
server1:~# cd..
-su: cd..: command not found
server1:~# cd ..
server1:/# cd /home/
server1:/home# ls
admin backup innovation mysql tmp uzi
server1:/home# cd ..
server1:/# cd /etc/fstab/
-su: cd: /etc/fstab/: Not a directory
server1:/# cd /usr/local/directadmin/scripts
server1:/usr/local/directadmin/scripts# ./fstab.sh
Checking quotas...
server1:/usr/local/directadmin/scripts# cd ..
server1:/usr/local/directadmin# cd ..
server1:/usr/local# cd ..
server1:/usr# cd ..
server1:/# /sbin/quotaoff -a
server1:/# /bin/mount -o remount,rw /home
mount: can't find /home in /etc/fstab or /etc/mtab
server1:/# locate quotacheck
/sbin/quotacheck
/usr/share/man/man8/quotacheck.8.gz
Icheb
01-20-2006, 10:18 AM
Milan; I don't want to be a pest, but uhhm, this is wrong:
cd /etc/fstab/
/etc/fstab is a file containing the mountpoints and the physical disk locations.
From your output, it appears like you don't have /home as mountpoint. So, can you post a 'df -h' and a 'cat /etc/fstab' ?
That way we know what's actually mounted and is listed in the config.
Jeff: the server in question was a managed dedicated server, but it doesn't matter anyhow. The customer decided that it was best to bill rather than suspend. However, my own shared hosting customers don't always agree to that.
milan
01-20-2006, 10:44 AM
hey, sorry but I had already solved to prob. Thanks for the help though
tristan
03-29-2006, 07:44 PM
Bit of the same problem over here, mount -o remount,rw / works just fine untill I add the ,usrquota,grpquota line to fstab if I run the remount command again it gives:
mount: / not mounted already, or bad option
I'm running the default Debian kernel for 686-smp nowadays 2.4.27-3-686-smp, could it be quota support isn't compiled in, in this default kernel? Could this be right, seems so unlikely to me.
Thanks for your help.
Tristan
jlasman
03-29-2006, 11:24 PM
It's very possible it's not compiled in.
Jeff
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.