Mount remote cdrom by nfs
paul at city-fan.org
Mon Nov 8 08:57:27 UTC 2004
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 it seems to me that everything is ok with the nfs settings, but
> there must be a problem with the given permissions on mounting a local
> cdrom: /dev/cdrom /mnt/cdrom udf,iso9660 user,noauto,ro 0 0.
So you are trying to mount a remote directory as local:/mnt/cdrom when
there is already a CD-ROM mounted as local:/mnt/cdrom? Why are you
trying to do this? Why not just umount the local CD-ROM from /mnt/cdrom
before trying to do the NFS mount? Or mount the remote directory at a
different mount point, e.g.
# mkdir /mnt/nfs-cdrom
mount -r server:/mnt/cdrom /mnt/nfs-cdrom
Paul Howarth <paul at city-fan.org>
More information about the users