fdisk(8) vs gpart(8), and gnop

Steven Hartland killing at multiplay.co.uk
Sun Jun 1 15:52:29 UTC 2014


----- Original Message ----- 
From: "Mark Felder" <feld at freebsd.org>

> On May 31, 2014, at 20:57, Freddie Cash <fjwcash at gmail.com> wrote:
> 
>> There's a sysctl where you can set the minimum ashift for zfs. Then you
>> never need to use gnop.
>> 
>> I believe it's part of 10.0?
> 
> I've not seen this yet. What we need is to port the ability to set ashift at pool creation time:
> 
> $ zpool create -o ashift=12 tank mirror disk1 disk2 mirror disk3 disk4
> 
> I believe the Linux zfs port has this functionality now, but we still do not.

We don't have that direct option yet but you can achieve the
same thing by setting: vfs.zfs.min_auto_ashift=12

    Regards
    Steve


More information about the freebsd-hackers mailing list