On 04/01/2016 06:44 PM, Gabriele Bulfon wrote:
> The proptotype machine is safe, I can play with it as much as I like, until I 
> find a good solution for the target machine.
> I did the "dd if=/dev/zero of=/dev/....", did the fdisk remove/create 
> partition...no way :(
> Only if I change the disk phisically in between the volume2jbod, the it will 
> work.
> How can this be? Any other way to let it think it's another disk and forget 
> about the replacing one?

ZFS labels are quite "sticky". IRC each vdev has 4 labels, two at the
start and two at the end. The easiest way to clear them is:

# zpool labelclear <device>

Be sure to clear the labels on the unused device only.

And maybe a

# rm /etc/zfs/zpool.cache

would also help.


Attila


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