[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mounting DVDs via NFS problem



Andrew,

how can you mount a dvd over nfs if its not mounted on its local machine? Do these numbers above, as they come from destiny match the numbers if they are run on mythtv? IOW, are we looking at the same disk here?

This bit is just to test if I can acutally mount it, i.e. I'm running the right commands, it all works etc - this confirms the problem orginates from mounting the DVD itself. The numbers shows the hard drive sizes, as the cdrom directory is on the hard drive.

when you mount /cdrom on mythtv, do the permissions change? what is ls -l /cdrom when unmounted and mounted?

Yup you're correct, and have fixed this problem:

mythtv:/media# mount /cdrom
mythtv:/media# ls -l
total 2
lrwxrwxrwx  1 root       cdrom       6 2005-06-07 19:30 cdrom -> cdrom0
dr-xr-xr-x  3 4294967295 4294967295 88 2003-09-08 21:08 cdrom0
mythtv:/media#

but if I do the following:

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#

Works nicely, but still have the same problem:

Jan 23 11:23:13 localhost rpc.mountd: authenticated mount request from akane.10sca.intranet:956 for /media/cdrom0 (/media/cdrom0)
Jan 23 11:23:13 localhost rpc.mountd: getfh failed: Operation not permitted

Any ideas what I'm doing wrong?

Thanks very much for your help!

Regards - Piers



Reply to: