Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2014 02:08:05 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        "William A. Mahaffey III" <wam@hiwaay.net>
Cc:        FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD 9.3 new install problems ....
Message-ID:  <20140803000805.GB34503@slackbox.erewhon.home>
In-Reply-To: <53DD533D.7090700@hiwaay.net>
References:  <53DAFCF2.2070909@hiwaay.net> <alpine.BSF.2.11.1407312131550.50731@wonkity.com> <53DB9797.1010702@hiwaay.net> <20140801164335.GA16376@slackbox.erewhon.home> <53DBF71D.3080807@hiwaay.net> <20140801232843.GB17393@slackbox.erewhon.home> <53DCF32A.30700@hiwaay.net> <20140802185442.GA28910@slackbox.erewhon.home> <53DD533D.7090700@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--yEPQxsgoJgBvi8ip
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 filesyste=
ms
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
back.

> 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 t=
hat
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.

Roland
--=20
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)

--yEPQxsgoJgBvi8ip
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJT3X1lAAoJEED21dyjijPg3YEP+gKRX+3lhWP5BPKbIuf5QD+f
pqbUXV6iSMR55eN9QOC1BrU6IpkO2S/NkIwUrZUZ3jLM08JOVoomrpi2GM5QZysu
usCO+uMyKC1KOUYxs5iQmfBR3O6fMONmN1/cgjbm6NsrpOLQ03siFFrV9ow7u1Od
36MG5pewXB0YouxsRszaXao3TFd39YsPYyMQWx2SQj2+fjh4IOfYKzDkJWPYYxo+
5ionble69J72ep7aPrOI3RWWKK8YXm+mwymK9//MFWaOVvrSwco6v89Bvh0Mu08i
nN6VtvOIGLGL9vDX3E/o+n2L9EwqcBWcU7z6vQopUtE4WqJ9TpkdHn4WOv13FYcT
0/HVGBZA0fkxJzMdTdSVMTXfGVAIaw/0ETwoLyC3N0UMrMVT2+ToYu+3Sbv3yPbD
orKrORfeKbzJ10zPDw8m4e6P5H9cpc5+5XacYt8gdR2wFUq6bVEqs/ajNcgCNCd8
npv4NDEctd9co4KcC2CpzlrRAztw+EaBPX/P4L3IRuAXoaaO4+PW9CkMn5RvBhLd
G0WYSHgJGHdf3JM+oLCUzn/kw3M1x40D1TQO26QnldcAGizSTaTCjLeU34iivpv4
2PhJae+R+2MpPvqIS+th4kLBgxugTL4Uxu0gK8tUccB0ki8mODlycF5XLAQeXN3+
WdvreMPeeFUH3Y7gyh0R
=T3oi
-----END PGP SIGNATURE-----

--yEPQxsgoJgBvi8ip--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140803000805.GB34503>