Page 1 of 1

Enable Advanced Format (4KB sector) disabled after upgrade

Posted: 31 May 2014 20:18
by johl
Hi,
I've finished a migration from FreeNAS 0.72 to N4F 9.2.0.1_972 and have not yet upgraded my ZFS-pools. ZFS is still version 13. Everything seems to work fine for now, but i saw that the 4KB box wasn't checked in the WEBGUI. I know that my old box had this box checked and i don't know if this is or gonna be a problem. Can i leave it disabled or do i have to check the box and make it active?
For now i can't check the box - it's not possible to click it. I guess it's because the pools i active or something, but i'm not sure how to and if i need to do anything. Please help me or point me in the right direction.
Best J

Re: Enable Advanced Format (4KB sector) disabled after upgra

Posted: 31 May 2014 21:20
by crowi
Did you create a new pool or transfered the old pool?
Usually it shouldn't be a problem on a existing pool,
open a shell and check with

Code: Select all

zdb |grep ashift
if you have a correct alignment. If the ashift value is 12, then you have 4k alignment

Re: Enable Advanced Format (4KB sector) disabled after upgra

Posted: 01 Jun 2014 07:31
by johl
crowi wrote:Did you create a new pool or transfered the old pool?
Usually it shouldn't be a problem on a existing pool,
open a shell and check with

Code: Select all

zdb |grep ashift
if you have a correct alignment. If the ashift value is 12, then you have 4k alignment
Sweet and a big thanks to you!
I transferred an old pool and just cleared config and imported the disks, synchronized ZFS.
I do have ashift = 12 and diskinfo shows 512 sectorsize stripsize 4096. Smartctl shows 512 logical/physical.
So this is right and i don't have an issue lurking :)
Still may wonder why the box ain't ticked...
Best J