I just need some input, I am trying to get quotas working on my machine. The problem I am having is it shows 0 for disk usage for my clients in WHM. I use Fedora 4 and the Latest Release Build.
My Fstab looks like this:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
/dev/hdb1 swap swap defaults 0 0
/dev/hdb2 /home2 ext3 defaults 1 2
/dev/varTmp /var/tmp ext3 rw,noexec,nosuid,nodev,bind 0 0
/dev/tmp /tmp ext3 loop,rw,nosuid,noexec 0 0
I think I need to add /home and /home2 as well. as these are the locations my whm puts client files.
LABEL=/home /home ext3 defaults,usrquota
LABEL=/home2 /home2 ext3 defaults,usrquota
Question 1: Do I need to add the "1 1 or 1 2 or 0 0" behind them and what is that for?
Question 2: I have seen some examples searching that show it as ext2 rather then ext3. are my entries correct?
Question 3: When I save the file, Is this the command I use to remount: mount -o remount /
Question 4: Do I have to restart the server, or can I just proceed with /scripts/initquotas and /scripts/fixquotas?
Thanks
My Fstab looks like this:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
/dev/hdb1 swap swap defaults 0 0
/dev/hdb2 /home2 ext3 defaults 1 2
/dev/varTmp /var/tmp ext3 rw,noexec,nosuid,nodev,bind 0 0
/dev/tmp /tmp ext3 loop,rw,nosuid,noexec 0 0
I think I need to add /home and /home2 as well. as these are the locations my whm puts client files.
LABEL=/home /home ext3 defaults,usrquota
LABEL=/home2 /home2 ext3 defaults,usrquota
Question 1: Do I need to add the "1 1 or 1 2 or 0 0" behind them and what is that for?
Question 2: I have seen some examples searching that show it as ext2 rather then ext3. are my entries correct?
Question 3: When I save the file, Is this the command I use to remount: mount -o remount /
Question 4: Do I have to restart the server, or can I just proceed with /scripts/initquotas and /scripts/fixquotas?
Thanks