Hi Robert,

please take a look at:  http://wiki.voyage.hk/dokuwiki/doku.php?id=rw_ro

Hermann

-----Ursprüngliche Nachricht-----
Von: [email protected] 
[mailto:[email protected]] Im Auftrag von 
Robert
Gesendet: Montag, 23. August 2010 16:03
An: Jordi Soucheiron
Cc: [email protected]
Betreff: Re: [Voyage-linux] Using the FS

Hi Jordi,

I've been testing this method this afternoon and don't seem to be getting the 
results I'm looking for.

I create a file, like so: touch /var/log/mylogfile.log

I then run the sync command:
remountrw
/etc/init.d/voyage-sync sync
remountro

I then disconnect the power, to simulate a power failure / watchdog reboot and 
the file doesn't remain on the system, it's gone.

Can you offer any more insight / help.

Thanks,

Robert

On 23/08/2010 09:46, "Jordi Soucheiron" <[email protected]> wrote:



        I have a file in /etc/cron.hourly like this:
        
        #!/bin/bash
        /etc/init.d/voyage-sync sync
        Jordi Soucheiron
        Software Engineer
        
        DEXMA
        Parc Tecnològic la Salle
        Sant Joan de la Salle, 42
        08022 Barcelona
        t/f: [+34] 93 181 01 96
        www.dexmatech.com <http://www.dexmatech.com> 
        [email protected]
        2010/8/20 Robert <[email protected]>
        

                Hey Jordi,
                
                Thanks for your tip! That sounds like a great solution to the 
problem and will work perfectly for me!
                
                I don't suppose you have an example of the script you can share 
with me?
                
                And i assume you are scheduling the script hourly with cron?
                
                Thanks mate.
                
                Rob
                
                Sent from my iPhone
                
                On 20 Aug 2010, at 07:39, Jordi Soucheiron 
<[email protected]> wrote:
                
                

                        Hi Robert,
                        I had a similar problem. What I did is to make a script 
that syncs the tmp and the real fs every hour. This way if data gets lost only 
the last hour of data is erased (that was enough for my application)
                        
                        2010/8/19 Punky Tse < <mailto:[email protected]> 
[email protected]>
                        

                                 Hi Robert,
                                
                                My suggestion would be looking into 
/etc/init.d/voyage-sync and /etc/default/voyage-util
                                
                                Regards,
                                Punky
                                
                                
                                On 19/8/2010 20:43, Robert wrote:
                                

                                        Hello Guys,
                                        
                                        I hope you are all well. It's been 
quite some time since I've done any work with Voyage but I now have a new 
project which it'll suit perfectly.
                                        
                                        I see we're now running a stable 
release of 0.6.5 which appears to have a bunch of changes to the way the FS is 
handled.
                                        
                                        The application in question writes to a 
few files which will need to be maintained on the disk in the event of a reboot 
/ power-loss.
                                        
                                        What is the best way to achieve this?
                                        
                                        Thanks,
                                        
                                        Robert
                                        
                                        
                                        
_______________________________________________
                                        Voyage-linux mailing list
                                         <mailto:[email protected]> 
[email protected]
                                         
<http://list.voyage.hk/mailman/listinfo/voyage-linux> 
http://list.voyage.hk/mailman/listinfo/voyage-linux
                                        

                                
                                
                                _______________________________________________
                                Voyage-linux mailing list
                                 <mailto:[email protected]> 
[email protected]
                                 
<http://list.voyage.hk/mailman/listinfo/voyage-linux> 
http://list.voyage.hk/mailman/listinfo/voyage-linux
                                

                        
                        

        
        
        


_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to