PDA

View Full Version : Error with system Quotas



theplayer
01-29-2009, 04:20 AM
Yesterday i have installing debian 5 and directadmin. so far so good.
But when i make a new user i get the following message:


User test2 created

Details

Unix User created successfully

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

Domain Created Successfully

User added to ssh config file.


I search the forum and go to my /etc/ftab and this is the code:



# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 errors=remount-ro 0 1
/dev/sda5 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0


I think i must fix above problem here? who can help me?

smtalk
01-29-2009, 04:39 AM
http://help.directadmin.com/item.php?id=42

theplayer
01-29-2009, 04:53 AM
thnx but stil don't sure what to do...

Must i make it to this?


# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 errors=remount-rorw,usrquota,grpquota 0 1
/dev/sda5 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0



http://help.directadmin.com/item.php?id=42

PRB
02-24-2009, 11:47 AM
Hmm, I still have this problem.


/usr/sbin/repquota /home
repquota: Mountpoint (or device) /home not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.

This is my 5th server, I love DA. But this is the first time I have this problem. Can anyone help me?

scsi
02-24-2009, 11:50 AM
Change your quota partition in /usr/local/directadmin/conf/directadmin.conf

PRB
02-24-2009, 11:53 AM
Thanks for the fast reply, it right now is:


quota_partition=/

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 38M 14M 23M 37% /boot
/dev/sda5 143G 1.4G 135G 2% /
tmpfs 1010M 0 1010M 0% /lib/init/rw
tmpfs 1010M 0 1010M 0% /dev/shm
udev 10M 68K 10M 1% /dev

cat /etc/fstab gives

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda5 / ext3 errors=remount-ro 0 1
/dev/sda1 /boot ext3 defaults 0 2
/dev/sda6 none swap sw 0 0

What am I supposed to change it to?

scsi
02-24-2009, 11:55 AM
Follow the guide and change all the references to /home to just /

Also in /etc/fstab

change



/dev/sda5 / ext3 errors=remount-ro 0 1


to



/dev/sda5 / ext3 errors=remount-ro,usrquota,grpquota 0 1

PRB
02-24-2009, 12:11 PM
Follow the guide and change all the references to
change



/dev/sda5 / ext3 errors=remount-ro 0 1


to



/dev/sda5 / ext3 errors=remount-ro,usrquota,grpquota 0 1


That did the trick. I'll add this topic to my server help bookmarks in FireFox :)

Thanks alot scsi. Sorry for taking your time.

yatoula
12-12-2010, 01:30 AM
Me i have in etc/fstab
# <sys.fichiers><pt de montage><type> <options> <dump> <pass>
/dev/sda1 / ext4 errors=remount-ro 0 1
/dev/sda2 /home ext4 defaults 1 2
/dev/sda3 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0

i don't arrived to change the package i have this error :

Error with system Quotas
setquota: Mountpoint (or device) /home not found or has no quota enabled. setquota: Not all specified mountpoints are using quota.
Debug Guide

Thanks

yatoula
12-12-2010, 04:46 AM
i have this with quotacheck

quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.

zEitEr
12-12-2010, 09:15 AM
Have tried to follow steps from the page http://help.directadmin.com/item.php?id=42 ?

Imre90647
07-20-2011, 02:33 AM
/usr/sbin/repquota /home
repquota: Mountpoint (or device) /home not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.

hmmm how can i solved it :-? so bdy help me ;)
thanks