combining partitions

Kent Stewart kstewart at owt.com
Tue Dec 30 10:58:31 PST 2003


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.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



More information about the freebsd-questions mailing list