stale zpool: how to rename?

Artem Belevich fbsdlist at src.cx
Thu Dec 9 19:47:48 UTC 2010


On Thu, Dec 9, 2010 at 10:49 AM, Dmitry Morozovsky <marck at 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 at ogre2:~# zpool import
>  pool: og
>    id: 4146846692207551713
>  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://www.sun.com/msg/ZFS-8000-3C
> config:
>
>        og          UNAVAIL  insufficient replicas
>          mirror    UNAVAIL  insufficient replicas
>            da0     UNAVAIL  cannot open
>            da1     UNAVAIL  cannot open
> root at ogre2:~# zpool status
>  pool: o
>  state: ONLINE
>  scrub: none requested
> config:
>
>        NAME        STATE     READ WRITE CKSUM
>        o           ONLINE       0     0     0
>          mirror    ONLINE       0     0     0
>            da0h    ONLINE       0     0     0
>            da1h    ONLINE       0     0     0
>
> errors: No known data errors
> root at ogre2:~# zpool import -f og
> cannot import 'og': no such pool or dataset
> root at ogre2:~# zpool destroy og
> cannot open 'og': no such pool
>
> Thanks in advance.
>
> --
> Sincerely,
> D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
> [ FreeBSD committer:                                 marck at FreeBSD.org ]
> ------------------------------------------------------------------------
> *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
> ------------------------------------------------------------------------
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>


More information about the freebsd-fs mailing list