Page 1 of 1

ZFS Pool missing a device & wrong block sizes

Posted: 14 Nov 2016 11:19
by rwps
Hi

I've upgraded and replaced a disk as described in this post:
http://www.nas4free.org/forums/viewtopi ... d38#p72625

The new disk has finished resilvering and the pool status has returned to ONLINE.

However I have spotted a couple of issues that have me wondering what I should do.

Disks|ZFS|Pools|Information
shows:
"One or more devices are configured to use a non-native block size. Expect reduced performance."

Disks|Management|HDD Management
shows the new 4tb disk as a filesystem of "Unknown or unformatted"

Disks|ZFS|Pools|Virtual Device|Edit
shows all disks except the new one

Do I copy the data off, to a couple of backup USB HDDs, kill the pool and start again or ...?

Detail from the NAS4Free screens mentioned above is below.
Thanks
ZFS Pool missing a device and wrong block sizes - Notepad1.jpg

Code: Select all

Disks|ZFS|Pools|Information

  pool: ourdata
 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: resilvered 1.59T in 45h20m with 0 errors on Wed Nov  4 11:33:30 2015
config:

	NAME        STATE     READ WRITE CKSUM
	ourdata     ONLINE       0     0     0
	  raidz2-0  ONLINE       0     0     0
	    ada0p2  ONLINE       0     0     0  block size: 512B configured, 4096B native
	    ada1    ONLINE       0     0     0
	    ada2    ONLINE       0     0     0  block size: 512B configured, 4096B native
	    ada3    ONLINE       0     0     0  block size: 512B configured, 4096B native

errors: No known data errors

-----------------------------------------------------------------------------------------------
Disks|Management|HDD Management

The device(s) in config are different to actual device(s). Please remove the device(s) and re-add it or use 'Clear config and Import disks'.

Device 	Device Model 		Size 		Serial Number 	Controller 	Controller Model 				Standby 	Filesystem 		Status 	
  	  	  	        		n/a  	  	  								Always On  	ZFS Storage Pool  	MISSING () 
ada0 	WDC WD20EARS-00MVWB0 	1907730MB 	WD-WCAZA6795316	ahcich0 	Intel Cougar Point AHCI SATA controller 	Always On 	ZFS Storage Pool 	ONLINE 	
ada1 	ST4000DM000-2AE166 	3815448MB 	WDH0RBWZ 	ahcich1 	Intel Cougar Point AHCI SATA controller 	Always On 	Unknown or unformatted 	ONLINE 	
ada2 	TOSHIBA DT01ACA300 	2861589MB 	Z3MHZZ9GS 	ahcich2 	Intel Cougar Point AHCI SATA controller 	Always On 	ZFS Storage Pool 	ONLINE 
ada3 	TOSHIBA DT01ACA300 	2861589MB 	9384642KS 	ahcich3 	Intel Cougar Point AHCI SATA controller 	Always On 	ZFS Storage Pool 	ONLINE 	
da0 	1.00 			7424MB 		001CC0EC34A2	umass-sim0 	EHCI (generic) USB 2.0 controller 		Always On 	UFS 			ONLINE 

----------------------------------------------------------------------------------------------------
Disks|ZFS|Pools|Virtual Device|Edit

Settings
Name 		ourdata_raidz2_0
Type 		raidz2
4KB wrapper 	(unchecked)
Description 	(blank)

Device List
	Device 	Partition 	Model 			Serial Number 	Size 		Controller 						Name 	 
	ada0  	p2  		WDC WD20EARS-00MVWB0  	WD-WCAZA6795316	1907730MB  	ahcich0 (Intel Cougar Point AHCI SATA controller)  	Western Digital Caviar Green (AF)  	Virtual device is already in use.
	ada2  	Entire Device  	TOSHIBA DT01ACA300  	Z3MHZZ9GS  	2861589MB  	ahcich2 (Intel Cougar Point AHCI SATA controller)  	Toshiba 3.5 DT01ACA... Desktop HDD  	Virtual device is already in use.
	ada3  	Entire Device  	TOSHIBA DT01ACA300  	9384642KS  	2861589MB  	ahcich3 (Intel Cougar Point AHCI SATA controller)  	Toshiba 3.5 DT01ACA... Desktop HDD  	Virtual device is already in use.

Re: ZFS Pool missing a device & wrong block sizes

Posted: 14 Nov 2016 12:02
by raulfg3
Your pool is really like a "frankestein".

You have a mix of partitioned HD and not partitioned HD (always is better to use not partitioned HD), you also have diferent brand disk ( not really bad, but not common), and finally you mix diferent size HD.

You actually are wasting a great amount of space, because your RaidZFS2 Pool use the HD of small size as default size for all, so you only have 2x2TB = 4TB of usable space ( You have 2x3TB disk, 1x4TB Disk and finally only 1x2TB Disk).


My Suggest, do not use RaidZ2 , use a ZFS Mirror for your 2x3TB Disk= 3TB of usable Data and format as single ZFS disk your 1x2TB and yoy 1x4TB, so finally you have 3+4+2=9TB of usable data.

Of course only the mirror are protected from a hard Disk Fail, but you have 9TB of usable data, so you can have a copy of yout data on others disk if you want or use to store non valuable data ( like internet Video/series).

Re: ZFS Pool missing a device & wrong block sizes

Posted: 14 Nov 2016 21:39
by rwps
agreed a bit of a frankenstein! However that has come about by replacing old 2tb disks with newer disks when the died.
I know the RaidZ2 will expand in size when the last 2tb disk goes.
I like the redundancy (2 disks) with raidz2, and teh expandability as I go.
So if maintaining RaidZ2, what is my best approach?
Thanks

Re: ZFS Pool missing a device & wrong block sizes

Posted: 15 Nov 2016 07:48
by raulfg3
The best aproach is not touch.

Your pool is working, the error is not an error, is only a bit reduced performance ( 10 to 20% less), so my suggest is do not touch.

more info:

http://louwrentius.com/zfs-performance- ... rives.html

http://www.tomshardware.com/reviews/adv ... ,2759.html

https://www.delphix.com/blog/delphix-en ... rs-and-zfs

https://groups.google.com/forum/#!topic ... xLtzcj6hJI

Re: ZFS Pool missing a device & wrong block sizes

Posted: 15 Nov 2016 08:51
by rwps
thanks!