Re: [RDD] problems with rsync backup

2012-08-30 Thread Gregg Wonderly
Certainly a surface/read error can cause unusual delays in getting the next block of data leading to stuttering behavior as you describe. Good luck with the other disk. Gregg On Aug 30, 2012, at 5:49 PM, Robert Jeffares wrote: > for the moment I am at the 'dodgy disk drive' solution. > > I

Re: [RDD] problems with rsync backup

2012-08-30 Thread Robert Jeffares
for the moment I am at the 'dodgy disk drive' solution. I think the problem is a drive with some wear and tear after four years of use. I am going to take the main system off line tonight, run from the backup and explore a few possibilities. dmseg had some comments about sdb which lead me to bel

Re: [RDD] problems with rsync backup

2012-08-30 Thread Gregg Wonderly
Are there file access notifications being used in Rivendell? Would the update of the "last access time" on the file that you are copying from, cause Rivendell to stop a thread of execution to see what was going on? I have not looked at the source of any of the rivendell pieces in depth yet to

Re: [RDD] problems with rsync backup

2012-08-29 Thread Robert Jeffares
On Wed, 2012-08-29 at 21:31 -0500, Gregg Wonderly wrote: > What do you see in the /var/log/messages system log files? > > Gregg > _ nothing I can determine that is untoward That was the first place I looked. when the song playing is stopped; nothing is logged. then it starts again as if

Re: [RDD] problems with rsync backup

2012-08-29 Thread Gregg Wonderly
On Aug 29, 2012, at 6:26 PM, Robert Jeffares wrote: > Creating a copy of /var/snd on a backup machine using rsync while the > original machine is running rd [v2.x] the playout stops and the > rdairplay screen blanks. This happens every now and then. > ... > I am beginning to think it's one of t

Re: [RDD] problems with rsync backup

2012-08-29 Thread Wayne Merricks
Regards, Wayne -Original Message- From: rivendell-dev-boun...@lists.rivendellaudio.org on behalf of Robert Jeffares Sent: Thu 30/08/2012 00:26 To: User discussion about the Rivendell Radio Automation System Subject: [RDD] problems with rsync backup Creating a copy of /var/snd on a backup mach

[RDD] problems with rsync backup

2012-08-29 Thread Robert Jeffares
Creating a copy of /var/snd on a backup machine using rsync while the original machine is running rd [v2.x] the playout stops and the rdairplay screen blanks. This happens every now and then. At the same time rsync reports problems copying one of the files in /var/snd and says it's going to try ag

Re: [RDD] Problems with Rsync

2012-08-02 Thread Morten Krarup Nielsen
I just realized, that maybe I should keep it more simple: When the radio-host starts voice-tracking, all the events/sound-files he need, is already available to him, because the log was created the day before. Therefore I only need to sync the /var/snd folder before the radio-host starts voice-trac

Re: [RDD] Problems with Rsync

2012-08-01 Thread Robert Jeffares
On Wed, 2012-08-01 at 08:03 -0400, Rob Landry wrote: > It took a while to get this working reliably; the problem is not as > simple > as it looks at first glance. I have a similar setup with a central server and two remotes running rivendell. I export CUTS and CARTS during a window in which no u

Re: [RDD] Problems with Rsync

2012-08-01 Thread Rob Landry
On Tue, 31 Jul 2012, Morten Krarup Nielsen wrote: > Robert, I forgot to tell, that though the client machines are > connected through the open internet, they are connected to the local > network of the Rivendell server via VPN. So I thought that the clients > could be connected direct to the ser

Re: [RDD] Problems with Rsync

2012-08-01 Thread Rob Landry
On Tue, 31 Jul 2012, Morten Krarup Nielsen 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

Re: [RDD] Problems with Rsync

2012-07-31 Thread Robert Jeffares
On Tue, 2012-07-31 at 20:38 +0200, Morten Krarup Nielsen wrote: > Robert, I forgot to tell, that though the client machines are > connected through the open internet, they are connected to the local > network of the Rivendell server via VPN. So I thought that the clients > could be connected direct

Re: [RDD] Problems with Rsync

2012-07-31 Thread Morten Krarup Nielsen
Robert, I forgot to tell, that though the client machines are connected through the open internet, they are connected to the local network of the Rivendell server via VPN. So I thought that the clients could be connected direct to the server MySQL without any problems? It's only /var/snd that needs

Re: [RDD] Problems with Rsync

2012-07-31 Thread Robert Jeffares
Morten It's easy enough to rsync the /var/snd from one RD system to another but you also have to copy the MySQL database which contains all the data other then audio. If someone creates voice tracks on the remote system, you then need to reverse the process and update the local system both /var/sn

Re: [RDD] Problems with Rsync

2012-07-31 Thread Morten Krarup Nielsen
Thanks for your suggestions. I will try out GlusterFS or Csync. Someone wrote about Csync on this list a couple of months ago, so it has been used with Rivendell. A shame it isn't in the Centos repo. Kind regards, Morten 2012/7/31 Wayne Merricks : > Hi, > > I assume you've got both PCs hooked up

Re: [RDD] Problems with Rsync

2012-07-31 Thread Wayne Merricks
Hi, I assume you've got both PCs hooked up to the same database? Otherwise you would get all sorts of weird stuff going on. Anyway heres the second problem you will have, rsync is only one way (it gets really complicated if you're trying for a two way sync and has all sorts of problems as you'

Re: [RDD] Problems with Rsync

2012-07-31 Thread James Harrison
-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 goo

Re: [RDD] Problems with Rsync

2012-07-31 Thread Morten Krarup Nielsen
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

Re: [RDD] Problems with Rsync

2012-07-31 Thread Gregg Wonderly
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

[RDD] Problems with Rsync

2012-07-31 Thread Morten Krarup Nielsen
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 th