[Voyage-linux] periodic sync'ing from tmpfs to flash
Jeff Ramin
(spam-protected)
Sat Feb 5 03:34:39 HKT 2011
Do I need to change anything in /etc/default/voyage-util, or any other
config file? I'm using the script below, but if I remove power (as opposed
to shutting down), when the system comes back up, the data that was
written when / was mounted as read-only has been lost.
Thanks.
>
> On 01/31/2011 09:06 AM, Teco Boot wrote:
>> I use it, on daily (25dec2010).
>>
>> root at voyage:~# grep sync /etc/crontab
>> 10 0 * * * root /usr/local/sbin/sync-tmp-fs>> /var/log/daemon.log 2>&1
>>
>> root at voyage:~# cat /usr/local/sbin/sync-tmp-fs
>> #!/bin/sh
>> remountrw
>> /etc/init.d/voyage-sync sync
>> remountro
>>
>> No problems detected.
>> When a recovery takes place, system boots for second time.
>> Recovery is not recorded in syslog. Maybe voyage-sync should log
>> something in daemon.log or alternative.
>>
>> I'm using ext3. I'll keep fs readonly, but it is rw every now and
>> then. Ext3 better survives Murphy: failure during voyage-sync or
>> maintenance.
>>
>> Teco
>
--
Jeff Ramin
Software Engineer
Singlewire Software
2601 W Beltline Hwy #510
Madison, WI 53713
Phone Direct - 608.661.1172
www.singlewire.com
More information about the Voyage-linux
mailing list