[OmniOS-discuss] rpool mirroring alignment problem

Dale Ghent daleg at omniti.com
Wed Jun 11 17:32:52 UTC 2014


On Jun 11, 2014, at 1:01 PM, Natxo Asenjo <natxo.asenjo at gmail.com> wrote:

> # zpool attach -f rpool c4t13d1s0 c4t14d1s0
> cannot attach c4t14d1s0 to c4t13d1s0: devices have different sector alignment
> 
> Any ideas? Yes, I am aware of the fact both disks are different in size, but provided I am formatting the 2nd one and copying the disklabel from the smaller one it should be ok, shouldn't it?

So let’s look at the two drives you’re trying to work with:

WD1600BJKT (c4t13d1, your boot disk)
WD2500BPVT (c4t14d1, the mirror you want to add)

Looking up those drives (WD Scorpio Blue and Scorpio Black models, respectively) shows that the WD2500BPVT has WD’s “Advanced Format” on it - ie, sector size is larger than the traditional 512n which which what the WD1600BJKT has. The Advanced Format is denoted in the drive model number with the “PVT” suffix.

Because of this, zfs will refuse to try to meld the drives together into a mirror. You will need to replace the WD2500BPVT with a WD1600BJKT to match your existing one, or at the least make sure the drive is formatted with 512k sectors and not something larger.

/dale
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 494 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://omniosce.org/ml-archive/attachments/20140611/3140e45a/attachment.bin>


More information about the OmniOS-discuss mailing list