]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blob - docs/filesystem-notes.rst
known_issues, quickstart: add version and anticipated release date
[tahoe-lafs/tahoe-lafs.git] / docs / filesystem-notes.rst
1 =========================
2 Filesystem-specific notes
3 =========================
4
5 1. ext3_
6
7 Tahoe storage servers use a large number of subdirectories to store their
8 shares on local disk. This format is simple and robust, but depends upon the
9 local filesystem to provide fast access to those directories.
10
11 ext3
12 ====
13
14 For moderate- or large-sized storage servers, you'll want to make sure the
15 "directory index" feature is enabled on your ext3 directories, otherwise
16 share lookup may be very slow. Recent versions of ext3 enable this
17 automatically, but older filesystems may not have it enabled::
18
19   $ sudo tune2fs -l /dev/sda1 |grep feature
20   Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery sparse_super large_file
21
22 If "dir_index" is present in the "features:" line, then you're all set. If
23 not, you'll need to use tune2fs and e2fsck to enable and build the index. See
24 `<http://wiki.dovecot.org/MailboxFormat/Maildir>`_ for some hints.