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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx




Relevant Pages

  • FC5 mounting issue with cdrom, dvd and usb memory stick.
    ... I have noticed in previous messages to the list that mounting of these devices ... went from FC3 to FC5 doing a complete new install. ... When I insert a dvd the desktop icon is called "DVD-ROM Disc" ...
    (Fedora)
  • Strange permissions mounting DVD under Fedora
    ... I just burned a data DVD on a Windows machine, ... mounting it on my Fedora Core 1 system. ... If I access the DVD as root, ...
    (comp.os.linux.setup)
  • Strange permissions mounting DVD under Fedora
    ... I just burned a data DVD on a Windows machine, ... mounting it on my Fedora Core 1 system. ... If I access the DVD as root, ...
    (comp.os.linux.misc)
  • Strange permissions mounting DVD under Fedora
    ... I just burned a data DVD on a Windows machine, ... mounting it on my Fedora Core 1 system. ... If I access the DVD as root, ...
    (comp.os.linux.hardware)
  • CDROM permissions
    ... We use a USB DVD burner on a SunBlade 150 running Solaris 8. ... When mounting a cdrom using this device, we have right permissions on the ... mountpoint (dr-xr-xr-x root root), but when mounting a dvd, only root is ...
    (comp.unix.solaris)