
qmail08 at hofmann-wi
Jun 6, 2008, 5:50 AM
Post #2 of 15
(1253 views)
Permalink
|
Hi Oliver, why not just symlink from other partitions? Then you can use/move how you'd like. Lars Am Freitag, den 06.06.2008, 11:39 +0200 schrieb Oliver Hitz: > Hi all, > > We have a file server that serves maildirs for about 200k users. For > historical reasons, there's only one big 400G filesystem, formatted > using ReiserFS. > > The maildirs are stored in a two-level domain/user hierachy. We have > around 5000 subdirectories on the first level -- which is very > unfortunate, but the application that places the domain directories is > out of my scope and cannot be changed. > > Recently, we started seeing ugly filesystem inconsistencies, which is > why we'd like to restructure the whole thing differently. Instead of one > big filesystem, we'd like to have multiple smaller systems, which would > isolate corruptions to smaller areas and also allow us to do fsck's in > acceptable time. > > Since I cannot change the application, I somehow need to have 5000 > subdirectories on the same level. I thought of using something like > unionfs or aufs for this. I'd create let's say 10 smaller filesystems > and merge them together into one big hierarchy. > > Can anybody think of another approach? (Other than fixing the > application to support multiple filesystems, which would of course be > the best solution.) Is anybody here already using unionfs/aufs for > something like this? > > Also, what filesystem do you guys recommend and how do you back up huge > maildir partitions? At the moment we do our backups using rsync, which > is why we were forced to use ReiserFS as filesystem. With ext3 it was > not possible to back up all the maildirs in acceptable time, just going > through the directories took ages (I think this was with dir_index > enabled, but I'm not sure). In future, I'd like to get rid of ReiserFS > and use something more robust, but I first need to find a suitable > backup strategy that allows to back up data in acceptable time. How > about dump on ext3-formatted LVM snapshots? > > I'm sure some people on this list have servers that are far bigger. I'd > love to hear how you store and backup your maildirs. Maybe there's some > approach that I've missed altogether. > > Thanks in advance for any hints, > > Oliver
|