• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Hard Disk Quota is not supported

F

fercez

Guest
Hello

Looks like there is an issue on Plesk install for my server, or at the configuration, I really don’t know. I runs on Centos 4.2
The problem is that when setting up a physical hosting for any domain, in the Account Preferences section, the option Hard Disk Quota (HDQ) can’t be disabled as unlimited. Plesk indicates that HDQ is not supported, therefore domain has unlimited HDQ, even the client, owner of domain, has the permission to assign the HDQ for all of his domains.

Neither client nor server admin can’t assign the HDQ for any domain.

I must say that I’ve tried in different ways to permit to the client to assign the HDQ for each domain:
- Giving unlimited all the resources for client
- Without any template
- With a template that has the unlimited HDQ feature
- With a template that hasn’t the unlimited HDQ feature
- None domain has HDQ as unlimited

In server there are only 4 domains: main domain which acts as server DNS’, the other three are there only for testing purposes (those domain are registered and already pointing to this server). I repeat: no one of these domain names has HDQ as unlimited.

Beyond this problem, I’ve done the next things several times:
- Reboot server
- Restore DNS zone template and recreate the custom NS records
- Delete all clients and domains and create them again

After all, HDQ quota remains as not supported. I’ve looked for in the whole server for any instance that might be denying disabling the HDQ as unlimited, as well in Plesk Administrator’s Guide, but nothing. The only thing I’ve found is a content on Administrator’s Guide where says:
“if you see the "Hard disk quota is not supported" notice to the right of the Hard disk quota field, but would like to use the hard quotas, contact your provider or the server administrator and ask to enable the hard quotasâ€.

Any one knows what to do? :confused:
 
Hello,

Make sure that /var or /home partition is mounted with usrquota options, in file /etc/fstab
if not just add it at mount options, on my systems I have:

LABEL=/home /home ext3 defaults,usrquota 1 2

then just ran:

quotaoff -av
quotacheck -avum
quotaon -av

Lemme know if it's working.
 
Hello Adi Babalau

I had done what is posted in http://forum.swsoft.com/showthread.php?s=&threadid=37085

Originally posted by Beto
I got it working...

I added the quota to the /etc/fstab like following line:

/dev/VolGroup00/LogVol00 / ext3 defaults,usrquota,grpquota 1 1

Then I got to the filesystem where you want quotas on (/var/www/vhosts, in my case a have a Logical Volume mounted over /var/www , but if you have a typical FC4 installation it can be /)

do the following:

touch /aquota.user /aquota.group
chmod 600 /aquota.*
mount -o remount /
quotaon -avug

The last line isn't necaisary i guess because you added usrquota and grpquota to the fstap by yourself.

After doing this quotas were working !!

but that simply crashed my server.

The fstab file on my server is:
LABEL=/ / ext3,usrquota defaults 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmps defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0

What you say is to add the line:
LABEL=/home /home ext3 defaults,usrquota 1 2
and then run:
quotaoff -av
quotacheck -avum
quotaon -av

That should be all?
 
Hello,

Don't add LABEL=/home /home ext3 defaults,usrquota 1 2 in your fstab, that was only an example, as I can see you already have usrquota defined on your fstab:

LABEL=/ / ext3,usrquota defaults 1

This is what I suggest you to do:

mount -o remount /

then:

quotaoff -av
quotacheck -avum
quotaon -av

if you still have any issues we can talk to MSN to get them all fixed.
 
I try it and worked, but noticed that only user quotas were activated maybe a more complete aproach is activating USERS & GROUPS quotas so....

Add to your LABEL line in the /etc/fstab the follow ",usrquota,grpquota" (the line may change acording your system settings):
LABEL=/ / ext3 defaults,usrquota,grpquota 1 1

Then:
> mount -o remount /
> quotaoff -avug
> quotacheck -avugm (Wait Until your system is scanned, you may get some warnings)
> quotaon -avug

You sould get something like this:

[root]# vi /etc/fstab
[root]# mount -o remount /
[root]# quotaoff -avug
quotaoff: Cannot find quota file on / [/dev/hda3] to turn quotas on/off.
/dev/hda3 [/]: user quotas turned off
[root]# quotacheck -avugm
quotacheck: WARNING - Quotafile //aquota.user was probably truncated. Can't save quota settings...
quotacheck: WARNING - Quotafile //aquota.group was probably truncated. Can't save quota settings...
quotacheck: Scanning /dev/hda3 [/] done
quotacheck: Checked 29432 directories and 325794 files
[root]# quotaon -avug
/dev/hda3 [/]: group quotas turned on
/dev/hda3 [/]: user quotas turned on
 
Hi, I have this same problem on a server. I have tried all of the above approaches and still have the same problem.

Here is the output:
control5 ~ # mount -o remount /
control5 ~ # mount
/dev/md0 on / type ext3 (rw,usrquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/md1 on /var/www type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
//196.220.41.254/control5.glodns.net$ on /mnt/backupremote type cifs (rw,mand)
control5 ~ # quotaoff -av
/dev/md0 [/]: user quotas turned off
control5 ~ # quotacheck -avum
quotacheck: Scanning /dev/md0 [/] -
quotacheck: Old group file not found. Usage will not be substracted.
done
quotacheck: Checked 32388 directories and 256649 files
control5 ~ # quotaon -av
/dev/md0 [/]: user quotas turned on
control5 ~ # ls -lsah /
total 144K
4.0K drwxr-xr-x 24 root root 4.0K Apr 21 05:13 .
4.0K drwxr-xr-x 24 root root 4.0K Apr 21 05:13 ..
12K -rw------- 1 root root 12K Apr 21 05:13 aquota.group
20K -rw------- 1 root root 17K Apr 21 05:13 aquota.user
0 -rw-r--r-- 1 root root 0 Feb 3 07:36 .autofsck
0 -rw-r--r-- 1 root root 0 Feb 22 2008 .autorelabel

Additionally I restarted plesk via /etc/init.d/psa stop and start, still the same problem.
 
NVM, found the problem, seems I didn't add usrquota to /var/www mounted on /dev/md1
 
Hi,

I am using Ubuntu with Plesk 9.2.1.

My fstab only has:

proc /proc proc defaults 0 0
none /dev/pts devpts rw 0 0

not sure where to go?!
 
Quota

Hi,

I use Ubuntu 8.0.4 and Plesk 9 and did the following:
Change your /etc/fstab file line
none /dev/pts devpts rw 0 0
in
none /dev/pts devpts rw,usrquota 0 0

Then follow the instructions in the posts above from the 'remount' point.

Hope this helps.
 
Thanks for the reply, my fstab is now:

proc /proc proc defaults 0 0
none /dev/pts devpts rw,usrquota 0 0

However when I do:

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

This is on a virtual server.
 
I have no experience with a virtual server but this is probably because you did not remount correctly or the remount failed. You _must_ remount.
Try
mount -o rw,remount /dev/pts devpts
or
mount -o rw,remount devpts

Maybe this one will also help a bit: http://kb.swsoft.com/en/768
 
Please help, I think I have turned on the quotas, but the admin page still greyed

Thanks

# /sbin/quotaoff -av
/dev/mapper/VolGroup00-LogVol00 [/]: user quotas turned off
# /sbin/quotacheck -avum
quotacheck: Scanning /dev/mapper/VolGroup00-LogVol00 [/] quotacheck: Old group file not found. Usage will not be substracted.
done
quotacheck: Checked 66600 directories and 531299 files
# /sbin/quotaon -av
/dev/mapper/VolGroup00-LogVol00 [/]: user quotas turned on
 
thanks

Yes I remounted. From command, tells me quota enabled.

I guess it's because of running in vmware.

any ideas?
 
Thanks,
yes I remounted, and from command line, tells me that quota enabled.

I guess it's because of running from vmware.

any ideas?
 
Hi, I am new to all this linux stuff. Still busy learning everything. My fstab file looks like this, which line would I change to enable user quota's?

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/sda2 swap swap defaults 0 0
 
Hi, I am new to all this linux stuff. Still busy learning everything. My fstab file looks like this, which line would I change to enable user quota's?

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/sda2 swap swap defaults 0 0

Just change line

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1

to
/dev/VolGroup00/LogVol00 / ext3 defaults,usrquota 1 1

and reboot server.
 
Need Help to enable Hard Disk Quota

I am a linux beginner and new to this stuff.
My fstab file looks like bellow.
Which line would I change to enable user quota's?
[root@ns etc]# cat fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/var /var ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda3 swap swap defaults 0 0


I already have tried bellow:
[root@ns etc]# cat fstab
LABEL=/ / ext3 defaults,usrquota 1 1
LABEL=/var /var ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda3 swap swap defaults 0 0

and have done bellow:
# mount -o remount /
# quotaoff -av
# quotacheck -avum
# quotaon -av
But did not work.

Please somebody help me.
 
Back
Top