[Linux-disciples] Mounting within another mount point

Stephen R Laniel steve at laniels.org
Fri Aug 6 11:46:26 EDT 2004


On Fri, Aug 06, 2004 at 11:19:09AM -0400, Adam Rosi-Kessel wrote:
> Is /var on the client also a share?  You can't mount a share within a
> share.  You also can't have 'nested' NFS mounts--i.e., one system tries
> to export a directory that itself has NFS mounts within.

/var on the client is not a share; it's part of the local
filesystem, mounted via / .

> What are the errors you're getting when you try to mount the share?

slaniel at BlackThought:~$ sudo mount /var/log/apache
mount: mount point /var/log/apache does not exist

Even though /etc/fstab on the client reads, in relevant
part,

192.168.1.100:/var/log/apache	/var/log/apache	nfs	users,exec,ro,auto,rsize=8192,wsize=8192

and /etc/exports on the server reads

/var/log/apache 192.168.1.100/255.255.255.0(ro,no_root_squash,async)

I thought that it might be a permissions issue, because
/var/log/apache on the server has the following permissions:

drwxr-xr-x  2 root root 4096 2004-08-01 06:28 /var/log/apache/

But that shouldn't make a difference, should it?

-- 
``I therefore pass on this small question which may be of
  some amusement to those of our readership who indulge in
  either cannabis or value theory; the two groups may find
  it equally interesting.''
 -http://crookedtimber.org/archives/002277.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040806/2434eff2/attachment-0001.pgp


More information about the Linux-disciples mailing list