Skip to content

Commit ed3c7a2

Browse files
AntennipasiAntennipasi
authored andcommitted
Changed quota to use journaled version.
1 parent baec2b2 commit ed3c7a2

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

docs/INSTALL_DEBIAN_6.0_courier_mydns.txt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
Installation
22
-------------
33

4-
# It is recommended to use a clean (fresh) Debian Squeeze install where you just selected "Standard System" at the package selection during
5-
# setup (tasksel). Then follow the steps below to setup your server with ISPConfig 3. In this guide "vi" is used as text editor, but
4+
# It is recommended to use a clean (fresh) Debian Squeeze 6.0 install where you just selected "Standard System" at the package selection during
5+
# 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
6+
# quota (recommended). Then follow the steps below to setup your server with ISPConfig 3. In this guide "vi" is used as text editor, but
67
# you can use whatever you prefer. You should be root for doing all of this.
78

89

@@ -144,7 +145,8 @@ openssl req -x509 -nodes -newkey rsa:1024 -keyout /etc/ssl/private/pure-ftpd.pem
144145
chmod 600 /etc/ssl/private/pure-ftpd.pem
145146

146147

147-
# Edit /etc/fstab. Mine looks like this (I added ,usrquota,grpquota to the partition with the mount point /):
148+
# Edit /etc/fstab. Add "usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0" to the partition where you want to use quota.
149+
# Mine looks like this (I want to use quota on the / partition):
148150

149151
vi /etc/fstab
150152

@@ -153,18 +155,18 @@ vi /etc/fstab
153155
#
154156
# <file system> <mount point> <type> <options> <dump> <pass>
155157
proc /proc proc defaults 0 0
156-
/dev/sda1 / ext4 errors=remount-ro,usrquota,grpquota 0 1
158+
/dev/sda1 / ext3 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1
157159
/dev/sda5 none swap sw 0 0
158160
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
159161
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
160162
----------------------------------------------------------------------------------------------
161163

162164
# To enable quota, run these commands:
163165

164-
touch /quota.user /quota.group &&
165-
chmod 600 /quota.* &&
166-
mount -o remount / &&
167-
quotacheck -avugm &&
166+
touch /aquota.user /aquota.group
167+
chmod 600 /aquota.*
168+
mount -o remount /
169+
quotacheck -F vfsv0 -afcvdugm
168170
quotaon -avug
169171

170172

docs/INSTALL_DEBIAN_6.0_dovecot_bind.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ Installation
22
-------------
33

44
# It is recommended to use a clean (fresh) Debian Squeeze 6.0 install where you just selected "Standard System" at the package selection during
5-
# setup (tasksel). Then follow the steps below to setup your server with ISPConfig 3. In this guide "vi" is used as text editor, but
5+
# 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
6+
# quota (recommended). Then follow the steps below to setup your server with ISPConfig 3. In this guide "vi" is used as text editor, but
67
# you can use whatever you prefer. You should be root for doing all of this.
78

89

@@ -109,7 +110,8 @@ openssl req -x509 -nodes -newkey rsa:1024 -keyout /etc/ssl/private/pure-ftpd.pem
109110
chmod 600 /etc/ssl/private/pure-ftpd.pem
110111

111112

112-
# Edit /etc/fstab. Mine looks like this (I added ,usrquota,grpquota to the partition with the mount point /):
113+
# Edit /etc/fstab. Add "usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0" to the partition where you want to use quota.
114+
# Mine looks like this (I want to use quota on the / partition):
113115

114116
vi /etc/fstab
115117

@@ -118,7 +120,7 @@ vi /etc/fstab
118120
#
119121
# <file system> <mount point> <type> <options> <dump> <pass>
120122
proc /proc proc defaults 0 0
121-
/dev/sda1 / ext3 errors=remount-ro,usrquota,grpquota 0 1
123+
/dev/sda1 / ext3 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1
122124
/dev/sda5 none swap sw 0 0
123125
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
124126
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
@@ -129,7 +131,7 @@ proc /proc proc defaults 0 0
129131
touch /aquota.user /aquota.group
130132
chmod 600 /aquota.*
131133
mount -o remount /
132-
quotacheck -avugm
134+
quotacheck -F vfsv0 -afcvdugm
133135
quotaon -avug
134136

135137

0 commit comments

Comments
 (0)