[ZFS] recover destroyed zpool - what are the available options?

Beeblebrox zaphod at berentweb.com
Thu Apr 4 16:10:30 UTC 2013


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.


More information about the freebsd-questions mailing list