Jeremy Schaeffer wrote:

> I did everything in the NFS Howto and looked over the NFS man pages and
> nowhere do I find a solution. I get the same results on every machine. I
> can mount any mount point other than / (root). Thanks!!

When nfs was moved into the kernel (knfsd) it became impossible to
mount a remote root directory, for security reasons, they said. 
After mounting, it also became impossible to see stuff beyond a
remote mount point (kfm only shows a blank).

The morals are:

1. No mounting of remote root directories.  For a system backup (say)
from a remote machine you must export and mount separately bin/ etc/
boot/ home/ opt/ root/ usr/ dev/ lib/ misc/       sbin/ var/ and tar
from each to a separate tar file, which is much safer than just one
huge tar file and avoids tryng to tar from /proc, /dev, or /mnt.  
Only the latest tar will successfully backup and restore
/dev.           

2. This new kernel nfs will not traverse over remote mount points,
but you can mount an export located beyond or at the remote mount
point, even if it involves a change of filesystem type, so there is
no overall functional restriction.       This means you have to set
up exports and mount points and fstab entries explicitly for each
remote file system directory or mounted mount point you want to mount
as an export.   This actually is much safer, although it leads to
longer exports lists.  To fix this was on the to-do list for kernel
2.2 - in kernel 2.4 this may be relaxed.

An alternative for you might be to not use the kernel knfsd but use
the older user-space nfs, if it is still distributed by Mandrake or
you can obtain it.   It is of course slower, but suffers from neither
of these restrictions.


-- 
Regards,

Ron. [AU]

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to