Recursively export NFS file systems
Hi,
I want to export the whole file system of "zarathustra" via NFS to
"osiris". What I am currently doing is this:
aisotton@zarathustra:~$ cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/ osiris(ro,sync)
aisotton@zarathustra:~$
The problem is that when I mount / on osiris, it will not mount the
file systems which are mounted into / on zarathustra (for example
/usr, /var, /boot and so on). Of course I can do something like this
on zarathustra:
/ osiris(ro, sync)
/usr osiris(ro, sync)
/var osiris(ro, sync)
/boot osiris(ro, sync)
...
and then mount all of them by hand on osiris, but I'd like osiris not
to know about the file systems of the other machines. What I want is
to specify all the file systems which should be mounted by osiris in
the individual /etc/exports, WITHOUT osiris knowing anything about
that.
Can that be done? How?
Thanks.
--
Aaron Isotton
http://www.isotton.com/
My GPG Public Key: http://www.isotton.com/gpg-public-key
Reply to: