len@rufus.math.nwu.edu (Len Evens) (03/02/89)
I previously reported a problem with adding a new client under OS 4.0 with the client's swap file in a directory created in /home. Thanks to Bill Gilroy's response, I looked carefully at the documentation for exportfs and discovered the source of my problem. The man page explicitly warns that you can't export a subdirectory in the same file system of something which was previously exported. Since I had previously decided to mount the client's home directory on /home on the server (to avoid duplication of home directories), /home was being exported, and since I had created a swap path named /home/swap, I was attempting to do just that. If I had followed the `rules' and put the clients /home directory in /home/client on the server, there presumably would have been no problem. I am still a bit perplexed about where if anywhere the client's swapping was going and why the error messages during booting didn't indicated more clearly that something was wrong. I eventually dealt with the problem by repartitioning the disk, but that is another story. Leonard Evens len@math.nwu.edu Department of Mathematics Northwestern University Evanston, IL 60208 312-491-5537 [[ That reminds me....one time when we set up a client with "setup_client", there wasn't enough room in /export/swap for the swap file we requested. Of course, "setup_client" didn't say anything and of course we tried to boot the client. Ever try to boot a machine with a swap space of zero size? Fun. --wnl ]]
erickson%glacier.ics.uci.edu@paris.ics.uci.edu (Gary Erickson) (03/11/89)
>That reminds me....one time when we set up a client with >"setup_client", there wasn't enough room in /export/swap for the swap file >we requested. Of course, "setup_client" didn't say anything and of course >we tried to boot the client. Ever try to boot a machine with a swap space >of zero size? Fun. --wnl What's even better, is when it tries to mount, it says: swap on server:/export/swap/ck1 fstype nfs size 0k. So we said, "Well, the size is ok. Why won't it boot?". Has anyone been able to make a swap file using the -n switch to mkfile? Gary University of California Irvine | (714) 856-4222 Information & Computer Science Dept. | erickson@ics.uci.edu (Internet) Support Group | ucbvax!ucivax!erickson (UUCP) | saericks@uci (Bitnet) -- Gary Scott Erickson [[ Yeah, that message was shortly followed by a Watchdog reset and a machine that was completely (I mean *completely*) locked up. We had to cycle power to it to even get the PROM monitor to talk to us. This was a 3/50. --wnl ]]
psykes@scotland.bbn.com (03/24/89)
> there wasn't enough room in /export/swap for the swap file >we requested. Of course, "setup_client" didn't say anything >and of course we tried to boot the client. The fun I remember from installing OS4.0 and setting up the clients is that I wanted to distribute the swap files over two disks : /export/swap and /export/swap1. The install program asked all the right questions got all the right answers and just over half way through complained there was not enough space in /export/swap. This is before it runs setup_client which may explain why the latter doesn't bother checking. It appeared to be adding the total size of the swap files I declared, assuming they were all in /export/swap and refusing to let me add more. I couldn't use install to add more than could be contained in /export/swap even if they were distributed in other partitions. I recited the usual incantations to the Gods of The Nearly-Right-Software and did the rest by hand. Pete Sykes BBN Systems & Technologies Scotland [[ Suninstall is certainly not the brightest thing on four wheels. Don't ever, ever, ever type ahead while running suninstall. If you do, you'll be sorry. --wnl ]]