On 12/04/2012 09:15 AM, Rajesh M wrote:

hi eric

filesystem is ext3

how do chk and enable dirindex ?

will affect my exitsing data in anyway

rajesh

---------------------------------------------------------------------

Please post:
# tune2fs -l /dev/sd<device>
That'll show what your settings are currently.

Eg, my QMT has:
[root@tacs-mail ~]# tune2fs -l /dev/sda2
tune2fs 1.39 (29-May-2006)
Filesystem volume name:   /
Last mounted on:          <not available>
Filesystem UUID:          72915fac-3caa-4e34-b5db-7361a057ae97
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              8102656
Block count:              8100776
Reserved block count:     405038
Free blocks:              1012918
Free inodes:              7645397
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1022
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         32672
Inode blocks per group:   1021
Filesystem created:       Fri Jan  8 03:14:24 2010
Last mount time:          Wed Oct 31 11:24:49 2012
Last write time:          Wed Oct 31 11:24:49 2012
Mount count:              66
Maximum mount count:      -1
Last checked:             Fri Jan  8 03:14:24 2010
Check interval:           0 (<none>)
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Journal inode:            8
First orphan inode:       718884
Default directory hash:   tea
Directory Hash Seed:      ffb99d84-d999-4842-958a-04a1b19bf42c
Journal backup:           inode blocks
[root@tacs-mail ~]#
This is a very small scale server, especially compared to yours!
It originally ran on a PII-266 with 512M Ram. It's a VM now. :) It does handle 10's of Gs of email quite nicely though.

The tune2fs command can be used to change settings. See the man page.
You can change settings on the fly. I think the dir_index gets built on the fly, but I'm not positive about this. You might want to check up on that. It's a highly recommended option for ext3 Maildirs though.

--
-Eric 'shubes'

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to