Diskless Client under 4.0

Brett Chapman steinmetz!gemed!sol!blc at uunet.uu.net
Tue Feb 28 18:45:11 AEST 1989


Len Evens wrote about adding swap space to /home for a new client.

I, too, fell into this same trap.  There should be a note in the
setup_client(8) man page (I'm sure there's a bug report somewhere even
though I can't seem to find it) stating that you cannot "double export"
directories.  The following warning appears in the EXPORTS(5) man page and
should appear at the end of setup_client(8):

WARNINGS
     You cannot export either a parent directory or  a  subdirec-
     tory  of  an  exported  directory  that  is  within the same
     filesystem.  It would be illegal, for  instance,  to  export
     both  /usr and /usr/local if both directories resided on the
     same disk partition.

In this case it means that you cannot export /home and /home/swap.  I am
not sure why, but I think it has to do with the server trying to keep
track of what's going on in swap twice - once as /home, and once as swap.
I am probably wrong, but that's the best explanation I have at this time.

I finally just had to decrease the swap space of the other client in the
/export/swap partion and add the new client with a small swap space.

The only other alternative would be if you had an extra partition laying
around :-) or a directory/partition that wasn't exported.

I do think that it would be nice if you could create swaps where ever
there was space.  Well, maybe in 4.0.2 (-:.

	Brett Chapman
	General Electric Medical Sys.
	uunet!steimetz!gemed!chapmanB
	sun!sunbrew!gemed!chapmanB



More information about the Comp.sys.sun mailing list