[OmniOS-discuss] rpool mirroring alignment problem

Paul B. Henson henson at acm.org
Wed Jun 11 18:12:46 UTC 2014


On Wed, Jun 11, 2014 at 07:01:01PM +0200, Natxo Asenjo wrote:

>        1. c4t13d1 <ATA-WDCWD1600BJKT-7-1A11 cyl 19454 alt 2 hd 255 sec 63>
>           /pci at 0,0/pci1022,9603 at 2/pci1014,3b1 at 0/sd at d,1
>        2. c4t14d1 <ATA-WDCWD2500BPVT-0-1A01 cyl 30398 alt 2 hd 255 sec 63>
>           /pci at 0,0/pci1022,9603 at 2/pci1014,3b1 at 0/sd at e,1
[...]
> # zpool attach -f rpool c4t13d1s0 c4t14d1s0
> cannot attach c4t14d1s0 to c4t13d1s0: devices have different sector
> alignment
> 
> Any ideas?

Looks like the WD2500BPVT has "Advanced Format Technology", ie 4k
sectors:

http://www.newegg.com/Product/Product.aspx?Item=N82E16822136565

Whereas the WD1600BJKT is a classic 512 byte sector device.

You can't currently add a 4k sector drive to a vdev using 512 byte sectors.
Any chance you could do the initial install to the 4k device, and then
add the 512 byte device as the second half of the mirror? I think that
would work. Or you could trick the OS into thinking the 512 byte device
actually has 4k sectors...

http://blog.delphix.com/gwilson/2012/11/15/4k-sectors-and-zfs/


More information about the OmniOS-discuss mailing list