<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Wed, Jun 11, 2014 at 7:43 PM, Natxo Asenjo <span dir="ltr"><<a href="mailto:natxo.asenjo@gmail.com" target="_blank">natxo.asenjo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Wed, Jun 11, 2014 at 7:32 PM, Dale Ghent <span dir="ltr"><<a href="mailto:daleg@omniti.com" target="_blank">daleg@omniti.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br>
On Jun 11, 2014, at 1:01 PM, Natxo Asenjo <<a href="mailto:natxo.asenjo@gmail.com" target="_blank">natxo.asenjo@gmail.com</a>> wrote:<br>
<br>
> # zpool attach -f rpool c4t13d1s0 c4t14d1s0<br>
> cannot attach c4t14d1s0 to c4t13d1s0: devices have different sector alignment<br>
><br>
> 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?<br>
<br>
</div>So let’s look at the two drives you’re trying to work with:<br>
<br>
WD1600BJKT (c4t13d1, your boot disk)<br>
WD2500BPVT (c4t14d1, the mirror you want to add)<br>
<br>
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.<br>


<br>
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.<br>


<span></span></blockquote><div><br></div></div></div><div>ok, clear, but the question remains: how do I achieve that (so I do not have a  WD1600BJKT, and want to format it with 512k sectors) in omnios? Is it possible or do I just need to reinstall (I do have 2 WD2500BPVT disks, so that is possible; a pain, but possible).<span class=""><font color="#888888"><br>

<br></font></span></div></div></div></div></blockquote><div><br></div><div>using parted both disks seem to start at the same place:<br><br># parted /dev/rdsk/c4t13d1p0 unit s print<br>Model: Generic Ide (ide)<br>Disk /dev/rdsk/c4t13d1p0: 312581808s<br>
Sector size (logical/physical): 512B/512B<br>Partition Table: msdos<br><br>Number  Start   End         Size        Type     File system  Flags<br> 1      16065s  312576704s  312560640s  primary  solaris      boot <br><br>
# parted /dev/rdsk/c4t14d1p0 unit s print<br>Model: Generic Ide (ide)<br>Disk /dev/rdsk/c4t14d1p0: 488397168s<br>Sector size (logical/physical): 512B/512B<br>Partition Table: msdos<br><br>Number  Start   End         Size        Type     File system  Flags<br>
 1      16065s  488392064s  488376000s  primary  solaris      boot <br><br></div></div><br></div></div>