Date: Mon, 28 Jan 2013 11:38:29 +0200 From: Volodymyr Kostyrko <c.kworr@gmail.com> To: Michael Sierchio <kudzu@tenebras.com> Cc: freebsd-questions@freebsd.org Subject: Re: ZFS - whole disk or partition or BSD slice? Message-ID: <51064715.2000300@gmail.com> In-Reply-To: <CAHu1Y73i0645eP_M1fogOtUAuVw-Fb4c7f%2B-rFX%2B6z7-4ea9nw@mail.gmail.com> References: <5105BEE4.4030402@mansionfamily.plus.com> <5105D611.4000506@ShaneWare.Biz> <CAHu1Y73i0645eP_M1fogOtUAuVw-Fb4c7f%2B-rFX%2B6z7-4ea9nw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
28.01.2013 08:05, Michael Sierchio: > On Sun, Jan 27, 2013 at 5:36 PM, Shane Ambler <FreeBSD@shaneware.biz> wrote: > >> I recall reading that using partitions for zfs on FreeBSD was as good as >> full disks. > > No, it isn't - ZFS can fully utilize disk caches when presented with > whole devices. There are possible reasons to create partitions - one > being that if an unfriendly OS sees the device, it won't try to > initialize it if it sees a partition map. Another is using a cheap > RAID controller that can't be fully disabled - in which case you > generally need to create a partition that doesn't include the last few > sectors of the disk, where such controllers keep magic data. That's wrong for long ago. This problem was solaris specific. Current ZFS code sees no difference between disks and partitions. One should think twice when putting two vdevs on one physical disk though. -- Sphinx of black quartz, judge my vow.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51064715.2000300>