Subject: Re: Use of exports...
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: James Graham <greywolf@siva.captech.com>
List: current-users
Date: 09/30/1996 12:19:24
Jason Thorpe sez:
# On Sat, 28 Sep 1996 09:51:25 -0500 (CDT)
# Peter Seebach <seebs@solon.com> wrote:
#
# > How is it possible to export a swap space to a client? mountd appears
# > to be explicitly checking for, and refusing to export, regular files; yet,
# > AFAICT, the only way a diskless client can get swap is by nfs-mounting it.
#
You can't export regular files, even under SunOS. You must export the
directory in which they live, and reference that.
Typically I have an /export directory, and paths for diskless boxes look
something like:
/export/<machine> The root directory for <machine>
/export/<machine>/swap A file on which swapping happens
And they are exported thus:
/export/<machine> -alldirs -maproot=0:10 <machine>
Or, under SunOS:
/export/machine -access=<machine>,root=<machine>
Hope this helps...
--*greywolf;