debian9/raid1 assembly/unexpected failure opening device
From: Joel Walberg <hidden>
Date: 2017-08-31 12:06:42
## If you have any ideas or suggestions, I would appreciate it.
##
## ==issue====================================
## ===========================================
## System has 3 hard drives, 1=OS, 2=RAID1 members
## Prior OS: Debian 7
## Installed Debian 9 on OS drive, unable to now get RAID1
assembled/started/missing special device files
##
## root@jowahome:~# mdadm -A /dev/md2014 /dev/sdc1 /dev/sdb1
## mdadm: unexpected failure opening /dev/md2014
## root@jowahome:~# mdadm -A /dev/md/md2014 /dev/sdc1 /dev/sdb1
## mdadm: unexpected failure opening /dev/md2014
##
##
## ==output===================================
## ===========================================
## root@jowahome:~# mdadm -E -s
## ARRAY /dev/md/md2014 metadata=1.2
UUID=43dbaec6:5b167da8:01bf232d:c218eb6c name=jowahome:md2014
## ==output===================================
## ===========================================
## root@jowahome:~# mdadm -E /dev/sdb1
## /dev/sdb1:
## Magic : a92b4efc
## Version : 1.2
## Feature Map : 0x0
## Array UUID : 43dbaec6:5b167da8:01bf232d:c218eb6c
## Name : jowahome:md2014 (local to host jowahome)
## Creation Time : Thu Dec 4 17:44:01 2014
## Raid Level : raid1
## Raid Devices : 2
##
## Avail Dev Size : 5860268032 (2794.39 GiB 3000.46 GB)
## Array Size : 2930133824 (2794.39 GiB 3000.46 GB)
## Used Dev Size : 5860267648 (2794.39 GiB 3000.46 GB)
## Data Offset : 262144 sectors
## Super Offset : 8 sectors
## Unused Space : before=262064 sectors, after=384 sectors
## State : clean
## Device UUID : 3d78e679:e1ec930a:92f60635:3f8d79b5
##
## Update Time : Wed Aug 30 10:01:33 2017
## Checksum : 83624b92 - correct
## Events : 48385
##
##
## Device Role : Active device 1
## Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
## ==output===================================
## ===========================================
## root@jowahome:~# mdadm -E /dev/sdc1
## /dev/sdc1:
## Magic : a92b4efc
## Version : 1.2
## Feature Map : 0x0
## Array UUID : 43dbaec6:5b167da8:01bf232d:c218eb6c
## Name : jowahome:md2014 (local to host jowahome)
## Creation Time : Thu Dec 4 17:44:01 2014
## Raid Level : raid1
## Raid Devices : 2
##
## Avail Dev Size : 5860268032 (2794.39 GiB 3000.46 GB)
## Array Size : 2930133824 (2794.39 GiB 3000.46 GB)
## Used Dev Size : 5860267648 (2794.39 GiB 3000.46 GB)
## Data Offset : 262144 sectors
## Super Offset : 8 sectors
## Unused Space : before=262064 sectors, after=384 sectors
## State : clean
## Device UUID : ffb6f0de:43aa75a9:3feb8c8e:b7c41993
##
## Update Time : Wed Aug 30 10:01:33 2017
## Checksum : be7473da - correct
## Events : 48385
##
##
## Device Role : Active device 0
## Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
## ==output===================================
## ===========================================
## root@jowahome:~# smartctl --xall /dev/sdb
## smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-3-amd64] (local build)
## Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
##
## === START OF INFORMATION SECTION ===
## Model Family: Seagate Barracuda 7200.14 (AF)
## Device Model: ST3000DM001-1ER166
## Serial Number: Z5009M1W
## LU WWN Device Id: 5 000c50 07903c6be
## Firmware Version: CC43
## User Capacity: 3,000,592,982,016 bytes [3.00 TB]
## Sector Sizes: 512 bytes logical, 4096 bytes physical
## Rotation Rate: 7200 rpm
## Form Factor: 3.5 inches
## Device is: In smartctl database [for details use: -P show]
## ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b
## SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
## Local Time is: Thu Aug 31 05:31:38 2017 MDT
## SMART support is: Available - device has SMART capability.
## SMART support is: Enabled
## AAM feature is: Unavailable
## APM level is: 254 (maximum performance)
## Rd look-ahead is: Enabled
## Write cache is: Enabled
## ATA Security is: Disabled, frozen [SEC2]
## Wt Cache Reorder: Unavailable
##
## === START OF READ SMART DATA SECTION ===
## SMART overall-health self-assessment test result: PASSED
##
## General SMART Values:
## Offline data collection status: (0x82) Offline data collection activity
## was completed without error.
## Auto Offline Data
Collection: Enabled.
## 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: ( 80) 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: ( 1) minutes.
## Extended self-test routine
## recommended polling time: ( 331) minutes.
## Conveyance self-test routine
## recommended polling time: ( 2) minutes.
## SCT capabilities: (0x1085) SCT Status supported.
##
## SMART Attributes Data Structure revision number: 10
## Vendor Specific SMART Attributes with Thresholds:
## ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
## 1 Raw_Read_Error_Rate POSR-- 118 099 006 - 186165552
## 3 Spin_Up_Time PO---- 094 092 000 - 0
## 4 Start_Stop_Count -O--CK 100 100 020 - 54
## 5 Reallocated_Sector_Ct PO--CK 100 100 010 - 0
## 7 Seek_Error_Rate POSR-- 070 060 030 - 10955017
## 9 Power_On_Hours -O--CK 075 075 000 - 22641
## 10 Spin_Retry_Count PO--C- 100 100 097 - 0
## 12 Power_Cycle_Count -O--CK 100 100 020 - 54
## 183 Runtime_Bad_Block -O--CK 100 100 000 - 0
## 184 End-to-End_Error -O--CK 100 100 099 - 0
## 187 Reported_Uncorrect -O--CK 100 100 000 - 0
## 188 Command_Timeout -O--CK 100 100 000 - 0 0 0
## 189 High_Fly_Writes -O-RCK 088 088 000 - 12
## 190 Airflow_Temperature_Cel -O---K 062 056 045 - 38
(Min/Max 37/42)
## 191 G-Sense_Error_Rate -O--CK 100 100 000 - 0
## 192 Power-Off_Retract_Count -O--CK 100 100 000 - 32
## 193 Load_Cycle_Count -O--CK 100 100 000 - 439
## 194 Temperature_Celsius -O---K 038 044 000 - 38 (0 15 0 0 0)
## 197 Current_Pending_Sector -O--C- 100 100 000 - 0
## 198 Offline_Uncorrectable ----C- 100 100 000 - 0
## 199 UDMA_CRC_Error_Count -OSRCK 200 200 000 - 0
## 240 Head_Flying_Hours ------ 100 253 000 -
20087h+17m+38.336s
## 241 Total_LBAs_Written ------ 100 253 000 - 40747055745
## 242 Total_LBAs_Read ------ 100 253 000 - 208387242739
## ||||||_ K auto-keep
## |||||__ C event count
## ||||___ R error rate
## |||____ S speed/performance
## ||_____ O updated online
## |______ P prefailure warning
##
## General Purpose Log Directory Version 1
## SMART Log Directory Version 1 [multi-sector log support]
## Address Access R/W Size Description
## 0x00 GPL,SL R/O 1 Log Directory
## 0x01 SL R/O 1 Summary SMART error log
## 0x02 SL R/O 5 Comprehensive SMART error log
## 0x03 GPL R/O 5 Ext. Comprehensive SMART error log
## 0x06 SL R/O 1 SMART self-test log
## 0x07 GPL R/O 1 Extended self-test log
## 0x09 SL R/W 1 Selective self-test log
## 0x10 GPL R/O 1 SATA NCQ Queued Error log
## 0x11 GPL R/O 1 SATA Phy Event Counters log
## 0x21 GPL R/O 1 Write stream error log
## 0x22 GPL R/O 1 Read stream error log
## 0x30 GPL,SL R/O 9 IDENTIFY DEVICE data log
## 0x80-0x9f GPL,SL R/W 16 Host vendor specific log
## 0xa1 GPL,SL VS 20 Device vendor specific log
## 0xa2 GPL VS 4496 Device vendor specific log
## 0xa8 GPL,SL VS 129 Device vendor specific log
## 0xa9 GPL,SL VS 1 Device vendor specific log
## 0xab GPL VS 1 Device vendor specific log
## 0xb0 GPL VS 5176 Device vendor specific log
## 0xbe-0xbf GPL VS 65535 Device vendor specific log
## 0xc0 GPL,SL VS 1 Device vendor specific log
## 0xc1 GPL,SL VS 10 Device vendor specific log
## 0xc3 GPL,SL VS 8 Device vendor specific log
## 0xc4 GPL,SL VS 5 Device vendor specific log
## 0xe0 GPL,SL R/W 1 SCT Command/Status
## 0xe1 GPL,SL R/W 1 SCT Data Transfer
##
## SMART Extended Comprehensive Error Log Version: 1 (5 sectors)
## No Errors Logged
##
## SMART Extended Self-test Log Version: 1 (1 sectors)
## Num Test_Description Status Remaining
LifeTime(hours) LBA_of_first_error
## # 1 Short offline Completed without error 00%
21086 -
##
## SMART Selective self-test log data structure revision number 1
## SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
## 1 0 0 Not_testing
## 2 0 0 Not_testing
## 3 0 0 Not_testing
## 4 0 0 Not_testing
## 5 0 0 Not_testing
## Selective self-test flags (0x0):
## After scanning selected spans, do NOT read-scan remainder of disk.
## If Selective self-test is pending on power-up, resume after 0 minute delay.
##
## SCT Status Version: 3
## SCT Version (vendor specific): 522 (0x020a)
## SCT Support Level: 1
## Device State: Active (0)
## Current Temperature: 38 Celsius
## Power Cycle Min/Max Temperature: 37/41 Celsius
## Lifetime Min/Max Temperature: 15/44 Celsius
## Under/Over Temperature Limit Count: 0/0
##
## SCT Data Table command not supported
##
## SCT Error Recovery Control command not supported
##
## Device Statistics (GP/SMART Log 0x04) not supported
##
## SATA Phy Event Counters (GP Log 0x11)
## ID Size Value Description
## 0x000a 2 18 Device-to-host register FISes sent due to a COMRESET
## 0x0001 2 0 Command failed due to ICRC error
## 0x0003 2 0 R_ERR response for device-to-host data FIS
## 0x0004 2 0 R_ERR response for host-to-device data FIS
## 0x0006 2 0 R_ERR response for device-to-host non-data FIS
## 0x0007 2 0 R_ERR response for host-to-device non-data FIS
##
## ==output===================================
## ===========================================
## root@jowahome:~# smartctl --xall /dev/sdc
## smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-3-amd64] (local build)
## Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
##
## === START OF INFORMATION SECTION ===
## Model Family: Seagate Barracuda 7200.14 (AF)
## Device Model: ST3000DM001-1ER166
## Serial Number: Z5009W5Z
## LU WWN Device Id: 5 000c50 079052344
## Firmware Version: CC43
## User Capacity: 3,000,592,982,016 bytes [3.00 TB]
## Sector Sizes: 512 bytes logical, 4096 bytes physical
## Rotation Rate: 7200 rpm
## Form Factor: 3.5 inches
## Device is: In smartctl database [for details use: -P show]
## ATA Version is: ACS-2, ACS-3 T13/2161-D revision 3b
## SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
## Local Time is: Thu Aug 31 05:31:41 2017 MDT
## SMART support is: Available - device has SMART capability.
## SMART support is: Enabled
## AAM feature is: Unavailable
## APM level is: 254 (maximum performance)
## Rd look-ahead is: Enabled
## Write cache is: Enabled
## ATA Security is: Disabled, frozen [SEC2]
## Wt Cache Reorder: Unavailable
##
## === START OF READ SMART DATA SECTION ===
## SMART overall-health self-assessment test result: PASSED
##
## General SMART Values:
## Offline data collection status: (0x82) Offline data collection activity
## was completed without error.
## Auto Offline Data
Collection: Enabled.
## 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: ( 89) 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: ( 1) minutes.
## Extended self-test routine
## recommended polling time: ( 332) minutes.
## Conveyance self-test routine
## recommended polling time: ( 2) minutes.
## SCT capabilities: (0x1085) SCT Status supported.
##
## SMART Attributes Data Structure revision number: 10
## Vendor Specific SMART Attributes with Thresholds:
## ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
## 1 Raw_Read_Error_Rate POSR-- 119 099 006 - 205036280
## 3 Spin_Up_Time PO---- 094 093 000 - 0
## 4 Start_Stop_Count -O--CK 100 100 020 - 59
## 5 Reallocated_Sector_Ct PO--CK 097 097 010 - 3344
## 7 Seek_Error_Rate POSR-- 070 060 030 - 11270536
## 9 Power_On_Hours -O--CK 075 075 000 - 22632
## 10 Spin_Retry_Count PO--C- 100 100 097 - 0
## 12 Power_Cycle_Count -O--CK 100 100 020 - 60
## 183 Runtime_Bad_Block -O--CK 098 098 000 - 2
## 184 End-to-End_Error -O--CK 100 100 099 - 0
## 187 Reported_Uncorrect -O--CK 100 100 000 - 0
## 188 Command_Timeout -O--CK 100 098 000 - 5 5 5
## 189 High_Fly_Writes -O-RCK 099 099 000 - 1
## 190 Airflow_Temperature_Cel -O---K 057 052 045 - 43
(Min/Max 42/46)
## 191 G-Sense_Error_Rate -O--CK 100 100 000 - 0
## 192 Power-Off_Retract_Count -O--CK 100 100 000 - 34
## 193 Load_Cycle_Count -O--CK 100 100 000 - 456
## 194 Temperature_Celsius -O---K 043 048 000 - 43 (0 15 0 0 0)
## 197 Current_Pending_Sector -O--C- 100 100 000 - 0
## 198 Offline_Uncorrectable ----C- 100 100 000 - 0
## 199 UDMA_CRC_Error_Count -OSRCK 200 200 000 - 0
## 240 Head_Flying_Hours ------ 100 253 000 -
20088h+20m+07.582s
## 241 Total_LBAs_Written ------ 100 253 000 - 24949386363
## 242 Total_LBAs_Read ------ 100 253 000 - 226511888729
## ||||||_ K auto-keep
## |||||__ C event count
## ||||___ R error rate
## |||____ S speed/performance
## ||_____ O updated online
## |______ P prefailure warning
##
## General Purpose Log Directory Version 1
## SMART Log Directory Version 1 [multi-sector log support]
## Address Access R/W Size Description
## 0x00 GPL,SL R/O 1 Log Directory
## 0x01 SL R/O 1 Summary SMART error log
## 0x02 SL R/O 5 Comprehensive SMART error log
## 0x03 GPL R/O 5 Ext. Comprehensive SMART error log
## 0x06 SL R/O 1 SMART self-test log
## 0x07 GPL R/O 1 Extended self-test log
## 0x09 SL R/W 1 Selective self-test log
## 0x10 GPL R/O 1 SATA NCQ Queued Error log
## 0x11 GPL R/O 1 SATA Phy Event Counters log
## 0x21 GPL R/O 1 Write stream error log
## 0x22 GPL R/O 1 Read stream error log
## 0x30 GPL,SL R/O 9 IDENTIFY DEVICE data log
## 0x80-0x9f GPL,SL R/W 16 Host vendor specific log
## 0xa1 GPL,SL VS 20 Device vendor specific log
## 0xa2 GPL VS 4496 Device vendor specific log
## 0xa8 GPL,SL VS 129 Device vendor specific log
## 0xa9 GPL,SL VS 1 Device vendor specific log
## 0xab GPL VS 1 Device vendor specific log
## 0xb0 GPL VS 5176 Device vendor specific log
## 0xbe-0xbf GPL VS 65535 Device vendor specific log
## 0xc0 GPL,SL VS 1 Device vendor specific log
## 0xc1 GPL,SL VS 10 Device vendor specific log
## 0xc3 GPL,SL VS 8 Device vendor specific log
## 0xc4 GPL,SL VS 5 Device vendor specific log
## 0xe0 GPL,SL R/W 1 SCT Command/Status
## 0xe1 GPL,SL R/W 1 SCT Data Transfer
##
## SMART Extended Comprehensive Error Log Version: 1 (5 sectors)
## No Errors Logged
##
## SMART Extended Self-test Log Version: 1 (1 sectors)
## Num Test_Description Status Remaining
LifeTime(hours) LBA_of_first_error
## # 1 Short offline Completed without error 00%
21078 -
##
## SMART Selective self-test log data structure revision number 1
## SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
## 1 0 0 Not_testing
## 2 0 0 Not_testing
## 3 0 0 Not_testing
## 4 0 0 Not_testing
## 5 0 0 Not_testing
## Selective self-test flags (0x0):
## After scanning selected spans, do NOT read-scan remainder of disk.
## If Selective self-test is pending on power-up, resume after 0 minute delay.
##
## SCT Status Version: 3
## SCT Version (vendor specific): 522 (0x020a)
## SCT Support Level: 1
## Device State: Active (0)
## Current Temperature: 42 Celsius
## Power Cycle Min/Max Temperature: 42/46 Celsius
## Lifetime Min/Max Temperature: 15/48 Celsius
## Under/Over Temperature Limit Count: 0/0
##
## SCT Data Table command not supported
##
## SCT Error Recovery Control command not supported
##
## Device Statistics (GP/SMART Log 0x04) not supported
##
## SATA Phy Event Counters (GP Log 0x11)
## ID Size Value Description
## 0x000a 2 18 Device-to-host register FISes sent due to a COMRESET
## 0x0001 2 0 Command failed due to ICRC error
## 0x0003 2 0 R_ERR response for device-to-host data FIS
## 0x0004 2 0 R_ERR response for host-to-device data FIS
## 0x0006 2 0 R_ERR response for device-to-host non-data FIS
## 0x0007 2 0 R_ERR response for host-to-device non-data FIS
##
## ==output===================================
## ===========================================
## root@jowahome:~# mdadm --examine /dev/sdb
## /dev/sdb:
## MBR Magic : aa55
## Partition[0] : 4294967295 sectors at 1 (type ee)
##
## ==output===================================
## ===========================================
## root@jowahome:~# mdadm --examine /dev/sdc
## /dev/sdc:
## MBR Magic : aa55
## Partition[0] : 4294967295 sectors at 1 (type ee)
##
## ==output===================================
## ===========================================
## root@jowahome:~/lsdrv# ./lsdrv
## **Warning** The following utility(ies) failed to execute:
## sginfo
## Some information may be missing.
##
## PCI [ata_piix] 00:1f.2 IDE interface: Intel Corporation 7
Series/C210 Series Chipset Family 4-port SATA Controller [IDE mode]
(rev 04)
## ├scsi 0:0:0:0 ATA WDC WD20EARX-00P {WD-WCAZAA923311}
## │└sda 1.82t [8:0] Partitioned (dos)
## │ ├sda1 1.79t [8:1] ext4 {f714c162-9d48-48d1-9b25-34c7a36d0ae5}
## │ │└Mounted as /dev/sda1 @ /
## │ ├sda2 1.00k [8:2] Partitioned (dos)
## │ └sda5 31.78g [8:5] swap {e3367b07-46bf-4903-871f-83f6b8d6d823}
## ├scsi 0:0:1:0 ATA ST3000DM001-1ER1 {Z5009M1W}
## │└sdb 2.73t [8:16] Partitioned (gpt)
## │ └sdb1 2.73t [8:17] MD raid1 (2) inactive 'jowahome:md2014'
{43dbaec6-5b16-7da8-01bf-232dc218eb6c}
## └scsi 1:0:1:0 ATA ST3000DM001-1ER1 {Z5009W5Z}
## └sdc 2.73t [8:32] Partitioned (gpt)
## └sdc1 2.73t [8:33] MD raid1 (2) inactive 'jowahome:md2014'
{43dbaec6-5b16-7da8-01bf-232dc218eb6c}
## PCI [ata_piix] 00:1f.5 IDE interface: Intel Corporation 7
Series/C210 Series Chipset Family 2-port SATA Controller [IDE mode]
(rev 04)
## ├scsi 2:x:x:x [Empty]
## └scsi 3:0:0:0 ATAPI DVD A DH24ACSH {2A8215504489}
## └sr0 1.00g [11:0] Empty/Unknown
## USB [usb-storage] Bus 001 Device 003: ID 058f:6362 Alcor Micro
Corp. Flash Card Reader/Writer {058F63626420}
## ├scsi 4:0:0:0 Generic- SD/MMC
## │└sdd 0.00k [8:48] Empty/Unknown
## ├scsi 4:0:0:1 Generic- Compact Flash
## │└sde 0.00k [8:64] Empty/Unknown
## ├scsi 4:0:0:2 Generic- SM/xD Picture
## │└sdf 0.00k [8:80] Empty/Unknown
## └scsi 4:0:0:3 Generic- MS/MS-Pro
## └sdg 0.00k [8:96] Empty/Unknown
##
## ==output===================================
## ===========================================
## root@jowahome:~/lsdrv# cat /proc/mdstat
## Personalities : [linear] [multipath] [raid0] [raid1] [raid6]
[raid5] [raid4] [raid10]
## unused devices: <none>
##
## ==output===================================
## ===========================================
##
--
___________________________
Joel A. Walberg
joel.walberg@gmail.com