Date: Tue, 3 Jun 2014 10:44:16 -0400 From: Janos Dohanics <web@3dresearch.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: zpool offline - no such device Message-ID: <20140603104416.a13299f4a2bbdbdb36782dee@3dresearch.com>
next in thread | raw e-mail | index | archive | help
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 repaired. scan: scrub repaired 64K in 2h39m with 0 errors on Sun Jun 1 02:39:08 2014 config: 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140603104416.a13299f4a2bbdbdb36782dee>