2013-02-10, 21:38
@derechteversus - Thanks and I had no issues with that. I set them all up as 4k drives.
I suppose that 1 or 2 of them that did have real 512-byte sectors could have been configured as such, but I said the hell with it since that seemed overly complicated and potentially performance-crippling to have some 4k and some 512-byte drives.
I'm getting good performance and whole zpool shows up as ashift = 12 as well. Procedure I used for the 10-drive pool is below if you're interested:
...and carry on with life.
I suppose that 1 or 2 of them that did have real 512-byte sectors could have been configured as such, but I said the hell with it since that seemed overly complicated and potentially performance-crippling to have some 4k and some 512-byte drives.
I'm getting good performance and whole zpool shows up as ashift = 12 as well. Procedure I used for the 10-drive pool is below if you're interested:
Code:
i)
gpart create -s gpt da0
...
gpart create -s gpt da9
ii)
gpart add -t freebsd-zfs -l disk0 -b 2048 -a 4k da0
...
gpart add -t freebsd-zfs -l disk9 -b 2048 -a 4k da9
iii)
gnop create -S 4096 /dev/gpt/disk0
...
gnop create -S 4096 /dev/gpt/disk9
iv)
zpool create tank0 raidz2 /dev/gpt/disk0.nop /dev/gpt/disk1.nop /dev/gpt/disk2.nop /dev/gpt/disk3.nop /dev/gpt/disk4.nop /dev/gpt/disk5.nop /dev/gpt/disk6.nop /dev/gpt/disk7.nop /dev/gpt/disk8.nop /dev/gpt/disk9.nop
zpool export tank0
v)
gnop destroy /dev/gpt/disk0.nop
...
gnop destroy /dev/gpt/disk9.nop
REBOOT. Shouldn't show anything like da0.nop
ls /dev/gpt/
vi)
zpool import tank0
...and carry on with life.