zpool offline - no such device

看板FB_questions作者時間11年前 (2014/06/04 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/5 (看更多)
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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1JZWrVlt (FB_questions)
文章代碼(AID): #1JZWrVlt (FB_questions)