I posted this yesterday but its gone from the forum so I will now repost.
WE had a drive that showed bad so we took it offline and reformatted it . now we are attempting to bring it back online and or add back to the pool and its failing with the following, Not sure how to proceed.
FreeNAS-8.3.0-RELEASE-p1-x64 (r12825)
Feb 11 15:56:51 freenas notifier: swapoff: /dev/da19p1: Invalid argument
Feb 11 15:56:51 freenas notifier: 1+0 records in
Feb 11 15:56:51 freenas notifier: 1+0 records out
Feb 11 15:56:51 freenas notifier: 1048576 bytes transferred in 0.063011 secs (16641176 bytes/sec)
Feb 11 15:56:52 freenas notifier: dd: /dev/da19: short write on character device
Feb 11 15:56:52 freenas notifier: dd: /dev/da19: end of device
Feb 11 15:56:52 freenas notifier: 5+0 records in
Feb 11 15:56:52 freenas notifier: 4+1 records out
Feb 11 15:56:52 freenas notifier: 4608000 bytes transferred in 0.332177 secs (13872116 bytes/sec)
Feb 11 15:56:54 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: Disk replacement failed: "invalid vdev specification, use '-f' to override the following errors:, /dev/gptid/2e1bc2bc-9378-11e3-84b2-00142223ebd1 is part of active pool 'StorageZFS', "]
zpool status
pool: Storage
state: ONLINE
scan: scrub repaired 0 in 0h27m with 0 errors on Thu Jan 30 17:18:55 2014
config:
NAME STATE READ WRITE CKSUM
Storage ONLINE 0 0 0
gptid/5ff59bcf-bbd6-11e1-a51d-00142223ebd1 ONLINE 0 0 0
errors: No known data errors
pool: StorageZFS
state: DEGRADED
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://www.sun.com/msg/ZFS-8000-9P
scan: scrub repaired 0 in 2h4m with 0 errors on Tue Feb 11 18:20:53 2014
config:
NAME STATE READ WRITE CKSUM
StorageZFS DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
gptid/65666bda-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6654e226-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/67437b18-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6831fe50-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/692bc5e1-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
386049288687119066 OFFLINE 1 0 0 was /dev/gptid/6a259afa-ba50-11e1-9b17-000bdbe2a1b2
gptid/6b17be11-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6c095ba4-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6cf7bbe5-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6dec3228-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6ee6fbd7-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6fe5e043-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/70de8a86-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/71d998c8-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/72d885cb-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/73d5dccc-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/74d452ce-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/75da5545-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/76df0b8f-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/77df7a6f-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/78da078f-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/79d8bb72-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/7ae0c177-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/7be1e9c7-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/7ce9b4b2-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/7dedf763-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/7ef40382-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/7ff2e7e6-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
errors: No known data errors
WE had a drive that showed bad so we took it offline and reformatted it . now we are attempting to bring it back online and or add back to the pool and its failing with the following, Not sure how to proceed.
FreeNAS-8.3.0-RELEASE-p1-x64 (r12825)
Feb 11 15:56:51 freenas notifier: swapoff: /dev/da19p1: Invalid argument
Feb 11 15:56:51 freenas notifier: 1+0 records in
Feb 11 15:56:51 freenas notifier: 1+0 records out
Feb 11 15:56:51 freenas notifier: 1048576 bytes transferred in 0.063011 secs (16641176 bytes/sec)
Feb 11 15:56:52 freenas notifier: dd: /dev/da19: short write on character device
Feb 11 15:56:52 freenas notifier: dd: /dev/da19: end of device
Feb 11 15:56:52 freenas notifier: 5+0 records in
Feb 11 15:56:52 freenas notifier: 4+1 records out
Feb 11 15:56:52 freenas notifier: 4608000 bytes transferred in 0.332177 secs (13872116 bytes/sec)
Feb 11 15:56:54 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: Disk replacement failed: "invalid vdev specification, use '-f' to override the following errors:, /dev/gptid/2e1bc2bc-9378-11e3-84b2-00142223ebd1 is part of active pool 'StorageZFS', "]
zpool status
pool: Storage
state: ONLINE
scan: scrub repaired 0 in 0h27m with 0 errors on Thu Jan 30 17:18:55 2014
config:
NAME STATE READ WRITE CKSUM
Storage ONLINE 0 0 0
gptid/5ff59bcf-bbd6-11e1-a51d-00142223ebd1 ONLINE 0 0 0
errors: No known data errors
pool: StorageZFS
state: DEGRADED
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://www.sun.com/msg/ZFS-8000-9P
scan: scrub repaired 0 in 2h4m with 0 errors on Tue Feb 11 18:20:53 2014
config:
NAME STATE READ WRITE CKSUM
StorageZFS DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
gptid/65666bda-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6654e226-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/67437b18-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6831fe50-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/692bc5e1-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
386049288687119066 OFFLINE 1 0 0 was /dev/gptid/6a259afa-ba50-11e1-9b17-000bdbe2a1b2
gptid/6b17be11-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6c095ba4-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6cf7bbe5-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6dec3228-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6ee6fbd7-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/6fe5e043-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/70de8a86-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/71d998c8-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/72d885cb-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/73d5dccc-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/74d452ce-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/75da5545-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/76df0b8f-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/77df7a6f-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/78da078f-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/79d8bb72-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/7ae0c177-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/7be1e9c7-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/7ce9b4b2-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/7dedf763-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/7ef40382-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
gptid/7ff2e7e6-ba50-11e1-9b17-000bdbe2a1b2 ONLINE 0 0 0
errors: No known data errors