From ed3c7a240d22706fc9d9d0a8a015ddd063e16ff4 Mon Sep 17 00:00:00 2001 From: Antennipasi <Antennipasi@ispconfig3> Date: Tue, 16 Nov 2010 01:32:57 -0500 Subject: [PATCH] Changed quota to use journaled version. --- docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt b/docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt index b9da8f8..f40b8f8 100644 --- a/docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt +++ b/docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt @@ -2,7 +2,8 @@ ------------- # It is recommended to use a clean (fresh) Debian Squeeze 6.0 install where you just selected "Standard System" at the package selection during -# setup (tasksel). Then follow the steps below to setup your server with ISPConfig 3. In this guide "vi" is used as text editor, but +# setup (tasksel). Journaled quota which this guide uses works on ext3 and ext4 file systems, so format disks either one if you are going to use +# quota (recommended). Then follow the steps below to setup your server with ISPConfig 3. In this guide "vi" is used as text editor, but # you can use whatever you prefer. You should be root for doing all of this. @@ -109,7 +110,8 @@ chmod 600 /etc/ssl/private/pure-ftpd.pem -# Edit /etc/fstab. Mine looks like this (I added ,usrquota,grpquota to the partition with the mount point /): +# Edit /etc/fstab. Add "usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0" to the partition where you want to use quota. +# Mine looks like this (I want to use quota on the / partition): vi /etc/fstab @@ -118,7 +120,7 @@ # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 -/dev/sda1 / ext3 errors=remount-ro,usrquota,grpquota 0 1 +/dev/sda1 / ext3 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1 /dev/sda5 none swap sw 0 0 /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 @@ -129,7 +131,7 @@ touch /aquota.user /aquota.group chmod 600 /aquota.* mount -o remount / -quotacheck -avugm +quotacheck -F vfsv0 -afcvdugm quotaon -avug -- Gitblit v1.9.1