DanPrs
Explorer
- Joined
- Dec 30, 2013
- Messages
- 78
ZFS2 so data is still good. However I had a loose power SATA cable that was feeding two drives, come loose. The two drives are now plugged in but I'm not sure how I need to add them back. And if they need to resilver.
Code:
root@freenas:~ # zpool status pool: freenas-boot state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM freenas-boot ONLINE 0 0 0 da1p2 ONLINE 0 0 0 errors: No known data errors pool: vol01 state: DEGRADED status: One or more devices could not be opened. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Attach the missing device and online it using 'zpool online'. see: http://illumos.org/msg/ZFS-8000-2Q scan: none requested config: NAME STATE READ WRITE CKSUM vol01 DEGRADED 0 0 0 raidz2-0 DEGRADED 0 0 0 gptid/ca735441-68ea-11e7-b079-bc5ff4e79bf9.eli ONLINE 0 0 0 gptid/cb1a547d-68ea-11e7-b079-bc5ff4e79bf9.eli ONLINE 0 0 0 gptid/cbceb3e9-68ea-11e7-b079-bc5ff4e79bf9.eli ONLINE 0 0 0 15721754969528194695 UNAVAIL 0 0 0 was /dev/gptid/cc84d917-68ea-11e7-b079-bc5ff4e79bf9.eli 7762318063434369017 UNAVAIL 0 0 0 was /dev/gptid/cd3cc582-68ea-11e7-b079-bc5ff4e79bf9.eli errors: No known data errors root@freenas:~ # root@freenas:~ # root@freenas:~ # root@freenas:~ # zpool online vol01 cc84d917-68ea-11e7-b079-bc5ff4e79bf9.eli cannot online cc84d917-68ea-11e7-b079-bc5ff4e79bf9.eli: no such device in pool root@freenas:~ # zpool online vol01 missing device name usage: online [-e] <pool> <device> ... root@freenas:~ # zpool online -e vol01 7762318063434369017 warning: device '7762318063434369017' onlined, but remains in faulted state use 'zpool replace' to replace devices that are no longer present root@freenas:~ #