[Voyage-linux] periodic sync'ing from tmpfs to flash
Jeff Ramin
(spam-protected)
Mon Jan 31 22:09:50 HKT 2011
Thanks Punky - I'll give that a shot.
Is anybody else doing this? Any problems doing it with running processes?
On 01/30/2011 07:32 PM, Punky wrote:
> Try:
>
> remountrw
> /etc/init.d/voyage-sync sync
>
> On Sat, Jan 29, 2011 at 12:37 AM, Jeff Ramin<jeff.ramin at singlewire.com> wrote:
>> Hi folks.
>>
>> I'm running voyage on an Alix board, using flash as the storage system.
>> I've successfully configured voyage and my app to run in ro mode by
>> editing /etc/default/voyage-util (I added the directories my app needs to
>> write to).
>>
>> Everything is great, although I want to protect against losing data in
>> memory if the machine is not shut down cleanly. The scripts in /etc/init.d
>> do a great job of sync'ing data from memory to disk(flash) when the
>> machine is shut down.
>>
>> I'm thinking about occasional syncs. Does this pose any problems w/
>> running apps actively writing to a tmpfs? What are the recommended
>> best practices for how to achieve this?
>>
>> Thanks!
--
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