The Perfect Server - CentOS 5.5 x86_64 [ISPConfig 3] where put quota

Discussion in 'HOWTO-Related Questions' started by Showa, Sep 18, 2010.

  1. Showa

    Showa Member HowtoForge Supporter

    Hello to you all,

    I am building a server according above mentioned howto. I have reached point 8 page 3.
    I have made raid 1 partition for my os.
    Here is my fstab:

    /dev/md1 / ext3 defaults 1 1
    /dev/md8 /windows vfat defaults 0 0
    /dev/md5 /tmp ext3 defaults 1 2
    /dev/md4 /home ext3 defaults 1 2
    /dev/md3 /var ext3 defaults 1 2
    /dev/md2 /usr ext3 defaults 1 2
    /dev/md0 /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/md6 swap swap defaults 0 0

    My question is where do I have to insert my usrquota and grpquota?

    With kind regards,

    Ad.
     
    Last edited: Sep 18, 2010
  2. Showa

    Showa Member HowtoForge Supporter

    Is it maybe something like this?
    md0 untill md7 are in raid1 on hdb and hdc, md8 is on sda untill sdd in raid5. On these four disks is also a large logical volume To put my data on for my internal network.

    /dev/md1 / ext3 defaults 1 1
    /dev/md8 /windows vfat defaults 0 0
    /dev/md5 /tmp ext3 defaults 1 2
    /dev/md4 /home ext3 defaults 1 2
    /dev/md3 /var ext3 defaults 1 2
    /dev/md2 /usr ext3 defaults 1 2
    /dev/md0 ext3 defaults,usrquota,grpquota 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/md6 swap swap defaults 0 0

    With kind regards,

    Ad.
     
  3. falko

    falko Super Moderator ISPConfig Developer

    That depends on which partitions you want to use quota. For example, if you want to use quota on / and /var, you must modify the /dev/md1 and /dev/md3 lines in /etc/fstab.
     
  4. Showa

    Showa Member HowtoForge Supporter

    Hello Falko,

    Thank you for your reply.

    At the moment I put it in /dev/md1 (root) like this: /dev/md1 / ext3 defaults,usrquota,grpquota 1 1

    I will do the same with /dev/md3. Is it usefull to do this also in md2, md4 and md5?

    With kind regards, Ad.
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Only if you need quota in these partitions. Normally / and /var should be enough if you use ISPConfig.
     
  6. Showa

    Showa Member HowtoForge Supporter

    Thank you, I will try it that way.

    Ad.
     

Share This Page