Quota problem

justahost

Verified User
Joined
Mar 19, 2006
Messages
122
Evening all - just got a server with DA installed, try to create users I get the error:

---------------------------------
Unix User created successfully

Error with system Quotas
setquota: Mountpoint (or device) / not found. setquota: Not all specified mountpoints are using quota.
User's data directory created successfully
Domains directory created successfully
Domains directory created successfully in user's home



Domain Created Successfully


Reseller's package directory created successfully

Reseller created
---------------------------------

My FSTAB file looks like:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota,grpquota 1 1
LABEL=/boot /boot ext3 none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
none /proc proc none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
none /sys sysfs none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
/dev/VolGroup00/LogVol01 swap swap none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
/var/tmpFS /tmp ext3 /var/tmpFS /tmp ext3 rw,noexec,nosuid,nodev,bind 0 0 0 0

The / partition by the looks has the 'usrquota,grpquota' bits in though.

Any reason why the error pops up?

Cheers
 
Sounds like quota are not on. If that is the case you should be able to run quotacheck and then quotaon.

[root@hosting home]# quotacheck /
quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.

if you get this then your quotas are on and I am wrong.
 
Thanks for that, I get this when I run the command:

quotacheck /
quotacheck: Mountpoint (or device) / not found.
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.

Am I right in guessing that quota is not in the kernel?

Been reading through other posts on the subject here and the suggested fixes don't work so I guess its not compiled in.

Cheers
Ryan
 
What distro are you using? Is it a 'live cd'? I am asking because most of your lines in fstab has /dev/shm in them. Meaning all your mounts are in shared memory rather than on the hard disk. I am going check something so I will post some a little bit later.
 
Its CentOS 4.5
I haven't editted the fstab myself, but ran the ELS --securepartitions script provided in the forums.


uname -a gave:
Linux host.mydomain.com 2.6.9-55.0.6.ELsmp #1 SMP

(host.mydomain.com being a dummy hostname instead of mine!)

Cheers.
 
Who set up your server? You may want to speak with whomever set up your server as your server seems to use a non-standard partitioning scheme.

Jeff
 
My host has, as he put it, 'given up as I am out of ideas' and has passed this over to DA support (not sure how everything has been tried as when I log into the server it says I was the last one logged in! Must be the hosts Jedi mind powers).

Hopefully you guys can work out whats gone on and actually log ont othe server for a look!

Cheers
Ry
 
Last edited:
Well, it's not us guys, because we're just members of the community trying to help.

Has DA support managed to resolve the problem?

Jeff
 
He actually listened to the reason that bclark94 said - I rebooted the box, it didn't come up so he redid the fstab and everything seems happy.

ry
 
Back
Top