Pool with 512b and 4k sector drives

Status
Not open for further replies.

phatfish

Dabbler
Joined
Sep 20, 2015
Messages
16
So i read this:

By default, FreeNAS will treat all disks as 4K sector (“Advanced Format”)
disks. This is a future-proof setting that allows AF disks to later
be used as replacement drives for older, legacy 512 byte sector drives
without compromising performance. The administrator can optionally disable
this 4K-by-default behavior by setting vfs.zfs.vdev.larger_ashift_minimal
to 0 in both sysctl and loader tunables.​

http://www.freenas.org/blog/freenas-9-2-0-release/

An older release but im curious if that still stands? As when i check 9.10 i get the bellow:
Code:
sysctl -a | grep vfs.zfs.vdev.larger
vfs.zfs.vdev.larger_ashift_minimal: 0


It appears to be turned off. Would i benefit from it being on as i have a pool with both 512b and 4k sector sizes? I intend to replace the older drives eventually so they will all be 4k.

Thanks
 

mav@

iXsystems
iXsystems
Joined
Sep 29, 2011
Messages
1,428
That tunable is set to 1 only during pool creation or new disks addition. FreeNAS ZFS pools created through the WebUI should always be 4K aligned now.
 

phatfish

Dabbler
Joined
Sep 20, 2015
Messages
16
Ah OK. I guess there is a command I can run to get that info from the pool it's self, ill have a search, thanks.
 
Status
Not open for further replies.
Top