combining partitions

Jesse Guardiani jesse at wingnet.net
Tue Dec 30 11:17:49 PST 2003


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.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net




More information about the freebsd-questions mailing list