From owner-freebsd-questions Wed Jun 17 05:24:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA10506 for freebsd-questions-outgoing; Wed, 17 Jun 1998 05:24:23 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA10497 for ; Wed, 17 Jun 1998 05:24:18 -0700 (PDT) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.7/8.8.7) id HAA09213; Wed, 17 Jun 1998 07:23:08 -0500 (CDT) From: "Paul T. Root" Message-Id: <199806171223.HAA09213@horton.iaces.com> Subject: Re: adding drive & filesystem facelift To: djv@bedford.net Date: Wed, 17 Jun 1998 07:23:08 -0500 (CDT) Cc: dave@gregory.dyn.ml.org, questions@FreeBSD.ORG In-Reply-To: <199806170842.EAA23977@lucy.bedford.net> from CyberPeasant at "Jun 17, 98 04:42:10 am" X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In a previous message, CyberPeasant said: > Dave wrote > > > > As I am finding myself running out of /var and swap space, I would like to > > redo my current setup. I have a 3 Gigger and 850 meg: > > > > #df -k > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/wd0s1a 31775 16754 12479 57% / > > /dev/wd0s1f 2864414 967950 1667311 37% /usr > > /dev/wd0s1e 29727 12828 14521 47% /var > > procfs 4 4 0 100% /proc > > /dev/wd2c 805199 155051 585733 21% /usr/src > > Secondly, what the heck to I do about the old /var currently mounted on > > /dev/wd0s1e? I really want to avoid repartioning that drive. > > Well, that depends. It's only 1% of the drive. you could just forget > it. It looks like it borders on the high end of swap. Maybe you > could use more swap on that drive. (Boot single user, and use > disklabel -e to enlarge the swap parition. Carefully :) You could > remount it on /root, maybe. /tmp is another likely candidate. Yeah. > Mount it on /tmp is my vote. maybe / could be mounted read-only in > this case. You can't mount / ro. Things are written to /etc (passwords, etc). > Here's a question for someone else: if you duped / onto it, could you > make it boot (as an emergency measure) from that partition? This can be > /quite/ handy for standalone use, or if wd0s1a gets corrupted. Make a > small self-contained BSD in it. 0:wd(0,e)/kernel Should work nicely. You'd need to adjust the fstab on the e partition and probably a couple of other things. However, I'd have swap swallow up that space and then mfs /tmp. -- Few women admit their age. Few men act theirs. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message