Force ashift=12

Status
Not open for further replies.

modder man

Cadet
Joined
Sep 11, 2014
Messages
7
Wondering how I can force ashift=12 on a new pool. The disks are 512b disks so it keeps building with ashift=9. I tried using sysctl vfs.zfs.min_auto_ashift=12 with no change. Thanks
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
The FreeNAS default ashift is 12, however if your drives have a 512byte sectors then it'll default to ashift 9. The ashift set is correct in this case.
 

modder man

Cadet
Joined
Sep 11, 2014
Messages
7
Right but if i ever have a disk failure (likely) then it would likely get swapped with a 4k sector drive, that being the case I was under the impression it would be wiser to have the pool set ashift=12
 
Status
Not open for further replies.
Top