PDA

View Full Version : Help configuring quota and fstab


donix
10th April 2010, 00:47
hello.. I'm working on a VPS with debian 5. I want to install ISPConfig 3 and I follow the perfect server guide. But I can't figure out how to modify my fstab file. My /etc/fstab file contains:

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

I need to "add ,usrquota,grpquota to the partition with the mount point /". But were is that?

Mark_NL
10th April 2010, 13:38
cat /proc/mounts

donix
11th April 2010, 13:12
cat /proc/mounts Returns

/dev/vzfs / vzfs rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0

donix
11th April 2010, 18:47
someone able to help? don't know that to do with /proc/mounts

Mark_NL
12th April 2010, 11:26
Put this in your /etc/fstab:

/dev/vzfs / vzfs defaults,usrquota,grpquota 0 0

donix
13th April 2010, 10:33
thanks.. I have a problem with this command: mount -o remount /

It returns mount: permission denied

I'm running the command as root.

Mark_NL
13th April 2010, 12:20
What's the content of your /etc/fstab now?

donix
13th April 2010, 16:44
nano /etc/fstab:

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

donix
15th April 2010, 11:43
Anyone able to help? can't figure out what to do?

Mark_NL
15th April 2010, 13:59
You can always skip quota usage if you're not planning on using it anyway :)

donix
15th April 2010, 17:55
well.. okay.. but i'm planning to use it :(