zpool offline - no such device

Janos Dohanics web at 3dresearch.com
Tue Jun 3 14:48:19 UTC 2014

Hello List,

I have a failing/failed drive:

# zpool status -x
  pool: vol1
 state: DEGRADED
status: One or more devices are faulted in response to persistent errors.
	Sufficient replicas exist for the pool to continue functioning in a
	degraded state.
action: Replace the faulted device, or use 'zpool clear' to mark the device
  scan: scrub repaired 64K in 2h39m with 0 errors on Sun Jun  1 02:39:08 2014

	NAME                                            STATE     READ WRITE CKSUM
	vol1                                            DEGRADED     0     0     0
	  raidz1-0                                      DEGRADED     0     0     0
	    gptid/e433f9c3-0545-11e1-812d-8c89a53220c1  ONLINE       0     0     0
	    gptid/e485eeba-0545-11e1-812d-8c89a53220c1  FAULTED     49   260     0  too many errors
	    gptid/e4d8ee9d-0545-11e1-812d-8c89a53220c1  ONLINE       0     0     0

errors: No known data errors

>From the output of "gpart list",
gptid/e485eeba-0545-11e1-812d-8c89a53220c1 corresponds to ada1p2.

So, using the example from the handbook, I tried:

# zpool offline vol1 ada1
cannot offline ada1: no such device in pool

Why is it that zpool doesn't know about the ada1 device?

For the failing drive, "zdb" gives:

guid: 16455153587833556178

Should I try "zpool offline vol1 [guid]"?

When I'm replacing the failing drive with a new one (in the same USB
slot), can I expect "zpool replace vol1 ada1" to work?

Janos Dohanics

More information about the freebsd-questions mailing list