From owner-freebsd-questions Sun Apr 5 21:44:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA17925 for freebsd-questions-outgoing; Sun, 5 Apr 1998 21:44:37 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jason04.u.washington.edu (root@jason04.u.washington.edu [140.142.78.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA17919 for ; Sun, 5 Apr 1998 21:44:34 -0700 (PDT) (envelope-from jcwells@u.washington.edu) Received: from saul1.u.washington.edu (root@saul1.u.washington.edu [140.142.82.10]) by jason04.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with ESMTP id VAA10876; Sun, 5 Apr 1998 21:44:33 -0700 Received: from s8-37-26.student.washington.edu (S8-37-26.student.washington.edu [128.208.37.26]) by saul1.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.04) with SMTP id VAA28394; Sun, 5 Apr 1998 21:44:32 -0700 (PDT) Date: Sun, 5 Apr 1998 20:43:21 -0700 (PDT) From: "Jason C. Wells" X-Sender: jason@s8-37-26.student.washington.edu Reply-To: "Jason C. Wells" To: Chris Wianecki cc: freebsd-questions@FreeBSD.ORG Subject: Re: Dividing HD to partitions for FreeBSD In-Reply-To: <000701bd610b$96681520$34b3e6cd@pc1.perfekt.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 5 Apr 1998, Chris Wianecki wrote: > Hello, I am very new to FreeBSD, I have 4 gig HD and I installed the > HD to partitions during the installation of FreeBSD. I chosen > automatic assign, and what the install program set was / 30MB swap > 137MB /var 30MB /usr all the remaining space Everything would be fine > but I got lots of errors that /var has not enough space, I am How many users are on your system? If it is only you, then something is going on that is eating up that space. Are you storing files in '/var'? You should not. The same goes for '/'. The '/' partition should not grow in size very much at all. The biggest consumer of "variable" disc space under '/' is probably the '/etc' directory. All of the other files are pretty much unchanging. > suspecting that / dir would run our of free space pretty soon if it '/' should not run out of space per the above. Store all of your userland tarballs and such under '/usr'. I personally keep all of my distribution files under '/usr/ports' because that is where Jordan saw fit to put them. See 'man hier' for info on how and why the FreeBSD hierarchy is like it is. > didn't already. Can you advise me what is the best solution for the > partition sizes? I have 64mb of ram, so I understand that swap should > be like 128mb or 137 as it was chosen. I will probably want to > allocate 160MB, but I am not sure what I should do next, how much > aprox I should allocate for / or /usr or for /var also I want > something to be left for user directories as well if possible. Thank > you for your help. > > Chris For specific numbers listen to someone besides me. My answer was focused in on one small point that may not apply to you. Because you stated you were "new" to FreeBSD I jumped to a conclusion. Here is one consideration. If you have 100 users, and you want them to be allowed a 3MB mail spool file, then you should allot more than 300MB to '/var'. Have fun, | Stop warning me about the latest virus. Learn more... Jason Wells | http://ciac.llnl.gov/ciac/CIACHoaxes.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message