Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Aug 2013 12:31:01 -0500
From:      Karl Denninger <karl@denninger.net>
To:        Steven Hartland <killing@multiplay.co.uk>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: How do I clear this problem? :-)
Message-ID:  <51FE8FD5.1050605@denninger.net>
In-Reply-To: <5C38117C14594404AAC7034DB56FD1BA@multiplay.co.uk>
References:  <51FE8D1C.5080509@denninger.net> <5C38117C14594404AAC7034DB56FD1BA@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
I do indeed have a pool of the same name; I can rename it of course but
then scripts have to be changed.

What I'm trying to do is get rid of the old entry because it is no
longer relevant and causes a collision; I can get around the collision
by using the UID of the pool on the mount when done manually, but that
particular pool's devices are never coming back and every time an import
is run the console complains about the missing device entries that
cannot be probed.

This is development box and thus I CAN wipe it to get rid of this, but
if it happens on a production machine I'd like to know how to clear the
problem.  I understand that by doing so I irretrievably destroy the
ability to get to the pool in the future but in this particular case the
disks in question have been hard-overwritten with other data so that's
already a fact irrespective of what the system thinks.

-- Karl

On 8/4/2013 12:27 PM, Steven Hartland wrote:
> Might sound silly but what are you actually trying to achieve?
>
> Are you trying to create a new pool of the same name?
>
> Does ZFS still think it has the pool loaded via zpool status
> and your trying to clear that?
>
> ....
>
>    Regards
>    Steve
>
> ----- Original Message ----- From: "Karl Denninger" <karl@denninger.net>
> To: <freebsd-fs@freebsd.org>
> Sent: Sunday, August 04, 2013 6:19 PM
> Subject: How do I clear this problem? :-)
>
>
>> Development system here where I've been screwing around with ZFS and
>> ZPOOL.
>>
>> I have a deprecated mirror that cannot be imported (the disks used for
>> it were wiped and re-used); however, an attempt to destroy the pool
>> fails because it's not mounted, and I can't find a command to clear the
>> cache data that ZPOOL is using to find it.
>>
>> [root@dbms2 /]# zpool import
>>   pool: zstore
>>     id: 4828844235736846012
>>  state: UNAVAIL
>> status: One or more devices are missing from the system.
>> action: The pool cannot be imported. Attach the missing
>>        devices and try again.
>>   see: http://illumos.org/msg/ZFS-8000-3C
>> config:
>>
>>        zstore                    UNAVAIL  insufficient replicas
>>          mirror-0                UNAVAIL  insufficient replicas
>>            6822277834587078071   UNAVAIL  cannot open
>>            17152979047208821543  UNAVAIL  cannot open
>>          mirror-1                UNAVAIL  insufficient replicas
>>            9208768479824103717   UNAVAIL  cannot open
>>            2616541439243568493   UNAVAIL  cannot open
>>
>> Correct, none of the devices can be found (the system bitches loudly on
>> the console about this, incidentally.)
>>
>> [root@dbms2 /]# zpool destroy zstore
>> cannot open 'zstore': no such pool
>> [root@dbms2 /]# zpool destroy 4828844235736846012
>> cannot open '4828844235736846012': name must begin with a letter
>> [root@dbms2 /]#
>>
>> Attempts to drop the devices in the mirror (to take it apart
>> "piecemeal") also fail.
>>
>> How do I clear this deprecated entry that cannot be brought back
>> online?  I can't completely clear EVERYTHING related to ZFS because
>> there is another pool that is current in-service and working.
>>
>> I can't find anything in the man pages that addresses this......
>>
>> -- 
>> Karl Denninger
>> karl@denninger.net
>> /Cuda Systems LLC/
>> _______________________________________________
>> freebsd-fs@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>>
>
> ================================================
> This e.mail is private and confidential between Multiplay (UK) Ltd.
> and the person or entity to whom it is addressed. In the event of
> misdirection, the recipient is prohibited from using, copying,
> printing or otherwise disseminating it or any information contained in
> it.
> In the event of misdirection, illegible or incomplete transmission
> please telephone +44 845 868 1337
> or return the E.mail to postmaster@multiplay.co.uk.
>
>
>
> %SPAMBLOCK-SYS: Matched [+killing@multiplay.co.uk], message ok

-- 
Karl Denninger
karl@denninger.net
/Cuda Systems LLC/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51FE8FD5.1050605>