I have installed FreeBSD 9.0-RELEASE on a 250GB HD, using UFS and the GPT scheme. I did not choose to use all the disk, as I wasn't sure I would keep using FreeBSD. However, I really like it, and I would like to use more of the disk for FreeBSD.
Here is the output of
And here is the output of
I would like to make my /usr/home partition bigger [but perhaps leave a few gigabytes free for a second OS - most likely PCBSD].
I don't have many packages installed, nor do I have much important data, so I realise a fresh install would probably be the most sensible / easiest approach.
However, the whole point of me using FreeBSD was to learn something, so I would prefer to try to manipulate the filesystem using tools such as growfs, gpart, fdisk, etc, if possible.
I have read all the man pages, plus a good few guides on the internet, but everything I have seen so far refers to slices and contains disk layouts such as:
And it seems to me I have no slices. Is this even possible?
The growfs man page says:
So my question is this:
With my current disk layout, is it possible to "grow" the /home partition?
Would it be possible to install a second UNIX-like OS on such a setup?
I'm not asking for a HOWTO but if someone could point me in the direction of some relevant documentation, it would be very much appreciated.
Here is the output of
% my df -h
:
Code:
Filesystem Size Used Avail Capacity Mounted on
/dev/ada0p2 3G 305M 2.4G 11% /
devfs 1.0k 1.0k 0B 100% /dev
/dev/ada0p4 3G 313M 2.4G 11% /var
/dev/ada0p5 3G 25M 2.7G 1% /tmp
/dev/ada0p6 9.9G 3.9G 5.2G 42% /usr
/dev/ada0p7 9.9G 1.2G 7.9G 13% /usr/home
And here is the output of
% gpart show ada0
:
Code:
34 488394988 ada0 GPT (232G)
34 128 1 freebsd-boot (64k)
162 6291328 2 freebsd-ufs (3G)
6291490 6291456 3 freebsd-swap (3.0G)
12582946 6291456 4 freebsd-ufs (3.0G)
18874402 6291456 5 freebsd-ufs (3.0G)
25165858 20971520 6 freebsd-ufs (10G)
46137378 20971520 7 freebsd-ufs (10G)
67108898 421286124 - free - (200G)
I would like to make my /usr/home partition bigger [but perhaps leave a few gigabytes free for a second OS - most likely PCBSD].
I don't have many packages installed, nor do I have much important data, so I realise a fresh install would probably be the most sensible / easiest approach.
However, the whole point of me using FreeBSD was to learn something, so I would prefer to try to manipulate the filesystem using tools such as growfs, gpart, fdisk, etc, if possible.
I have read all the man pages, plus a good few guides on the internet, but everything I have seen so far refers to slices and contains disk layouts such as:
Code:
ad0s1a
ad0s1b
etc
And it seems to me I have no slices. Is this even possible?
The growfs man page says:
Code:
If you wish to grow a file system beyond the boundary of the slice it
resides in, you must re-size the slice using gpart(8) before running growfs.
So my question is this:
With my current disk layout, is it possible to "grow" the /home partition?
Would it be possible to install a second UNIX-like OS on such a setup?
I'm not asking for a HOWTO but if someone could point me in the direction of some relevant documentation, it would be very much appreciated.