Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2003 18:05:03 -0600
From:      Darren <alias2@crotchett.com>
To:        jesse@wingnet.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: combining partitions
Message-ID:  <3FF212AF.1040608@crotchett.com>
In-Reply-To: <bssj0n$csa$1@sea.gmane.org>
References:  <3FF190B7.8030905@usmstudent.com> <200312301058.25742.kstewart@owt.com> <bssj0n$csa$1@sea.gmane.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Thanks all.

I just took the easy way out and copied my distfiles to /hd2 and then 
sym linked them back to /usr/ports.  See it now :)

scsibox# df -h
Filesystem    Size   Used  Avail Capacity  Mounted on
/dev/da0s1a   126M    38M    78M    33%    /
/dev/da1s1e   2.0G   1.3G   532M    72%    /hd2
/dev/da0s1f   252M   3.3M   229M     1%    /tmp
/dev/da0s1g   3.2G   1.5G   1.4G    51%    /usr
/dev/da0s1e   252M    68M   164M    29%    /var
procfs        4.0K   4.0K     0B   100%    /proc


Now, I must ask a dumb question.  Exactly what are distfiles?  I'm not a 
noobie to FreeBSD, relatively speaking.  It's just that once I set 
something up on FreeBSD, it just sits there and works.  I rarely have to 
muck around too much besides keeping the installed software up to date. 
    Although, I'm working on moving my win98se printer over to FreeBSD. 
  So, you may see me post again soon :).

TIA,
backdoc



Jesse Guardiani wrote:

> Kent Stewart wrote:
> 
> 
>>On Tuesday 30 December 2003 06:50 am, backdoc wrote:
>>
>>>I would like to combine the /hd2 and /usr partitions to one /new larger
>>>partition.
>>>
>>>Should I research vinum or should I be reading something else?
>>>
>>>I am running FreeBSD 4.6-RELEASE.
>>>
>>>My partition layout is:
>>>scsibox# df -h
>>>Filesystem    Size   Used  Avail Capacity  Mounted on
>>>/dev/da0s1a   126M    39M    77M    33%    /
>>>/dev/da1s1e   2.0G   185M   1.7G    10%    /hd2
>>>/dev/da0s1f   252M   4.7M   227M     2%    /tmp
>>>/dev/da0s1g   3.2G   2.9G    58M    98%    /usr
>>>/dev/da0s1e   252M    67M   165M    29%    /var
>>>procfs        4.0K   4.0K     0B   100%    /proc
>>>
>>
>>You would probably find it easier to determine what is eating up your disk
>>space and move that to /hd2. For example, my /usr/ports/distfiles runs
>>around 1.5 GB. Just moving distfiles to hd2 and linking it to
>>/usr/ports/distfiles would free up a lot of space. On one machine that I
>>don't use a lot of HD space, I mounted a 10 GB slice as /usr/ports.
> 
> 
> If you DO want to consolodate those partitions, you'll probably have to
> back them up using dump, delete both partitions, create the consolodated
> large partition, and then restore the backup.
> 



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?3FF212AF.1040608>