Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: mcvax!inria.inria.fr!news@uunet.uu.net (C'est le facteur (fnet)) Newsgroups: comp.sys.sun Subject: Saving space in /export/root (was: Sharing /tmp through NFS) Message-ID: <1223@inria.UUCP> Date: 8 Feb 89 08:43:40 GMT Sender: usenet@rice.edu Organization: GIP-Altair (IN2|INRIA|LRI) Lines: 30 Approved: Sun-Spots@rice.edu Original-Date: 28 Jan 89 12:11:51 GMT X-Sun-Spots-Digest: Volume 7, Issue 142, message 4 of 8 The root partition in 4.0 is NFS-mounted anyway, so the question about whether /tmp should be NFS-mounted is irrelevant. Moreover, since the clients' `root' partition is just a directory in the server's /export/root file system, there is no fragmentation -- /tmp's can expand as much as they want; well, more that they could under previous releases. But make sure your /etc/rc cleans up the local /tmp. Now for a space-saving tip. If more that one clients (on the same server) run the same kernel, the default condition is to have a copy of vmunix in each client's root partition/directory. So, for instance, if you have two machines called A and B, you would have /export/root/A/vmunix and /export/root/B/vmunix as two separate files. A better way to handle this is to have a single file called /export/root/VMUNIX (on the server), and then make /export/root/A/vmunix and /export/root/B/vmunix HARD links to it. When you have not two but ten machines on each server, the savings become significant. Also, this way you can afford to keep a generic kernel and a copy of kadb for each machine, without occupying any more space (well, a few bytes for the additional directory entry!). As an added benefit, if you modify the kernel, you only have to copy it once to /export/root/VMUNIX and it's automagically changed for all the clients. In our case, I have a VMUNIX.DL5060, VMUNIX.SDST60, VMUNIX.GENERIC and a KADB in /export/root on the servers; /vmunix is a hard link to the appropriate file, and there are additional entries like /vmunix.gen and /kadb on all the clients' partitions. Conceivably, this can also be done for the /dev and the /sbin directories easily, and for /etc with some extra work, but it's probably not worth it. /ji