on 5-18-2009 8:46 AM Matthijs Kooijman spake the following:
Hi Scott,
One could always run the mailstore on LVM and then you could snapshot the mount and then fsck it while still technically in use. It would probably slow down the filesystem, but it is still live. Uhm, and then you have a nice and fsck'd snapshot, but your live filesystem will still be untouched? Or do you propose replacing the mailstore with a (readonly?) versioned mounted from the lvm snapshot? I'm not aware of anything that can swap filesystems like this online (ie, with files open) and that would also mean that while fsck'ing, you can only read mail, not receive, move or delete mail?
Gr.
Matthijs I re-read the howto on using fsck on LVM snapshots, and it is only good if the FS passes. Then you can update the fsck details in the filesystem. If the FS doesn't pass, you would still need to schedule a fsck when inactive.
My bad.