zfs 4k disk alignment gui

Status
Not open for further replies.

Rolfieo

Cadet
Joined
Jul 16, 2013
Messages
5
I'm testing with FreeNAS 9 RC

I'm creating a new zpool with a couple of 4k drives.

but i have nowhere an option to create with for 4k drives.
Now my pool has an ashift of 9, and for optimal alignment it should be 12.

So i have a high performance NAS, with slow mis alignment disks.

Is this an issue with the RC?
 
D

dlavigne

Guest
This option was removed in the 9.x volume wizard. If it is important to you, please create an enhancement request ticket at support.freenas.org.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Oh my. 4k sector option was removed. That's kind of a big deal.

I remember back with 8.2 or 8.3 there was the push to make ashift 12 the default, and now we can't force a 4k sector size on our own.

That's like a step back :(
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Ticket created after I verified that the ashift default isn't 12.

http://support.freenas.org/ticket/2404

Edit: I'm wondering if the the new volume manager uses the drive's reported sector size to smartly decide what option to use. Alot of drive still report 512-byte sector size despite having 4k sectors. I know all of my WD Green drives are 4k but smartctl says they are 512-byte. I learned the hard way how much ashift=9 sucks on 4k sector drives. :P
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I'm testing with FreeNAS 9 RC

I'm creating a new zpool with a couple of 4k drives.

but i have nowhere an option to create with for 4k drives.
Now my pool has an ashift of 9, and for optimal alignment it should be 12.

So i have a high performance NAS, with slow mis alignment disks.

Is this an issue with the RC?

Can you post the output of smartctl -noserial -a /dev/da0 or whatever your drive is? There's some questions related to the ticket...

Thanks.
 

delphij

FreeNAS Core Team
Joined
Jan 10, 2012
Messages
37
Please provide output from:

camcontrol identify ada0

if your disk is in the form of da0, use the following command instead:

camcontrol inquiry da0

Thanks in advance!
 

Drk

Dabbler
Joined
May 26, 2013
Messages
38
will do some testing tonight with my pools and seagate drives.
 

daimi

Dabbler
Joined
Nov 30, 2013
Messages
26
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.

Source: http://www.freenas.org/whats-new/2013/12/freenas-9-2-0-release.html
 
Status
Not open for further replies.
Top