Date: Thu, 4 Apr 2013 09:10:29 -0700 (PDT) From: Beeblebrox <zaphod@berentweb.com> To: freebsd-questions@freebsd.org Subject: [ZFS] recover destroyed zpool - what are the available options? Message-ID: <1365091829108-5801581.post@n5.nabble.com> In-Reply-To: <1365090630957-5801568.post@n5.nabble.com> References: <1364711810171-5800299.post@n5.nabble.com> <1365002276096-5801335.post@n5.nabble.com> <515C4B14.80300@gmail.com> <1365004246715-5801356.post@n5.nabble.com> <1365087055.99393.YahooMailRC@web184303.mail.ne1.yahoo.com> <1365090630957-5801568.post@n5.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Volodymyr.
The pools do not show up as deleted.
# zpool list (the pool that had disappeared has returned)
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
asp - - - - - FAULTED -
bsdr - - - - - FAULTED -
bsds 48.8G 12.9G 35.8G 26% 1.25x ONLINE -
# zpool import
no pools available to import
# zpool import -D
pool: bsdr
id: 12018916494219117471
state: UNAVAIL (DESTROYED)
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
config: bsdr UNAVAIL insufficient replicas
*17860002997423999070* UNAVAIL cannot open
pool: bsdr
id: 16018525702691588432
state: UNAVAIL (DESTROYED)
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
config: bsdr UNAVAIL insufficient replicas
5853256800575798014 UNAVAIL cannot open
# zpool status -v bsdr
pool: bsdr
state: UNAVAIL
status: One or more devices could not be opened. There are insufficient
replicas for the pool to continue functioning.
action: Attach the missing device and online it using 'zpool online'.
config: NAME STATE READ WRITE CKSUM
bsdr UNAVAIL 0 0 0
*12606749387939346898* UNAVAIL 0 0 0 was /dev/ada0p2
Form my post #2 you can check that ZDB record has 2 GUIDs:
guid: *17852168552651762162* and guid: *12606749387939346898*
Thank You.
--
View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-recover-destroyed-zpool-what-are-the-available-options-tp5800299p5801581.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1365091829108-5801581.post>
