Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Jun 2014 08:28:59 -0700
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: fdisk(8) vs gpart(8), and gnop
Message-ID:  <538B46BB.9010008@freebsd.org>
In-Reply-To: <BCA9F5D6-3925-4E7E-9082-128652508305@FreeBSD.org>
References:  <20140601004242.GA97224@bewilderbeast.blackhelicopters.org> <CAOjFWZ5N9FGwgSz0_YFNQjavzdJDitRn52VKn4ipW1ddj6-weQ@mail.gmail.com> <BCA9F5D6-3925-4E7E-9082-128652508305@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/01/14 07:59, Mark Felder wrote:
> On May 31, 2014, at 20:57, Freddie Cash <fjwcash@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.
>
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>

ashift=12 seems harmless on 512-byte disks, so maybe also making that 
the default globally unless sector size is even larger is a good idea.
-Nathan



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