Hi folks,
I'm planning to make a small embedded gnu/linux box based on a Soekris board, but I'm not sure how to best protect against data loss. (Power may be lost without notice)
The box will be used for:
- collecting mail with POP3, running an IMAP server
- storing music, available via NFS
- running slimserver
- storing other data, available via NFS
Are there any major gaps in the following plan?
- read-only root fs on a compactflash card, data on a large 2.5" hdd
- use reiserfs for the "maildir" partition
- use ext3 for "music and other data" partition, using "data=journal"
- mount all partitions with the "sync" option
- turn off the hdd write cache with "hdparm -W0" (hmmm, hdparm docs say this is "dangerous"!)
- have the hdd spin-down after a few minutes to reduce power consumption and noise
- regularly backup to someplace else with rsync
Ideally, I'd like to be able to yank the power cord without a clean shutdown and still be confident that the data is sound.
Thanks in advance for any input, Matthew