Creating zpool on NVMe Disks takes forever

Steven Hartland killing at multiplay.co.uk
Thu Feb 19 14:05:24 UTC 2015


On 19/02/2015 12:22, Michael Fuckner wrote:
> On 02/19/2015 12:56 PM, Steven Hartland wrote:
>> Disable trim on init:
>> sysctl vfs.zfs.vdev.trim_on_init=0
> this fixed it, thx!
>
> but why does it take >8h to trim 2x 400GB? Or is trimming handled 
> differently on NVMe than on HDD/SSD?

Its very basic but you might want to give the attached patch a go and 
see if it reduces you TRIM time significantly?

     Regards
     Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvd-delmaxsize.patch
Type: text/x-patch
Size: 606 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20150219/42938b24/attachment.bin>


More information about the freebsd-fs mailing list