Hi,

I think your permissions are correct, mine seem to be the same. The only difference is on both machines /var/snd is owned by nobody:nogroup.

When I touch a file I get the same:

-rw-r--r-- nobody nogroup

Is it worth chown -R nobody:nogroup and see how that works?

Wayne Merricks
The Voice Asia

On 24/04/14 12:30, Tom Dawson wrote:
Thanks - I meant to include user information - d'oh!

The users on both systems match perfectly:

uid=1000(fantasy) gid=1000(fantasy) groups=4(adm),20(dialout),24(cdrom),29(audio),46(plugdev),105(lpadmin),119(admin),124(rivendell),126(sambashare),1000(fantasy)
Running 'touch file' on either system creates a file with the same permisions:

-rw-r--r-- 1 fantasy fantasy       0 2014-04-24 12:05 touchfile

And the permissions of /var/snd are the same on both systems too:

drwxrwxrwx  3 fantasy fantasy 140K 2014-04-24 12:05 snd
/etc/rd.conf is identical on both machines too.

I have just tried creating a file on system1, it has the permissions '-rw-r--r-- 1 fantasy fantasy' - but when moving this file to /var/snd it has the permissions '-rw-r--r-- 1 nobody nogroup'. Could this be the issue? How can I make sure that new files are created as fantasy fantasy?

Wayne - tried your exports and fstab entries, no joy I'm afraid.

Thanks,
Tom Dawson
FANTASY RADIO
www.fantasyradio.co.uk


On 23/04/2014 16:50, Wayne Merricks wrote:
Hi,

This probably won't be the solution but I've always used the following:

/var/snd 192.168.1.0/255.255.255.0(rw,sync,all_squash,subtree_check)

and

192.168.1.101:/var/snd /var/snd nfs rsize=32768,wsize=32768,timeo=14,intr

Wayne Merricks
The Voice Asia

On 23/04/14 14:59, Tom Dawson wrote:
Hello all,

I appreciate this is probably more of a Linux/NFS issue, but I would appreciate any assistance.

I have a RRABuntu Rivendell machine (FR-PLAYOUT1) running MySQL and /var/snd which I want to share to another machine (FR-PLAYOUT2). MySQL is running fine as I can access RDAdmin and modify the library from FR-PLAYOUT2. I can also play audio in RDAirPlay - FR-PLAYOUT2 can read the files from FR-PLAYOUT1 just fine. The problem comes when trying to import audio on FR-PLAYOUT2, writing to /var/snd across the network.

Here's the line in /etc/exports on FR-PLAYOUT1 (192.168.1.101):

/var/snd 192.168.1.0/255.255.255.0(rw,root_squash,sync)

And here's the line in /etc/fstab on FR-PLAYOUT2 (192.168.1.102):

192.168.1.101:/var/snd /var/snd nfs defaults 0 0

Whenever attempting to write to /var/snd on FR-PLAYOUT2 the whole machine just freezes. The only solution is to restart the machine. However, if I terminal to /var/snd and run 'touch test', it writes that file just fine. I can also use nano to modify 'test', write some stuff inside, and this is saved OK, readable from both machines.

I would very much appreciate any assistance anyone can give! I have used these exact lines in exports and fstab on another setup without issue - I'm just so confused why it isn't working this time.

Many thanks
Tom Dawson
FANTASY RADIO
www.fantasyradio.co.uk
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to