What make and model are your existing disks?
The WD Reds I have (2TB and 3TB models) for example are capable of 4096
byte transfers, but report
themselves as only being capable of doing 512 byte transfers.
If your existing disks do support 4K transfers (but report 512 bytes to
the OS), you have another
option, namely to backup everything, then reinitialise as 4K disks, for
example by booting into an
OS which does support the ashift option, and restore.
On 19 Jul 2016, at 10:18, Mat Schreiber via smartos-discuss wrote:
Hi,
One of my disks in my ZRAID failed. I bought a new one (bigger, other
type as the former one does not exist no more). Now I am unable to
replace the disk:
zpool replace zpool c0t0d0
cannot replace c0t0d0 with c0t0d0: devices have different sector
alignment
The former disk had an physical blocksize of 512 the new one has
4096...old:dkmp_ext.dki_lbsize = 512
dkmp_ext.dki_pbsize = 512
new:dkmp_ext.dki_lbsize = 512
dkmp_ext.dki_pbsize = 4096
I also googled around and found solutions like "zfs replace -o
ashift=xx" but this is not implemented in smartos. They also suggest
changing /kernel/drv/sd.conf but I do not know how to manipulate it so
that after rebooting the changes are still in effect.
What can I do, to resilver my ZRAID without replacing all the disk
with disks with a physical blocksize of 4096?Can I mix somehow? (also
if i would destroy the pool and rearrange all disks?)Assuming I could
"emulate" a blocksize of 512 on the new disk, would that impact
significantly the performance of that device?
Thanks,Mat
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com