[mythtv-users] Mounting DVDs via NFS problem

Dag Nygren dag at newtech.fi
Mon Jan 23 11:31:47 UTC 2006


> Brilliant.  OK have read the manual and have done it, it's mounted under 
> proper username and groups:
> 
> mythtv:/media# mount -o umask=000,uid=1000,gid=24 /dev/hdc /cdrom
> mount: block device /dev/hdc is write-protected, mounting read-only
> mythtv:/media# ls -l
> total 2
> lrwxrwxrwx  1 root  cdrom  6 2005-06-07 19:30 cdrom -> cdrom0
> dr-xr-xr-x  3 piers cdrom 88 2003-09-08 21:08 cdrom0
> mythtv:/media#
> 
> Correct user and group, great, but it still doesn't work, showing:
> 
> Jan 23 11:20:14 localhost rpc.mountd: authenticated mount request from 
> akane.10sca.intranet:960 for /media/cdrom0 (/media/cdrom0)
> Jan 23 11:20:14 localhost rpc.mountd: getfh failed: Operation not permitted
> 
> Any ideas what I'm doing wrong now?

What kernel version are you using?
I have seen this happening a lot in earlier Linux:es.
The solution then was usually to re-export (exportfs -r) the filesystems AFTER
the local mount of the cdrom/DVD. In my current 2.6.14 it seems to
work without any problems though.

I am using this to update laptops from a common Mandriva DVD.

Dag



More information about the mythtv-users mailing list