[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Reiserfs and disk spindown: separate /var partition?



Hello

I would like the hard drive to spin down (on a small server overnight, on a powerbook, etc), but want to use reiserfs. Reiserfs prevents noflushd from working since it bypasses the filesystem buffer for writing it's log. So what can I do?

I'm imaging this: if I manage to use ext2 for just those directories into which something is written while the computer isn't used (system logfiles in /var, maybe something in /tmp), and reiserfs for the rest, there should be no writes bypassing the filesystem buffer and thus noflushd should work.

Has anyone done this?

I've some questions:

- Are there no problems making /var (and /var/cache) and /tmp symlinks to another partition? (Would it decrease performance?) I think I read that kernel2.4 has a new feature for mounting stuff in a new way, but I don't remember exactly. Could it help against using symlinks?

- Getting it right for the boot process (should I make / reiser or ext2?): I assume I need to have /etc, /bin and /sbin on the root partition. What about /usr? Is there no problem mounting /var and /tmp later? What about /boot: if using lilo, /boot doesn't have to be in place while booting, does it?

As a related question: besides disks, are there other pieces of the computer you can put to sleep on a server?

Christian.



Reply to: