All of lore.kernel.org
 help / color / mirror / Atom feed
* Mounting DVDs via NFS problem
@ 2006-01-22 17:52 Piers Kittel
  0 siblings, 0 replies; 3+ messages in thread
From: Piers Kittel @ 2006-01-22 17:52 UTC (permalink / raw)
  To: nfs

Hello all,

Am trying to mount a DVD drive via NFS and am having problems.  For
note, 192.168.1.2 (hostname - destiny) is the client and 192.168.1.15
(hostname - mythtv) is the server.

I have this in my /etc/exports:

/media/cdrom0 192.168.1.2(ro,sync)

and 192.168.1.2 is in the /etc/hosts.allow.

If the DVD is not mounted, it works perfectly fine:

destiny:/mnt# mount mythtv:/media/cdrom0 /mnt/mythtv
destiny:/mnt# df
Filesystem           1K-blocks      Used Available Use% Mounted on
<snip>
mythtv:/media/cdrom0   1829192   1547128    184472  90% /mnt/mythtv
destiny:/mnt#

If I unmount the above, and then mount the DVD on mythtv:

mythtv:/home/piers# mount /cdrom
mythtv:/home/piers#

and try again on destiny, I get:

destiny:/# mount mythtv:/media/cdrom0 /mnt/mythtv
mount: mythtv:/media/cdrom0 failed, reason given by server: Permission
denied
destiny:/#

and in the logs, I get:

Jan 21 21:57:08 localhost kernel: UDF-fs INFO UDF 0.9.8.1 (2004/29/09)
Mounting volume 'FIREFLY_D3', timestamp 2003/09/08 20:08 (1000)
Jan 21 21:57:39 localhost rpc.mountd: authenticated mount request from
destiny.10sca.intranet:923 for /media/cdrom0 (/media/cdrom0)
Jan 21 21:57:39 localhost rpc.mountd: getfh failed: Operation not permitted

I've googled for a long time with the last message but I can't find any
help anywhere.

I've tried this on my 2 Macs but had the exact same problem:

Jan 21 20:34:55 localhost rpc.mountd: authenticated mount request from
ukyo.10sca.intranet:982 for /media/cdrom0 (/media/cdrom0)
Jan 21 20:34:55 localhost rpc.mountd: getfh failed: Operation not permitted
Jan 21 21:29:59 localhost rpc.mountd: authenticated mount request from
akane.10sca.intranet:972 for /media/cdrom0 (/media/cdrom0)
Jan 21 21:29:59 localhost rpc.mountd: getfh failed: Operation not permitted

I'm hoping you guys can tell me what I'm doing wrong here?

Thanks very much in advance!

Cheers - Piers


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Mounting DVDs via NFS problem
@ 2006-01-22 17:53 Piers Kittel
  2006-01-23  2:54 ` Neil Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Piers Kittel @ 2006-01-22 17:53 UTC (permalink / raw)
  To: nfs

Hello all,

Am trying to mount a DVD drive via NFS and am having problems.  For
note, 192.168.1.2 (hostname - destiny) is the client and 192.168.1.15
(hostname - mythtv) is the server.

I have this in my /etc/exports:

/media/cdrom0 192.168.1.2(ro,sync)

and 192.168.1.2 is in the /etc/hosts.allow.

If the DVD is not mounted, it works perfectly fine:

destiny:/mnt# mount mythtv:/media/cdrom0 /mnt/mythtv
destiny:/mnt# df
Filesystem           1K-blocks      Used Available Use% Mounted on
<snip>
mythtv:/media/cdrom0   1829192   1547128    184472  90% /mnt/mythtv
destiny:/mnt#

If I unmount the above, and then mount the DVD on mythtv:

mythtv:/home/piers# mount /cdrom
mythtv:/home/piers#

and try again on destiny, I get:

destiny:/# mount mythtv:/media/cdrom0 /mnt/mythtv
mount: mythtv:/media/cdrom0 failed, reason given by server: Permission
denied
destiny:/#

and in the logs, I get:

Jan 21 21:57:08 localhost kernel: UDF-fs INFO UDF 0.9.8.1 (2004/29/09)
Mounting volume 'FIREFLY_D3', timestamp 2003/09/08 20:08 (1000)
Jan 21 21:57:39 localhost rpc.mountd: authenticated mount request from
destiny.10sca.intranet:923 for /media/cdrom0 (/media/cdrom0)
Jan 21 21:57:39 localhost rpc.mountd: getfh failed: Operation not permitted

I've googled for a long time with the last message but I can't find any
help anywhere.

I've tried this on my 2 Macs but had the exact same problem:

Jan 21 20:34:55 localhost rpc.mountd: authenticated mount request from
ukyo.10sca.intranet:982 for /media/cdrom0 (/media/cdrom0)
Jan 21 20:34:55 localhost rpc.mountd: getfh failed: Operation not permitted
Jan 21 21:29:59 localhost rpc.mountd: authenticated mount request from
akane.10sca.intranet:972 for /media/cdrom0 (/media/cdrom0)
Jan 21 21:29:59 localhost rpc.mountd: getfh failed: Operation not permitted

I'm hoping you guys can tell me what I'm doing wrong here?

Thanks very much in advance!

Cheers - Piers


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-23  2:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-22 17:52 Mounting DVDs via NFS problem Piers Kittel
  -- strict thread matches above, loose matches on Subject: below --
2006-01-22 17:53 Piers Kittel
2006-01-23  2:54 ` Neil Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.