2015/08/08 22:25 "Quartz" <qua...@sneakertech.com>:
>>
>> Maybe I missed it, but if you supply the output of disklabel and df,
>> it would be easier to give advice.
>
>
> The machine isn't in front of me right now, but the partition setup was
using the 'wizard' defaults. In other words: /, /tmp, /var, /usr,
/usr/X11R6, /usr/local, /usr/src, /usr/obj, and /home, in that order. All
the usr's (except x11) and home are set for a couple gigs each but only
using a few hundred megs collectively. /var is a few hundred megs and close
to full.
>

(IIRC)

disklabel -h sd0 > mylabel.txt
df -h >> mylabel.txt
cat mylabel.txt | mail -s Repartitioning misc@openbsd.org

or something like that. (Maybe wd0 instead of sd0.) It really is easier to
communicate if we can talk about specifics.

> Nuking src and obj will free up a lot, but I think it would make more
sense to collapse all the usr stuff into just /usr, move home into where
var currently is, and move var into the new space.
>

So, use newfs. Once you have deleted your unused partitions, how you cut
the space it opens up is entirely up to you.

I have often found myself doing something like this. Reread the manual
pages , just to get your creative juices flowing.

du -S /var/*

will tell you which subdirectories of /var are good candidates for moving
off /var .

Virtualizing the problem child is also good, if you don't need to test the
old stuff on some actual piece of hardware, but playing with your
partitions is good practice, too.

--
Joel Rees

Reply via email to