Hi Chris,

Yes, this is a known problem and a CR is filed.

I haven't tried these in a while, but consider one of the following
workarounds below.

#1 is most drastic and make sure you've got the right device name. No
sanity checking is done by the dd command.

Other experts can comment on a better dd command.

Thanks,

Cindy

1. Wipe the disk label with a dd command. For example:

dd if=/dev/zero of=/dev/dsk/c1t0d0s0 count=100 bs=512k

(The following two probably won't work if you're getting device
in use messages.)

2. Force the creation of a new pool on the disk, like this:

# zpool create -f pool ct1d0

Then, remove the new pool:

# zpool destroy pool

3. Put the opposite label on the disk. If the disk has an SMI
label, use format -e to force an EFI label. Or, vice versa.


On 02/12/11 03:33, chris wrote:
I have old pool skeletons with vdevs that no longer exist. Can't import them, 
can't destroy them, can't even rename them to something obvious like junk1. 
What do I do to clean up?
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to