miracu...@gmail.com (Thomas Huber), 2018.03.03 (Sat) 20:48 (CET):
> Hi,
> 
> can someone give me a recomendations for ffs mount options or further
> tuning to prevent file-system corruption on power-outage?
> 
> I run a PC-Engines APU2c3 with -stable in a rural place where power-outage
> takes place approx. once a month. Most of the time every things starts fine
> when power is back, but sometimes (now the third time in one year) I end up
> with an corrupted /var and I´ve to go to that place and do manual fsck_ffs
> which could always repair the fs.
> I already tried with the softdep option but it didn´t prevent fs-corruption.
> 
> $ mount
> /dev/sd0f on /var type ffs (local, nodev, nosuid)
> 
> 
> /var lives on a mSATA-SSD

*If* /var is mounted readwrite because of logging, consider logging to a
memory buffer. See syslog.conf(5). You can empty the memory buffer with
syslogc(8) and get the logs off the machine e.g. via ssh(1).

Marcus

Reply via email to