FreeBSD 9.3 new install problems ....

Roland Smith rsmith at
Sun Aug 3 00:08:07 UTC 2014

On Sat, Aug 02, 2014 at 04:08:13PM -0500, William A. Mahaffey III wrote:

> I like ZFS, but I decided that my puny little 25W 1.3 ghz CPU was gonna
> choke on checksums & not get anything else done, hence the switch back
> to UFS. I came up w/ a slightly hairbrained solution. I created a stripe
> of the 3 remaining 20 GB partitions, copied everything under /usr over
> to it, & plan to mount it as /usr. 1 question: as of now, /usr is taking
> up 1.1 GB out of 1.7 GB on my 20 GB root partition. With such a limited
> root FS, I want every available byte available for duty. Is there any
> way to delete what's under /usr on the fly before the mount of the /usr
> stripe to recover that space back for the rest of the install ? I have
> only done the base install as of now, will be installing X, XFCE, LXDE,
> & who knows what else ....

Probably the best way to go about that is to make dump(8)s of all filesystems
and save them on an external disk.

The start a live-CD, and using gpart(8) delete the partitions you think are
incorrectly sized, and create new ones with the correct sizes. If possible,
leave the boot partition alone and use the same parition for the same
filesystem as before.

For sizes, I tend to use the following;
/      500 MiB - 1 GiB
/usr   20 GiB
/var   3 GiB
/tmp   20 GiB

My /home partition gets the rest.

Use newfs to create new filesystems, and then use restore(8) to put all data

> P.S. sorry for me klutzy nomenclature, I am calling /dev/ada0p3 a
> partition, when as you correctly observe it is a device .... my bad, &
> maybe the source of confusion in my posts :-/ ....

No, you are correct; ada0 is the device, ada0p3 is a parition. It is just that
gstripe is generally used on raw disks instead of partitions. (If you want to
tie partitions on one disk together it's probably better to re-partition). But
you can basically use any geom provider.

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the freebsd-questions mailing list