On Sat, Nov 10, 2012 at 9:48 AM, Jan Owoc <jso...@gmail.com> wrote:
> On Sat, Nov 10, 2012 at 8:14 AM, Trond Michelsen <tron...@gmail.com>
> > When I try to replace the old drive, I get this error:
> > # zpool replace tank c4t5000C5002AA2F8D6d0 c4t5000C5004DE863F2d0
> > cannot replace c4t5000C5002AA2F8D6d0 with c4t5000C5004DE863F2d0:
> > devices have different sector alignment
> > How can I replace the drive without migrating all the data to a
> > different pool? It is possible, I hope?
> I had the same problem. I tried copying the partition layout and some
> other stuff but without success. I ended up having to recreate the
> pool and now have a non-mirrored root fs.
> If anyone has figured out how to mirror drives after getting the
> message about sector alignment, please let the list know :-).
Not happening with anything that exists today. The only way this would be
possible is with bp_rewrite which would allow you to evacuate a vdev
(whether it be for a situation like this, or just to shrink a pool). What
you're trying to do is write a block for block copy to a disk that's made
up of a different block structure. Not happening.
*insert everyone saying they want bp_rewrite and the guys who have the
skills to do so saying their enterprise customers have other needs*
zfs-discuss mailing list