If you have a backup, you can try destroying the label on the disk you’re
adding.  I think its likely that zpool is seeing the ZFS label or other
data on the drive and trying to be paranoid to prevent you from clobbering
useful data on the drive.  dd from /dev/zero to the drive can clear that up
(but again, make sure you have a backup in case something goes wrong!)

On Fri, Apr 1, 2016 at 11:47 AM, Gabriele Bulfon <gbul...@sonicle.com>
wrote:

> Hi,
> I'm trying to convert a raidz pool that has 3 vdev incorrectly configured
> as volumes instead of jbods.
> One by one I would like to:
> - offline the vdev on the pool
> - through arcconf remove the volume, initialize and create it as jbod
> - zpool replace the old vdev with the new vdev
>
> Everytime I get to the last point, zfs cannot use the target device as
> busy, or "part of active ZFS pool data".
> No "-f" solve the problem.
>
> I'm using a prototype machine before using the destination one.
> If I destroy the pool and recreate through "-f" correctly.
>
> Looks like because the replaced disk is actually the same, but with a
> different vdev, something goes wrong.
>
> Any idea?
>
> Gabriele
>
>
> ----------------------------------------------------------------------------------------
> *Sonicle S.r.l. *: http://www.sonicle.com
> *Music: *http://www.gabrielebulfon.com
> *Quantum Mechanics : *http://www.cdbaby.com/cd/gabrielebulfon
> *illumos-discuss* | Archives
> <https://www.listbox.com/member/archive/182180/=now>
> <https://www.listbox.com/member/archive/rss/182180/22003744-9012f59c> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <http://www.listbox.com>
>



-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to