zpool status -v pool: zfsroot state: DEGRADED status: One or more devices has been taken offline by the administrator. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Online the device using 'zpool online' or replace the device with 'zpool replace'. scan: none requested config: NAME STATE READ WRITE CKSUM zfsroot DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 gptid/6e0fa469-b8a2-11e2-8604-8c89a511e867 ONLINE 0 0 0 gptid/6e6b6135-b8a2-11e2-8604-8c89a511e867 ONLINE 0 0 0 16691495089254086186 OFFLINE 0 0 0 was /dev/dsk/gptid/9ed38462-2924-11e3-8dee-8c89a511e867 gptid/6f3541bc-b8a2-11e2-8604-8c89a511e867 ONLINE 0 0 0 gptid/6f91613f-b8a2-11e2-8604-8c89a511e867 ONLINE 0 0 0 errors: No known data errors
5 disks, all WD30EFRX, ada1 - ada5How many disks were in your pool originally?
pool: zfsroot state: DEGRADED status: One or more devices has been taken offline by the administrator. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Online the device using 'zpool online' or replace the device with 'zpool replace'. scan: none requested config: NAME STATE READ WRITE CKSUM zfsroot DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 1 gptid/6e0fa469-b8a2-11e2-8604-8c89a511e867 ONLINE 0 0 0 gptid/6e6b6135-b8a2-11e2-8604-8c89a511e867 ONLINE 0 0 0 16691495089254086186 OFFLINE 0 0 0 was /dev/dsk/gptid/9ed38462-2924-11e3-8dee-8c89a511e867 gptid/6f3541bc-b8a2-11e2-8604-8c89a511e867 ONLINE 0 0 0 gptid/6f91613f-b8a2-11e2-8604-8c89a511e867 ONLINE 0 0 0 errors: No known data errors
<M4-CT064M4SSD2 0309> at scbus0 target 0 lun 0 (pass0,ada0) <WDC WD30EFRX-68AX9N0 80.00A80> at scbus1 target 0 lun 0 (pass1,ada1) <WDC WD30EFRX-68AX9N0 80.00A80> at scbus2 target 0 lun 0 (pass2,ada2) <WDC WD30EFRX-68AX9N0 80.00A80> at scbus3 target 0 lun 0 (pass3,ada3) <WDC WD30EFRX-68AX9N0 80.00A80> at scbus4 target 0 lun 0 (pass4,ada4) <WDC WD30EFRX-68AX9N0 80.00A80> at scbus5 target 0 lun 0 (pass5,ada5) <WDC WD30 EZRX-00DC0B0 80.0> at scbus6 target 0 lun 0 (da0,pass6)
glabel status Name Status Components ufs/FreeNASs3 N/A ada0s3 ufs/FreeNASs4 N/A ada0s4 ufsid/5144fed8f696ca23 N/A ada0s1a ufs/FreeNASs1a N/A ada0s1a ufs/FreeNASs2a N/A ada0s2a gptid/6e0fa469-b8a2-11e2-8604-8c89a511e867 N/A ada1p2 gptid/6e6b6135-b8a2-11e2-8604-8c89a511e867 N/A ada2p2 gptid/9ed38462-2924-11e3-8dee-8c89a511e867 N/A ada3p2 gptid/6f3541bc-b8a2-11e2-8604-8c89a511e867 N/A ada4p2 gptid/6f91613f-b8a2-11e2-8604-8c89a511e867 N/A ada5p2 gptid/a7f0110c-2cd2-11e3-9a19-000c290d31b5 N/A da0p1 ufs/Loewe N/A da0p2
zpool online zfsroot gptid/9ed38462-2924-11e3-8dee-8c89a511e867
[root@nas] ~# zpool online zfsroot gptid/9ed38462-2924-11e3-8dee-8c89a511e867 cannot online gptid/9ed38462-2924-11e3-8dee-8c89a511e867: no such device in pool [root@nas] ~# zpool online zfsroot 16691495089254086186 warning: device '16691495089254086186' onlined, but remains in faulted state use 'zpool replace' to replace devices that are no longer present [root@nas] ~#
zpool status pool: zfsroot 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://www.sun.com/msg/ZFS-8000-2Q scan: none requested config: NAME STATE READ WRITE CKSUM zfsroot DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 1 gptid/6e0fa469-b8a2-11e2-8604-8c89a511e867 ONLINE 0 0 0 gptid/6e6b6135-b8a2-11e2-8604-8c89a511e867 ONLINE 0 0 0 16691495089254086186 UNAVAIL 0 0 0 was /dev/dsk/gptid/9ed38462-2924-11e3-8dee-8c89a511e867 gptid/6f3541bc-b8a2-11e2-8604-8c89a511e867 ONLINE 0 0 0 gptid/6f91613f-b8a2-11e2-8604-8c89a511e867 ONLINE 0 0 0 errors: No known data errors
Because it is not damaged. I checked smart with another system and there is no error.Why are you replacing the disk with itself?
smartctl -a /dev/adaX smartctl -t long /dev/adaX
zpool replace zfsroot 16691495089254086186 gptid/9ed38462-2924-11e3-8dee-8c89a511e867 invalid vdev specification use '-f' to override the following errors: /dev/gptid/9ed38462-2924-11e3-8dee-8c89a511e867 is part of active pool 'zfsroot'
smartctl -a /dev/ada3
smartctl 5.43 2012-06-30 r3573 [FreeBSD 8.3-RELEASE-p7 amd64] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Device Model: WDC WD30EFRX-68AX9N0
Serial Number: WD-WCC1T0620237
LU WWN Device Id: 5 0014ee 2083b2c97
Firmware Version: 80.00A80
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: ACS-2 (revision not indicated)
Local Time is: Sat Oct 5 23:44:35 2013 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (40020) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 401) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x70bd) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 182 174 021 Pre-fail Always - 5875
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 72
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 172
10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 72
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 15
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 56
194 Temperature_Celsius 0x0022 109 106 000 Old_age Always - 41
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 0
SMART Error Log Version: 1
ATA Error Count: 5
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 5 occurred at disk power-on lifetime: 160 hours (6 days + 16 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 61 01 80 00 00 40 Device Fault; Error: ABRT 1 sectors at LBA = 0x00000080 = 128
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 01 80 00 00 40 08 00:18:34.573 READ DMA
c8 00 01 80 00 00 40 08 00:18:34.573 READ DMA
c8 00 01 80 00 00 40 08 00:18:34.573 READ DMA
c8 00 01 80 00 00 40 08 00:18:34.573 READ DMA
c8 00 01 80 00 00 40 08 00:18:34.572 READ DMA
Error 4 occurred at disk power-on lifetime: 160 hours (6 days + 16 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 61 01 80 00 00 40 Device Fault; Error: ABRT 1 sectors at LBA = 0x00000080 = 128
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 01 80 00 00 40 08 00:18:34.573 READ DMA
c8 00 01 80 00 00 40 08 00:18:34.573 READ DMA
smartctl -a /dev/ada1
smartctl 5.43 2012-06-30 r3573 [FreeBSD 8.3-RELEASE-p7 amd64] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Device Model: WDC WD30EFRX-68AX9N0
Serial Number: WD-WCC1T0653755
LU WWN Device Id: 5 0014ee 25d90470d
Firmware Version: 80.00A80
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: ACS-2 (revision not indicated)
Local Time is: Sat Oct 5 23:52:29 2013 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (40080) seconds.
Offline data collection
Error 5 occurred at disk power-on lifetime: 160 hours (6 days + 16 hours) When the command that caused the error occurred, the device was active or idle. 04 61 01 80 00 00 40 Device Fault; Error: ABRT 1 sectors at LBA = 0x00000080 = 128