[Voyage-linux] small snag
Nishant Sharma
(spam-protected)
Thu Nov 10 12:49:33 HKT 2011
Thumbdrive is again made up of flash, usually MLC flash which has much
lower rewrite life as compared to a CF card which uses SLC flash.
Best way is to add your DB directory to voyage's sync/RW dirs, and it
will keep those dirs in RAM with RW access. Cron job to sync these
dirs will ensure data gets written as frequent you want.
Downside is, you may feel dearth of RAM if your DB outgrows available RAM.
-Nishant
On 11/10/11, Richard E Neese <r.neese at gmail.com> wrote:
> On 11/9/11 10:17 PM, Kevin Wang wrote:
>> From Richard E Neese
>>> ok I got everything up and working but I have 1 small issue
>>>
>>> when I login tot he gui and try to configure my application its not
>>> outputting files and writing to the database because the sysem is in ro,
>>> how do I make it so my apps data can always be saved ?
>>>
>>> is there a special switch ?
>> remember there is a limited number of writes to flash memory.
>>
>> You could tell the system to remountrw on every boot, but that decreases
>> security and increases the speed at which your limited flash writes will
>> get exhausted.
>>
>> Look at the mailing list archives for "voyage-sync"
>>
>> There are hooks in this startup and shutdown script to write the data to
>> flash infrequently (on bootup/shutdown). and you could add a cron job
>> to make it sync daily, to limit how quickly you exhaust your limited
>> flash writes.
>>
>> frequency depends on how much data you're willing to lose to a server
>> crash/power outage.
>>
>> Note that if it's a real database, you'll have to either dump or shut
>> down the database first.
>>
>> - Kevin
> what about puting the os on the dom and the data goes on a thumbdrive
> how would I make it sync the data onto the drive to the dom so there is
> a backup to reload if needed
> ?
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
--
Sent from my mobile device
Unmukti
Embedding FOSS in your life
http://unmukti.in
More information about the Voyage-linux
mailing list