View Single Post

   
  #1 (permalink)  
Old 02-18-2008, 11:54 AM
Giuliano
 
Posts: n/a
Default power loss safe system

Hi,
I'm building a linux firewall for my home lan. I use a 400MHz pc with a
128MB compact flash as hard disk and 32 MB of ram. I installed slack 9 and
it's wrking fine.
I need to do one more thing: I can't properly shutdown the system (I have
nothing attached to the system except for the two network cables and the
power cable). At this time I'm using ext2 (ext3 is not good for a CF flash
with a limited number of writes) and I have /usr mounted as loop and
read-only and /var,/tmp,/home and /root as ramdisks (1024 to 2048kb). All
logs are sent to a syslog server.
Is there some guide or some tips to avoid data corruption when the system
loses power ? I'd like to set every partition read-only (I need only a
subdirectory of the /etc to be writeable (rare event, just to modify the
firewall rules).


thanks in advance

giuliano


Reply With Quote