Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2013 12:41:35 -0400
From:      "Sam Fourman Jr." <sfourman@gmail.com>
To:        sbruno@freebsd.org
Cc:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: How do we clear a bogus zpool?
Message-ID:  <CAOFF%2BZ2gA6KxLwZNb7Zyduy3f%2B-YtfOFbyUO6RaDOexo0X_n_g@mail.gmail.com>
In-Reply-To: <1377015858.1450.3.camel@localhost>
References:  <1377015858.1450.3.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 20, 2013 12:37 PM, "Sean Bruno" <sean_bruno@yahoo.com> wrote:
>
> I've managed to create a situation where I have a completely bogus zpool
> showing up on my system.  There seems to be no way to wipe this out?
>
> # zpool import
>    pool: zroot
>      id: 854190767471294680
>   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:
>
>         zroot                     UNAVAIL  insufficient replicas
>           raidz1-0                UNAVAIL  insufficient replicas
>             17925463268209287656  UNAVAIL  cannot open
>             11020448220822113890  UNAVAIL  corrupted data
>             10143858893287711942  UNAVAIL  corrupted data
>             7542790596970715955   UNAVAIL  corrupted data
>             10811885036534933813  UNAVAIL  corrupted data
>             13343774937261906429  UNAVAIL  corrupted data
>
> # zpool destroy -f zroot
> cannot open 'zroot': no such pool
> # zpool clear -F zroot
> cannot open 'zroot': no such pool
>
gpart -F destroy /dev/adX

> Sean
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOFF%2BZ2gA6KxLwZNb7Zyduy3f%2B-YtfOFbyUO6RaDOexo0X_n_g>