Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 09:22:16 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS on whole disk vs. slice vs. partition?
Message-ID:  <20080811072216.GB2766@garage.freebsd.pl>
In-Reply-To: <48902042.3030609@quip.cz>
References:  <48902042.3030609@quip.cz>

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

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

On Wed, Jul 30, 2008 at 10:03:14AM +0200, Miroslav Lachman wrote:
> Hi all,
>=20
> I am preparing myself to next try with ZFS and I would like to know if=20
> there are any recomendations / performance differences between using=20
> whole disk device (ad0) or slice (ad0s2) or partition (ad0s1e).
>=20
> For example, if I have machine with 2 disks and I want to setup small=20
> part of the disk gmirrored with UFS2 (/ + /usr) and the rest of space=20
> for data on ZFS mirror - is it better to use ad0s1 + ad1s1 for gmirror=20
> and ad0s2 + ad1s2 for ZFS mirror? Or is it better to use ad0s1e + ad1s1e=
=20
> for ZFS mirror?
>=20
> Next example could be machine with 4 disks (1TB disks in RAIDZ / RAIDZ2=
=20
> as array for backups). It would be nice to user ad0 + ad1 + ad2 + ad3,=20
> but then I cannot boot of it, so again - I can use small piece of each=20
> disk as bootable UFS2 root with gmirror of 4 drives (first slice of each=
=20
> disk - ad0s1, ad1s1, ad2s1, ad3s1) and the rest for ZFS. Or is there=20
> significant reason not to split disks, use whole device for ZFS pool and=
=20
> setup UFS2 root on some other media like CF card with CF 2 IDE convertor?
>=20
> Thanks for any useful informations, tips, trick, links etc.

There should be no difference whatsoever performance-wise between using
disks, slices or partitions on FreeBSD.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--1LKvkjL3sHcu1TtY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFIn+ioForvXbEpPzQRAiK0AJ4leUxSsIbAfVO6Qp3epatX/sW1KQCdFSHd
gnMFmWacxM/bszsxD5Ft4CA=
=X3R0
-----END PGP SIGNATURE-----

--1LKvkjL3sHcu1TtY--



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