On Wed, Jul 18, 2007 at 08:25:31AM -0400, Simon wrote: > >If your directories are that big and you're using ext3, take a look > >at the manpage for tune2fs and read about the dir_index feature. The > >filesystem needs to be unmounted and fscked, but it should improve > >directory access times. > > This is actually a Reiserfs file system...
Ah. Welcome to the world of Reiserfs filesystem corruption :-( > since ls appears to hang, it's not > only the imap client that can't deal with it... Quite - a filesystem problem. > what is the likelihood that attempting to delete the entire > directory - without running reiserfsck on it - would cause any > *additional* problems? A corrupted Reiserfs filesystem is a very dangerous thing. It may be completely unrecoverable already. Try to back up what you can, and then run for the hills. > Maybe an alternative - so I can at least start using my Trash again - is > to just rename it (with the mv command), then recreate the Trash with > the maildirmake until I can unmount it to run reiserfsck on it tonight? If you rename .Trash to SKIPME (or any directory name not beginning with a period) then it should be ignored by the courier-imap server, and not displayed to clients. Then you can create a new .Trash. If you then backup using tar --exclude SKIPME, then hopefully it won't traverse into the broken directory. Regards, Brian. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap