NFS puzzle
Gerald Combs
gerald at ethereal.com
Fri Jun 6 02:19:19 CDT 2003
In the exports(5) man page on one of my systems the "nohide" section says
The nohide option is currently only effective on single host
exports. It does not work reliably with netgroup, subnet, or
wildcard exports.
You might try changing your exports to match a specific host or exporting
(and mounting) /mnt/iso/mdk91.1 explicitly.
Jonathan Hutchins wrote:
> I have mounted some iso images using loopback, then exported those mounts to
> nfs. Trouble is, I can't see any contents.
>
> Entry in /etc/fstab:
>
> /usr/images/Mandrake91-cd1-inst.i586.iso /mnt/iso/mdk91.1 iso9660
> ro,loop,auto,unhide
>
> Entries in /etc/exports:
>
> /mnt/iso *(ro,insecure,nohide,all_squash)
> /usr/share *(ro,insecure,nohide,all_squash)
>
> # ls -l /usr/images
> -rwxrwxrwx 1 root root 682164224 Apr 4 10:59
> Mandrake91-cd1-inst.i586.iso
>
> # ls -l /mnt/iso/
> dr-xr-xr-x 9 root root 4096 Mar 17 10:05 mdk91.1
>
> # ls -l /mnt/iso/mdk91.1
> -r--r--r-- 10 root root 65 Sep 1 2000 autorun.inf
> -r--r--r-- 9 root root 18393 Aug 16 2001 COPYING
> dr-xr-xr-x 3 root root 2048 Mar 17 10:05 doc
> ...
>
> # mount -t nfs mercury:/mnt/iso /mnt/images
> # ls /mnt/images
> mdk91.1
> # ls /mnt/images/mdk91.1/
> # (nothing returned)
> # umount /mnt/images
> # mount -t nfs mercury:/usr/share /mnt/images
> # ls /mnt/images
> # (returns listing)
> # ls /mnt/images/a2ps
> # (returns listing)
>
> What am I doing wrong here?
More information about the Kclug
mailing list