-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Have you considered a distributed filesystem that implements client-side
caching, or that just simply works better than NFS? (Not difficult to
beat NFS, mind you...)

I've never tried GlusterFS for Rivendell but it might work quite well.
I've had good experience with it for image databases.

Cheers,
James Harrison

On 31/07/2012 17:16, Morten Krarup Nielsen wrote:
> When I discovered incomplete files on the client-pc, I was just
> importing a file or two on the server via RDlibrary - nothing fancy
> being done there. I guess I could add a sleep command to my script,
> but eventually I would be unlucky that Rsync on the client would
> conflict with some file operation on the server.
> Maybe Rsync isn't the way to go? What are other people using for
> syncing /var/snd between computers?
>
> Thank you.
>
> Kind regards,
> Morten
>
> 2012/7/31 Gregg Wonderly <[email protected]>:
>> Practically, I don't think it makes sense to do this continuously. A
sleep between runs of at least 5 seconds, will unload your machine so
that it can do other things, otherwise it will be quite busy starting
and stopping these processes.
>>
>> I'll let others talk about the specifics of Rivendell, as I'm still
getting up to speed on what interactions are between the parts of the
system. But, overall, if you are dropping files into the server with
simple file copies, with, potentially incomplete files existing on the
server, at the time that rsync runs, then it can create incomplete files
on the client.
>>
>> When I want to have filesystem synchronization like this going on, I
sometimes do things like copy to a different directory, on the same
filesystem, and then use "ssh" back to the server, and move (mv) all the
new files into the correct directory. Then, they will be complete,
because a "mv" on the same file system will be a link and unlink,
instead of a copy and remove.
>>
>> Are you populating the server directory with simple file
copy/creation operations which can cause incomplete files to be visible
to the rsync?
>>
>> Gregg Wonderly
>>
>> On Jul 31, 2012, at 9:27 AM, Morten Krarup Nielsen
<[email protected]> wrote:
>>
>>> Hi.
>>> I've installed the Paravel Broadcast CD on a PC which operates as a
>>> file-server and MySQL server for my Rivendell setup. I need two client
>>> machines to be able to voice-track. Since they're far far away, I
>>> thought of keeping a local backup of /var/snd on both client machines.
>>> I tried mounting the folder via NFS, but it was to slow to work with,
>>> I tried with a small Rsync-script which should run on the client. The
>>> thought was that it should run in a loop, so it always get new music
>>> from the server, and in the same time uploads voice-tracks to the
>>> file-server.
>>> However I get all kind of errors: Missing files on both sides, message
>>> showing "No energy data" in 'Edit markers' and so on.
>>> What should be the right approach to this?
>>>
>>> Thank you!
>>>
>>> Kind regards,
>>> Morten
>>>
>>> My small script:
>>>
>>> #!/bin/sh
>>> while true ;
>>> do
>>> #from server to client
>>> rsync -avz -e ssh [email protected]:/var/snd /var
>>> #from client to server
>>> rsync -avz -e ssh /var/snd [email protected]:/var/
>>> done
>>> _______________________________________________
>>> Rivendell-dev mailing list
>>> [email protected]
>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>
>> _______________________________________________
>> Rivendell-dev mailing list
>> [email protected]
>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iEYEARECAAYFAlAYBzUACgkQ22kkGnnJQAxeawCeLpyceD37dYJ4J6A4foK5c74K
5PYAoJ2F4rXIKaHnYuwQV7nItijj3CUm
=rI+J
-----END PGP SIGNATURE-----

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to