I don't have labelclear on illumos, not my version at least...
But I read that "
zpool create -f tank $disk & zpool destroy tank" may do the trick?
https://www.illumos.org/issues/1789
I'll check the zpool.cache too : is it safe to be removed anytime?
----------------------------------------------------------------------------------------
Sonicle S.r.l.
:
http://www.sonicle.com
Music:
http://www.gabrielebulfon.com
Quantum Mechanics :
http://www.cdbaby.com/cd/gabrielebulfon
----------------------------------------------------------------------------------
Da: Attila Fülöp
A: [email protected]
Data: 1 aprile 2016 22.48.57 CEST
Oggetto: Re: [discuss] converting adpatec volume to jbod cannot replace
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
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