• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

quota on logical volume doesn't work

B

Beto

Guest
I've installed plesk 8.0.1 on a fedora core 4. I'm having problems with the quota.(I'm using LVM !!)

They aren't enabled. if I use following command:

[root@cypres ~]# quotaon -avug

Normally should have every filesystem quota enabled . When I look at /etc/fstab no single filesystem has quota enabled.

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/vgcypres/lvroot / ext3 defaults 1 1
/dev/vgcypres/lvbackup /backup ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/vgcypres/lvhome /home ext3 defaults 1 2
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
/dev/vgcypres/lvvar /var ext3 defaults 1 2
/dev/vgcypres/lvwww /var/www ext3 defaults 1 2
/dev/vgcypres/lvswap swap swap defaults 0 0
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0


When I edit the fstab with vi and add the quota it doesn't work.

I don't now what to check else...

ps. quota is installed :)

root@cypres /]# whereis quota
quota: /usr/bin/quota /usr/share/man/man1/quota.1.gz

I even tried to update it via yum but there was nothing to update.

there is a knowledge base article but it doesn't work for me (http://kb.swsoft.com/article_16_768_en.html).

HEELP :)

----------------

Solved:

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 !!
 
Back
Top