Re: Mounting a CD-ROM Remotely

From: Mary Deane (fclmmd@NERSP.NERDC.UFL.EDU)
Date: Tue Oct 28 2003 - 20:19:56 EST


You should exportfs -ro and then nfs mount on the remote host as ro. Nfs
gets huffy if you try to mount non-writable media as rw.

Cheers
Mary

On Tue, 28 Oct 2003, Karl Jones wrote:

> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> After a 'successful' mounting of a remote cdrom, I get an empty directory
> remotely and a full one locally.
>
> Suggestions?
>
> -----remote system -----
> # exportfs
> /cdrom -rw
> # umount /cdrom
> # mount /cdrom
> # ls /cdrom
> .Version bosinst.data ppc usr
> OSLEVEL image.data root
> # mount
> node mounted mounted over vfs date options
> -------- --------------- --------------- ------ ------------ -------------
> --
> [snip]
> /dev/cd0 /cdrom cdrfs Oct 28 17:20 ro
> #
> # lslpp -l bos.net.nfs.client
> Fileset Level State Description
> --------------------------------------------------------------------------
> --
> Path: /usr/lib/objrepos
> bos.net.nfs.client 4.3.3.75 COMMITTED Network File System Client
>
> Path: /etc/objrepos
> bos.net.nfs.client 4.3.3.75 COMMITTED Network File System Client
> #
> # lslpp -l bos.net.nfs.server
> Fileset Level State Description
> --------------------------------------------------------------------------
> --
> Path: /usr/lib/objrepos
> bos.net.nfs.server 4.3.3.10 COMMITTED Network File System Server
> #
>
> ------local system-------
> ==(when remote /cdrom is mounted)==
> # mount -r remoteaix:/cdrom /cdrom
> mount: 1831-011 access denied for remoteaix:/cdrom
> mount: 1831-008 giving up on:
> remoteaix:/cdrom
> The file access permissions do not allow the specified action.
> ==(when remote /cdrom is unmounted)==
> # mount -r remoteaix:/cdrom /cdrom
> ==(both before and after remote /cdrom is remounted)==
> # ls /cdrom
> # mount
> node mounted mounted over vfs date options
> -------- --------------- --------------- ------ ------------ -------------
> --
> [snip]
> remoteaix /cdrom /cdrom nfsv3 Oct 28 17:17 ro
> #
> # lslpp -l bos.net.nfs.client
> Fileset Level State Description
> --------------------------------------------------------------------------
> --
> Path: /usr/lib/objrepos
> bos.net.nfs.client 4.3.3.78 COMMITTED Network File System Client
>
> Path: /etc/objrepos
> bos.net.nfs.client 4.3.3.78 COMMITTED Network File System Client
> #
>



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:19 EDT