Page 1 of 1

Non-native block size

Posted: 01 Apr 2015 22:19
by erico.bettoni
After upgrading to 9.3 my pool started to show the following message:

Code: Select all

  pool: tank1
 state: ONLINE
status: One or more devices are configured to use a non-native block size.
	Expect reduced performance.
action: Replace affected devices with devices that support the
	configured block size, or migrate data to a properly configured
	pool.
  scan: scrub repaired 0 in 6h4m with 0 errors on Wed Feb 11 20:35:55 2015
config:

	NAME        STATE     READ WRITE CKSUM
	tank1       ONLINE       0     0     0
	  raidz1-0  ONLINE       0     0     0
	    ada0    ONLINE       0     0     0  block size: 512B configured, 4096B native
	    ada1    ONLINE       0     0     0  block size: 512B configured, 4096B native
	    ada2    ONLINE       0     0     0  block size: 512B configured, 4096B native
	    ada3    ONLINE       0     0     0  block size: 512B configured, 4096B native
	    ada4    ONLINE       0     0     0  block size: 512B configured, 4096B native

errors: No known data errors
Does replacing each disk with it's .nop equivalent will help with performance? Is it possible to do it?

Re: Non-native block size

Posted: 01 Apr 2015 23:00
by Lee Sharp
You are looking for this here... viewtopic.php?f=59&t=1494

Code: Select all

  pool: zpool01
 state: ONLINE
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        zpool01     ONLINE       0     0     0
          raidz2-0  ONLINE       0     0     0
            ada0    ONLINE       0     0     0
            ada1    ONLINE       0     0     0
            ada2    ONLINE       0     0     0
            ada3    ONLINE       0     0     0
            ada4    ONLINE       0     0     0
            ada5    ONLINE       0     0     0
            ada6    ONLINE       0     0     0
            ada7    ONLINE       0     0     0

errors: No known data errors

Re: Non-native block size

Posted: 30 Apr 2015 03:17
by nvsravank
What i found was that even if the disk is using non native it is best to follow this process and set it up to use 4K.
I was given directions to this page on the chat.
http://wiki.nas4free.org/doku.php?id=zfs:4k

Since it is an existing pool i have no idea if you can even fix it in place.