This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Enable Advanced Format (4KB sector) disabled after upgrade

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
johl
NewUser
NewUser
Posts: 14
Joined: 29 Jun 2012 07:53
Location: Örebro
Status: Offline

Enable Advanced Format (4KB sector) disabled after upgrade

Post 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

User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

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

Post 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
NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded

User avatar
johl
NewUser
NewUser
Posts: 14
Joined: 29 Jun 2012 07:53
Location: Örebro
Status: Offline

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

Post 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

Post Reply

Return to “ZFS (only!)”