ZFS on labelled partitions

Miroslav Lachman 000.fbsd at quip.cz
Tue Nov 17 08:23:07 UTC 2015


Patrick M. Hausen wrote on 11/17/2015 09:08:
> Hi, all,
>
>> Am 16.11.2015 um 22:19 schrieb Freddie Cash <fjwcash at gmail.com>:
>>
>> ​You label the disks as they are added to the system the first time.  That
>> way, you always know where each disk is located, and you only deal with the
>> labels.
>
> we do the same for obvious reasons. But I always wonder about the possible
> downsides, because ZFS documentation explicitly states:
>
> 	ZFS operates on raw devices, so it is possible to create a storage pool comprised of logical
> 	volumes, either software or hardware. This configuration is not recommended, as ZFS works
> 	best when it uses raw physical devices. Using logical volumes might sacrifice performance,
> 	reliability, or both, and should be avoided.
>
> (from http://docs.oracle.com/cd/E19253-01/819-5461/gbcik/index.html)
>
> Can anyone shed some lght on why not using raw devices might sacrifice
> performance or reliability? Or is this just outdated folklore?

It was on Solaris but not on FreeBSD. If you were using partitions on 
Solaris the drive cache was disabled (or something like that, I am not 
100% sure)

Miroslav Lachman



More information about the freebsd-stable mailing list