Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 2010 11:16:50 -0800
From:      Artem Belevich <fbsdlist@src.cx>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: stale zpool: how to rename?
Message-ID:  <AANLkTim6oscovEjHSM4HGX6jOiZHN%2B4rJ=FWsWcHfVMG@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1012092147200.88989@woozle.rinet.ru>
References:  <alpine.BSF.2.00.1012092147200.88989@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 9, 2010 at 10:49 AM, Dmitry Morozovsky <marck@rinet.ru> wrote:
> Dear colleagues,
>
> how can I clear stale traces of old pool?

zpool export ?

--Artem

>
> [this is on fresh stable/8]
>
> Now I have:
>
>
> root@ogre2:~# zpool import
> =A0pool: og
> =A0 =A0id: 4146846692207551713
> =A0state: UNAVAIL
> status: One or more devices are missing from the system.
> action: The pool cannot be imported. Attach the missing
> =A0 =A0 =A0 =A0devices and try again.
> =A0 see: http://www.sun.com/msg/ZFS-8000-3C
> config:
>
> =A0 =A0 =A0 =A0og =A0 =A0 =A0 =A0 =A0UNAVAIL =A0insufficient replicas
> =A0 =A0 =A0 =A0 =A0mirror =A0 =A0UNAVAIL =A0insufficient replicas
> =A0 =A0 =A0 =A0 =A0 =A0da0 =A0 =A0 UNAVAIL =A0cannot open
> =A0 =A0 =A0 =A0 =A0 =A0da1 =A0 =A0 UNAVAIL =A0cannot open
> root@ogre2:~# zpool status
> =A0pool: o
> =A0state: ONLINE
> =A0scrub: none requested
> config:
>
> =A0 =A0 =A0 =A0NAME =A0 =A0 =A0 =A0STATE =A0 =A0 READ WRITE CKSUM
> =A0 =A0 =A0 =A0o =A0 =A0 =A0 =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =
=A0 0
> =A0 =A0 =A0 =A0 =A0mirror =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0 0
> =A0 =A0 =A0 =A0 =A0 =A0da0h =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0=
 0
> =A0 =A0 =A0 =A0 =A0 =A0da1h =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =A0=
 0
>
> errors: No known data errors
> root@ogre2:~# zpool import -f og
> cannot import 'og': no such pool or dataset
> root@ogre2:~# zpool destroy og
> cannot open 'og': no such pool
>
> Thanks in advance.
>
> --
> Sincerely,
> D.Marck =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 [DM5020, MCK-RIPE, DM3-RIPN]
> [ FreeBSD committer: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 marck@FreeBSD.org ]
> ------------------------------------------------------------------------
> *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
> ------------------------------------------------------------------------
> _______________________________________________
> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim6oscovEjHSM4HGX6jOiZHN%2B4rJ=FWsWcHfVMG>