LinHES Forums
http://forum.linhes.org/

mplayer-resumer.pl nfs oddity
http://forum.linhes.org/viewtopic.php?f=6&t=17611
Page 1 of 1

Author:  Too Many Secrets [ Fri Jan 11, 2008 10:32 pm ]
Post subject:  mplayer-resumer.pl nfs oddity

Been using the resumer script and it works nicely. But recently I've changed some file locations and resumer now has a strange reaction. First the oddity.

Resumer works great on my SBE/FE unit, no problems. Resumer works on my MBE/FE unit, but it won't delete the resume file when the 5 second feature is called. ie it never restarts the video, but always resumes to the last location.

Now my system as it stands currently is a bit spread out. The MBE/FE only stores/shares recordings. The SBE/FE shares all videos via NFS. I've checked permissions and NFS mounts in exports, but I don't think it's a permission problem as I can write the last position to the .resume file.

However I see this in the FE log
Code:
Unable to open /myth/video/Movies_A-M/.APOLLO_13.vob.resume for writing at /usr/local/bin/mplayer-resumer.pl line 153.


Notice the (ro) [/mnt/TV & /mnt/terra shows the problem]
Code:
 cat /var/lib/nfs/etab                             
/mnt/ipodfeed *(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,acl,mapping=identity,anonuid=65534,anongid=65534)
/mnt/terra *(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,acl,mapping=identity,anonuid=65534,anongid=65534)
/mnt/TV *(ro,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,acl,mapping=identity,anonuid=65534,anongid=65534)


Yet... [/mnt/TV & /mnt/terra shows the problem]
Code:
cat /etc/exports                                   # /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync) hostname2(ro,sync)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/homes  gss/krb5i(rw,sync)
#
#/myth   *(rw)
#/myth 192.168.1.0/255.255.255.0(rw,no_root_squash,async)
/mnt/TV *       (rw)
/mnt/terra *    (rw,no_root_squash,async)
/mnt/ipodfeed * (rw,no_root_squash,async)


Note the NFS mounts are shared via sym-links. Also I ripped a DVD which goes to the MBE /video directory (local), from here I have no problem with resumer so the script itself isn't corrupt.

TIA

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/