Mount remote cdrom by nfs
Nifty Hat Mitch
mitch48 at sbcglobal.net
Mon Nov 8 23:51:14 UTC 2004
On Mon, Nov 08, 2004 at 08:57:27AM +0000, Paul Howarth wrote:
> On Sun, 2004-11-07 at 16:33, Olaf Mueller wrote:
> > Adam Stokes wrote:
> > > did you export the cdrom device in /etc/exports?
> > Yes. And if /mnt/cdrom is not mounted on this host, I can access the
> > path /mnt/cdrom by nfs. But if the CD is in the drive and the drive is
> > mounted, I can't access it by nfs.
> So you are trying to mount a remote directory as local:/mnt/cdrom when
> # mkdir /mnt/nfs-cdrom
> mount -r server:/mnt/cdrom /mnt/nfs-cdrom
If you are attempting to mount the mounted filesystem things
could get strange as the host system does it's thing.
Perhaps export /mnt then nfs mount /mnt.
With that done the local mounting and unmounting of
the CDROM could look like adding and deleting
a directory not a filesystem.
It is unclear to me what happens with NFS when the exported dir
vanishes and reapears.
There is always some confusion if you have a file in a dir
open then mount a filesystem on top of it.
T o m M i t c h e l l
spam unwanted email.
SPAM, good eats, and a trademark of Hormel Foods.
More information about the users