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

Reply via email to