1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Disk quota not supported

Discussion in 'Plesk for Linux - 8.x and Older' started by bartje3, Jan 28, 2007.

  1. bartje3

    bartje3 Guest

    0
     
    Hi,

    After installing Plesk 8.1, I don't have support for disk quotas.
    After folowing the help from the knowledgebase, nothing changed.
    Disk quota is loaded while booting, works (made tests, quotacheck runs without complaining, aquota.user aquota.group exists in /).
    Still Plesk 8.1 doesn't recognize disk quotas.


    Plesk 8.1_FC5_64bit
    Software Raid mirroring

    [root@serverxxx ~]# /usr/local/psa/admin/sbin/usermng --isquotable usermng: File system rootfs has no quota support.

    System error 2: No such file or directory
    usermng: File system rootfs has no quota support.

    System error 2: No such file or directory
    1

    While on FC3 also raid the output = 0

    Anyone has the same results ?

    Greetings,
    Bart
     
  2. Beto

    Beto Guest

    0
     
    I had the same problem and posted my solution in another thread.

    But if you don't want to search for it...here is it :change the fstab and add the quota on the filesystem you need it on like this:

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

    safe it ... and then run the following commands:

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

    Be carefull on the first command, the / represents the filesystem...if you want it on another filesystem change the path or go to that filesystem and do it without the "/" in this case.

    I hope this will help...
     
  3. Beto

    Beto Guest

    0
     
  4. bartje3

    bartje3 Guest

    0
     
    Beste,

    Ik had uw thread al tevoren gevonden, maar het probleem bleef bestaan, ook de knowledge base kon me niet helpen.

    I saw your thread before you've answered, but it didn't resolve my problem.

    My fstab:
    /dev/md2 / ext3 defaults,usrquota,grpquota 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    devpts /dev/pts devpts gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs noexec,nosuid 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs defaults 0 0
    /dev/md1 /tmp ext3 loop,noexec,nosuid,rw 0 0
    /dev/md0 swap swap defaults 0 0

    fdisk -l
    Disk /dev/sda: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 13 104391 83 Linux
    /dev/sda2 14 268 2048287+ fd Linux raid autodetect
    /dev/sda3 269 521 2032222+ fd Linux raid autodetect
    /dev/sda4 522 24321 191173500 5 Extended
    /dev/sda5 522 24321 191173468+ fd Linux raid autodetect

    Disk /dev/sdb: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 13 104391 8e Linux LVM
    /dev/sdb2 14 268 2048287+ fd Linux raid autodetect
    /dev/sdb3 269 521 2032222+ fd Linux raid autodetect
    /dev/sdb4 522 24321 191173500 5 Extended
    /dev/sdb5 522 24321 191173468+ fd Linux raid autodetect

    cat /proc/mounts
    rootfs / rootfs rw 0 0
    /dev/root / ext3 rw,data=ordered,usrquota,grpquota 0 0
    /dev /dev tmpfs rw 0 0
    /proc /proc proc rw 0 0
    /sys /sys sysfs rw 0 0
    /proc/bus/usb /proc/bus/usb usbfs rw 0 0
    devpts /dev/pts devpts rw 0 0
    /dev/sda1 /boot ext3 rw,data=ordered 0 0
    tmpfs /dev/shm tmpfs rw,nosuid,noexec 0 0
    /dev/loop0 /tmp ext3 rw,nosuid,noexec,data=ordered 0 0
    none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
    /proc /var/named/run-root/proc proc rw 0 0
    /dev/root /var/named/run-root/var/run/dbus ext3 rw,data=ordered,usrquota,grpquota 0 0

    cd /
    ls -n
    totaal 202
    -rw------- 1 0 0 13312 jan 29 19:15 aquota.group
    -rw------- 1 0 0 23552 jan 29 19:15 aquota.user
    ...
    ...
    As you can see, quota is running and updating the files.

    Greetings,
    Bart
     
  5. Beto

    Beto Guest

    0
     
    mmm raar...ik zou zo direct niet kunnen zeggen waar het aan zou kunnen liggen :s
     
Loading...