Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 1998 07:23:08 -0500 (CDT)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        djv@bedford.net
Cc:        dave@gregory.dyn.ml.org, questions@FreeBSD.ORG
Subject:   Re: adding drive & filesystem facelift
Message-ID:  <199806171223.HAA09213@horton.iaces.com>
In-Reply-To: <199806170842.EAA23977@lucy.bedford.net> from CyberPeasant at "Jun 17, 98 04:42:10 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806171223.HAA09213>