<HTML>
<HEAD>
<TITLE>Re: AW: [Voyage-linux] Using the FS</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Hermann,<BR>
<BR>
Thanks a great deal, that explains things perfectly. I now have this working :-)<BR>
<BR>
Thanks for your help and work on this.<BR>
<BR>
Robert<BR>
<BR>
<BR>
On 23/08/2010 16:07, "Hofer, Hermann" <<a href="h.hofer@ahsnet.de">h.hofer@ahsnet.de</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Robert,<BR>
<BR>
please take a look at:  <a href="http://wiki.voyage.hk/dokuwiki/doku.php?id=rw_ro">http://wiki.voyage.hk/dokuwiki/doku.php?id=rw_ro</a><BR>
<BR>
Hermann<BR>
<BR>
-----Ursprüngliche Nachricht-----<BR>
Von: <a href="voyage-linux-bounces+h.hofer=ahsnet.de@list.voyage.hk">voyage-linux-bounces+h.hofer=ahsnet.de@list.voyage.hk</a> [<a href="mailto:voyage-linux-bounces+h.hofer=ahsnet.de@list.voyage.hk">mailto:voyage-linux-bounces+h.hofer=ahsnet.de@list.voyage.hk</a>] Im Auftrag von Robert<BR>
Gesendet: Montag, 23. August 2010 16:03<BR>
An: Jordi Soucheiron<BR>
Cc: <a href="voyage-linux@voyage.hk">voyage-linux@voyage.hk</a><BR>
Betreff: Re: [Voyage-linux] Using the FS<BR>
<BR>
Hi Jordi,<BR>
<BR>
I've been testing this method this afternoon and don't seem to be getting the results I'm looking for.<BR>
<BR>
I create a file, like so: touch /var/log/mylogfile.log<BR>
<BR>
I then run the sync command:<BR>
remountrw<BR>
/etc/init.d/voyage-sync sync<BR>
remountro<BR>
<BR>
I then disconnect the power, to simulate a power failure / watchdog reboot and the file doesn't remain on the system, it's gone.<BR>
<BR>
Can you offer any more insight / help.<BR>
<BR>
Thanks,<BR>
<BR>
Robert<BR>
<BR>
On 23/08/2010 09:46, "Jordi Soucheiron" <<a href="jsoucheiron@dexmatech.com">jsoucheiron@dexmatech.com</a>> wrote:<BR>
<BR>
<BR>
<BR>
        I have a file in /etc/cron.hourly like this:<BR>
       <BR>
        #!/bin/bash<BR>
        /etc/init.d/voyage-sync sync<BR>
        Jordi Soucheiron<BR>
        Software Engineer<BR>
       <BR>
        DEXMA<BR>
        Parc Tecnològic la Salle<BR>
        Sant Joan de la Salle, 42<BR>
        08022 Barcelona<BR>
        t/f: [+34] 93 181 01 96<BR>
        www.dexmatech.com <<a href="http://www.dexmatech.com">http://www.dexmatech.com</a>><BR>
        <a href="jsoucheiron@dexmatech.com">jsoucheiron@dexmatech.com</a><BR>
        2010/8/20 Robert <<a href="Robert@supporttime.com">Robert@supporttime.com</a>><BR>
       <BR>
<BR>
                Hey Jordi,<BR>
               <BR>
                Thanks for your tip! That sounds like a great solution to the problem and will work perfectly for me!<BR>
               <BR>
                I don't suppose you have an example of the script you can share with me?<BR>
               <BR>
                And i assume you are scheduling the script hourly with cron?<BR>
               <BR>
                Thanks mate.<BR>
               <BR>
                Rob<BR>
               <BR>
                Sent from my iPhone<BR>
               <BR>
                On 20 Aug 2010, at 07:39, Jordi Soucheiron <<a href="jsoucheiron@dexmatech.com">jsoucheiron@dexmatech.com</a>> wrote:<BR>
               <BR>
               <BR>
<BR>
                        Hi Robert,<BR>
                        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)<BR>
                       <BR>
                        2010/8/19 Punky Tse < <<a href="mailto:punkytse@punknix.com">mailto:punkytse@punknix.com</a>> <a href="punkytse@punknix.com">punkytse@punknix.com</a>><BR>
                       <BR>
<BR>
                                 Hi Robert,<BR>
                               <BR>
                                My suggestion would be looking into /etc/init.d/voyage-sync and /etc/default/voyage-util<BR>
                               <BR>
                                Regards,<BR>
                                Punky<BR>
                               <BR>
                               <BR>
                                On 19/8/2010 20:43, Robert wrote:<BR>
                               <BR>
<BR>
                                        Hello Guys,<BR>
                                       <BR>
                                        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.<BR>
                                       <BR>
                                        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.<BR>
                                       <BR>
                                        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.<BR>
                                       <BR>
                                        What is the best way to achieve this?<BR>
                                       <BR>
                                        Thanks,<BR>
                                       <BR>
                                        Robert<BR>
                                       <BR>
                                       <BR>
                                        _______________________________________________<BR>
                                        Voyage-linux mailing list<BR>
                                         <<a href="mailto:Voyage-linux@list.voyage.hk">mailto:Voyage-linux@list.voyage.hk</a>> <a href="Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><BR>
                                         <<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a>> <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><BR>
                                       <BR>
<BR>
                               <BR>
                               <BR>
                                _______________________________________________<BR>
                                Voyage-linux mailing list<BR>
                                 <<a href="mailto:Voyage-linux@list.voyage.hk">mailto:Voyage-linux@list.voyage.hk</a>> <a href="Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><BR>
                                 <<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a>> <a href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><BR>
                               <BR>
<BR>
                       <BR>
                       <BR>
<BR>
       <BR>
       <BR>
       <BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>