From: importantdata <importantdata@protonmail.com>
To: "linux-raid@vger.kernel.org" <linux-raid@vger.kernel.org>
Subject: 3 drive RAID5 with 1 bad drive, 1 drive active but not clean and a single clean drive
Date: Wed, 03 Feb 2021 04:04:39 +0000 [thread overview]
Message-ID: <zW1Vpeu_m_VHOIbt9dY8B6LakQEAoxEKrNxOjfEOyCt1FIYMsv39Nn39Bppy1b3Yl-66v8GQIcseAITpj9ztBzd22Zw-l28aFEJhhTb2MvY=@protonmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 5512 bytes --]
Hello,
So, I have a bad situation. I run a raid5 array with 3 drives, I noticed one had fallen out of the array. I need to setup better monitoring, it turns out this was quite some time ago (back in Nov!). This leaves two drives and puts me into a bit of a scare. So I decide to move the important data off to a different array. I created a dir in /mnt made a new LVM partition formatted it as EXT4 and started syncing stuff over... Kinda forgot to actually mount it though so all that data was syncing right back into the bad array (woops!). Server died this morning, I assume the extra stress may have done something with the drives, or perhaps it filled up root and panicked. In either case I could not boot. Setup a fresh OS on my other raid array and got some tools installed and now I am working on trying to assemble the bad raid array enough to pull out my data. My data is contained within an LVM within the raid array.
I have attached the examine and mdadm of the drives, as you can see ddd has a really old update time. This drive was having lots of i/o errors. So I want to use sde and sdf to assemble a read-only array, assemble the LVM, mount then copy my important data off. They are 185 events different so I assume there will be some slight data corruption. But I am hoping its mostly fine and likely part of my bad rsync.
So unfortunately I don't know what mdadm version was used to make this array or the OS version as that's all stuck on the dead array. Here is what I am running on my new install I am using to try and recover the data:
Linux 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux
mdadm - v4.1 - 2018-10-01
The initial -D looked like this:
```
root@kglhost-1:~# mdadm -D /dev/md1
/dev/md1:
Version : 1.2
Raid Level : raid0
Total Devices : 3
Persistence : Superblock is persistent
State : inactive
Working Devices : 3
Name : blah:1
UUID : fba7c062:e352fa39:fdc09bf9:e21c4617
Events : 18094545
Number Major Minor RaidDevice
- 8 82 - /dev/sdf2
- 8 66 - /dev/sde2
- 8 50 - /dev/sdd2
```
I tried to run the array but that failed:
```
# mdadm -o -R /dev/md1
mdadm: failed to start array /dev/md/1: Input/output error
```
In dmesg it says
```
[Tue Feb 2 21:14:42 2021] md: kicking non-fresh sdd2 from array!
[Tue Feb 2 21:14:42 2021] md: kicking non-fresh sdf2 from array!
[Tue Feb 2 21:14:42 2021] md/raid:md1: device sde2 operational as raid disk 1
[Tue Feb 2 21:14:42 2021] md/raid:md1: not enough operational devices (2/3 failed)
[Tue Feb 2 21:14:42 2021] md/raid:md1: failed to run raid set.
[Tue Feb 2 21:14:42 2021] md: pers->run() failed ...
```
That made the array look like so:
```
# mdadm -D /dev/md1
/dev/md1:
Version : 1.2
Creation Time : Thu Jul 30 21:34:20 2015
Raid Level : raid5
Used Dev Size : 489615360 (466.93 GiB 501.37 GB)
Raid Devices : 3
Total Devices : 1
Persistence : Superblock is persistent
Update Time : Tue Feb 2 13:55:02 2021
State : active, FAILED, Not Started
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
Consistency Policy : unknown
Name : blah:1
UUID : fba7c062:e352fa39:fdc09bf9:e21c4617
Events : 18094730
Number Major Minor RaidDevice State
- 0 0 0 removed
- 0 0 1 removed
- 0 0 2 removed
- 8 66 1 sync /dev/sde2
```
I was hoping that assume-clean might be helpful, but seems I can't assemble with that option
```
# mdadm --assemble --assume-clean -o /dev/md1 /dev/sde /dev/sdf
mdadm: :option --assume-clean not valid in assemble mode
```
So I tried a more normal assemble but it does not have enough drives to start the array:
```
# mdadm --assemble -o /dev/md1 /dev/sde2 /dev/sdf2
mdadm: /dev/md1 assembled from 1 drive - not enough to start the array.
```
mdstat looked like this awhile ago:
```
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : inactive sdf2[2](S) sde2[1](S)
979230720 blocks super 1.2
md2 : active raid5 sdb1[1] sda1[0] sdc1[2]
3906764800 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
bitmap: 1/15 pages [4KB], 65536KB chunk
md0 : active raid1 sde1[4]
242624 blocks super 1.0 [3/1] [_U_]
unused devices: <none>
```
Now it looks like so
```
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : inactive sdf2[2](S) sde2[1](S)
979230720 blocks super 1.2
md2 : active raid5 sdb1[1] sda1[0] sdc1[2]
3906764800 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
bitmap: 0/15 pages [0KB], 65536KB chunk
md0 : active raid1 sde1[4]
242624 blocks super 1.0 [3/1] [_U_]
unused devices: <none>
```
I am really concerned about --force... and https://raid.wiki.kernel.org/index.php/Linux_Raid#When_Things_Go_Wrogn does nothing to alleviate those fears.
Anyone have suggestions on what to do next?
Thanks!
[-- Attachment #2: examine_initial --]
[-- Type: application/octet-stream, Size: 2771 bytes --]
/dev/sdd2:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : fba7c062:e352fa39:fdc09bf9:e21c4617
Name : blah:1
Creation Time : Thu Jul 30 21:34:20 2015
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 979230720 (466.93 GiB 501.37 GB)
Array Size : 979230720 (933.87 GiB 1002.73 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=0 sectors
State : active
Device UUID : 8207f511:3d682eed:1d2e1a21:22be4bbe
Internal Bitmap : 8 sectors from superblock
Update Time : Sat Nov 14 11:37:41 2020
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : c88f9f59 - correct
Events : 11131049
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 0
Array State : AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sde2:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : fba7c062:e352fa39:fdc09bf9:e21c4617
Name : blah:1
Creation Time : Thu Jul 30 21:34:20 2015
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 979230720 (466.93 GiB 501.37 GB)
Array Size : 979230720 (933.87 GiB 1002.73 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=0 sectors
State : clean
Device UUID : bac88870:b0a0c476:169c5727:d2a5e9df
Internal Bitmap : 8 sectors from superblock
Update Time : Tue Feb 2 13:55:02 2021
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : d96ac0bb - correct
Events : 18094730
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 1
Array State : .A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdf2:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x1
Array UUID : fba7c062:e352fa39:fdc09bf9:e21c4617
Name : blah:1
Creation Time : Thu Jul 30 21:34:20 2015
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 979230720 (466.93 GiB 501.37 GB)
Array Size : 979230720 (933.87 GiB 1002.73 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262056 sectors, after=0 sectors
State : active
Device UUID : 4a582a34:d4a02964:2d3a29a0:3c96caf9
Internal Bitmap : 8 sectors from superblock
Update Time : Tue Feb 2 02:51:17 2021
Bad Block Log : 512 entries available at offset 72 sectors
Checksum : 1d2242ab - correct
Events : 18094545
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 2
Array State : .AA ('A' == active, '.' == missing, 'R' == replacing)
[-- Attachment #3: mdadm_all_sde --]
[-- Type: application/octet-stream, Size: 7750 bytes --]
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-13-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SiliconMotion based SSDs
Device Model: MKNSSDRE512GB
Serial Number: MK15061910003494E
LU WWN Device Id: 5 888914 10003494e
Firmware Version: N1007C
User Capacity: 512,110,190,592 bytes [512 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Feb 2 22:51:02 2021 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Disabled
APM feature is: Unavailable
Rd look-ahead is: Enabled
Write cache is: Enabled
DSN feature is: Unavailable
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: (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: ( 0) seconds.
Offline data collection
capabilities: (0x71) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0002) Does not save 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: ( 10) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate ------ 100 100 000 - 0
5 Reallocated_Sector_Ct ------ 100 100 000 - 0
9 Power_On_Hours ------ 100 100 000 - 3932
12 Power_Cycle_Count ------ 100 100 000 - 133
160 Uncorrectable_Error_Cnt ------ 100 100 000 - 0
161 Valid_Spare_Block_Cnt ------ 100 100 000 - 35
163 Initial_Bad_Block_Count ------ 100 100 000 - 34
164 Total_Erase_Count ------ 100 100 000 - 73207
165 Max_Erase_Count ------ 100 100 000 - 105
166 Min_Erase_Count ------ 100 100 000 - 2
167 Average_Erase_Count ------ 100 100 000 - 72
168 Max_Erase_Count_of_Spec ------ 100 100 000 - 3000
169 Remaining_Lifetime_Perc ------ 100 100 000 - 100
175 Program_Fail_Count_Chip ------ 100 100 000 - 0
176 Erase_Fail_Count_Chip ------ 100 100 000 - 0
177 Wear_Leveling_Count ------ 100 100 050 - 503
178 Runtime_Invalid_Blk_Cnt ------ 100 100 000 - 0
181 Program_Fail_Cnt_Total ------ 100 100 000 - 0
182 Erase_Fail_Count_Total ------ 100 100 000 - 0
192 Power-Off_Retract_Count ------ 100 100 000 - 34
194 Temperature_Celsius ------ 100 100 000 - 19
195 Hardware_ECC_Recovered ------ 100 100 000 - 2479953
196 Reallocated_Event_Count ------ 100 100 016 - 0
197 Current_Pending_Sector ------ 100 100 000 - 0
198 Offline_Uncorrectable ------ 100 100 000 - 0
199 UDMA_CRC_Error_Count ------ 100 100 050 - 0
232 Available_Reservd_Space ------ 100 100 000 - 100
241 Host_Writes_32MiB ------ 100 100 000 - 160645
242 Host_Reads_32MiB ------ 100 100 000 - 872734
245 TLC_Writes_32MiB ------ 100 100 000 - 1171312
||||||_ 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 GPL,SL R/O 1 Summary SMART error log
0x02 GPL,SL R/O 1 Comprehensive SMART error log
0x03 GPL,SL R/O 1 Ext. Comprehensive SMART error log
0x04 GPL,SL R/O 8 Device Statistics log
0x06 GPL,SL R/O 1 SMART self-test log
0x07 GPL,SL R/O 1 Extended self-test log
0x09 GPL,SL R/W 1 Selective self-test log
0x10 GPL,SL R/O 1 NCQ Command Error log
0x30 GPL,SL R/O 9 IDENTIFY DEVICE data log
0x80-0x9f GPL,SL R/W 16 Host vendor specific log
SMART Extended Comprehensive Error Log Version: 1 (1 sectors)
No Errors Logged
SMART Extended Self-test Log Version: 1 (1 sectors)
No self-tests have been logged. [To run self-tests, use: smartctl -t]
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 Commands not supported
Device Statistics (GP Log 0x04)
Page Offset Size Value Flags Description
0x01 ===== = = === == General Statistics (rev 2) ==
0x01 0x008 4 133 --- Lifetime Power-On Resets
0x01 0x010 4 3932 --- Power-on Hours
0x01 0x018 6 1938161492 --- Logical Sectors Written
0x01 0x020 6 562406930 --- Number of Write Commands
0x01 0x028 6 1360980051 --- Logical Sectors Read
0x01 0x030 6 573098318 --- Number of Read Commands
0x02 ===== = = === == Free-Fall Statistics (empty) ==
0x03 ===== = = === == Rotating Media Statistics (empty) ==
0x04 ===== = = === == General Errors Statistics (rev 1) ==
0x04 0x008 4 0 --- Number of Reported Uncorrectable Errors
0x04 0x010 4 34 --- Resets Between Cmd Acceptance and Completion
0x05 ===== = = === == Temperature Statistics (empty) ==
0x06 ===== = = === == Transport Statistics (rev 1) ==
0x06 0x008 4 288 --- Number of Hardware Resets
0x06 0x018 4 0 --- Number of Interface CRC Errors
0x07 ===== = = === == Solid State Device Statistics (rev 1) ==
0x07 0x008 1 2 --- Percentage Used Endurance Indicator
|||_ C monitored condition met
||__ D supports DSN
|___ N normalized value
Pending Defects log (GP Log 0x0c) not supported
SATA Phy Event Counters (GP Log 0x11) not supported
[-- Attachment #4: mdadm_all_sdf --]
[-- Type: application/octet-stream, Size: 7750 bytes --]
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-13-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SiliconMotion based SSDs
Device Model: MKNSSDRE512GB
Serial Number: MK150619100034852
LU WWN Device Id: 5 888914 100034852
Firmware Version: N1007C
User Capacity: 512,110,190,592 bytes [512 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Feb 2 22:51:05 2021 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Disabled
APM feature is: Unavailable
Rd look-ahead is: Enabled
Write cache is: Enabled
DSN feature is: Unavailable
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: (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: ( 0) seconds.
Offline data collection
capabilities: (0x71) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0002) Does not save 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: ( 10) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate ------ 100 100 000 - 0
5 Reallocated_Sector_Ct ------ 100 100 000 - 0
9 Power_On_Hours ------ 100 100 000 - 3955
12 Power_Cycle_Count ------ 100 100 000 - 139
160 Uncorrectable_Error_Cnt ------ 100 100 000 - 0
161 Valid_Spare_Block_Cnt ------ 100 100 000 - 39
163 Initial_Bad_Block_Count ------ 100 100 000 - 30
164 Total_Erase_Count ------ 100 100 000 - 67111
165 Max_Erase_Count ------ 100 100 000 - 105
166 Min_Erase_Count ------ 100 100 000 - 2
167 Average_Erase_Count ------ 100 100 000 - 66
168 Max_Erase_Count_of_Spec ------ 100 100 000 - 3000
169 Remaining_Lifetime_Perc ------ 100 100 000 - 100
175 Program_Fail_Count_Chip ------ 100 100 000 - 0
176 Erase_Fail_Count_Chip ------ 100 100 000 - 0
177 Wear_Leveling_Count ------ 100 100 050 - 459
178 Runtime_Invalid_Blk_Cnt ------ 100 100 000 - 0
181 Program_Fail_Cnt_Total ------ 100 100 000 - 0
182 Erase_Fail_Count_Total ------ 100 100 000 - 0
192 Power-Off_Retract_Count ------ 100 100 000 - 34
194 Temperature_Celsius ------ 100 100 000 - 19
195 Hardware_ECC_Recovered ------ 100 100 000 - 3130399
196 Reallocated_Event_Count ------ 100 100 016 - 0
197 Current_Pending_Sector ------ 100 100 000 - 0
198 Offline_Uncorrectable ------ 100 100 000 - 0
199 UDMA_CRC_Error_Count ------ 100 100 050 - 0
232 Available_Reservd_Space ------ 100 100 000 - 100
241 Host_Writes_32MiB ------ 100 100 000 - 166268
242 Host_Reads_32MiB ------ 100 100 000 - 871166
245 TLC_Writes_32MiB ------ 100 100 000 - 1073776
||||||_ 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 GPL,SL R/O 1 Summary SMART error log
0x02 GPL,SL R/O 1 Comprehensive SMART error log
0x03 GPL,SL R/O 1 Ext. Comprehensive SMART error log
0x04 GPL,SL R/O 8 Device Statistics log
0x06 GPL,SL R/O 1 SMART self-test log
0x07 GPL,SL R/O 1 Extended self-test log
0x09 GPL,SL R/W 1 Selective self-test log
0x10 GPL,SL R/O 1 NCQ Command Error log
0x30 GPL,SL R/O 9 IDENTIFY DEVICE data log
0x80-0x9f GPL,SL R/W 16 Host vendor specific log
SMART Extended Comprehensive Error Log Version: 1 (1 sectors)
No Errors Logged
SMART Extended Self-test Log Version: 1 (1 sectors)
No self-tests have been logged. [To run self-tests, use: smartctl -t]
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 Commands not supported
Device Statistics (GP Log 0x04)
Page Offset Size Value Flags Description
0x01 ===== = = === == General Statistics (rev 2) ==
0x01 0x008 4 139 --- Lifetime Power-On Resets
0x01 0x010 4 3955 --- Power-on Hours
0x01 0x018 6 2306625903 --- Logical Sectors Written
0x01 0x020 6 563201106 --- Number of Write Commands
0x01 0x028 6 1258181758 --- Logical Sectors Read
0x01 0x030 6 565294229 --- Number of Read Commands
0x02 ===== = = === == Free-Fall Statistics (empty) ==
0x03 ===== = = === == Rotating Media Statistics (empty) ==
0x04 ===== = = === == General Errors Statistics (rev 1) ==
0x04 0x008 4 0 --- Number of Reported Uncorrectable Errors
0x04 0x010 4 34 --- Resets Between Cmd Acceptance and Completion
0x05 ===== = = === == Temperature Statistics (empty) ==
0x06 ===== = = === == Transport Statistics (rev 1) ==
0x06 0x008 4 285 --- Number of Hardware Resets
0x06 0x018 4 0 --- Number of Interface CRC Errors
0x07 ===== = = === == Solid State Device Statistics (rev 1) ==
0x07 0x008 1 2 --- Percentage Used Endurance Indicator
|||_ C monitored condition met
||__ D supports DSN
|___ N normalized value
Pending Defects log (GP Log 0x0c) not supported
SATA Phy Event Counters (GP Log 0x11) not supported
[-- Attachment #5: mdadm_all_sdd --]
[-- Type: application/octet-stream, Size: 7747 bytes --]
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-13-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SiliconMotion based SSDs
Device Model: MKNSSDRE512GB
Serial Number: MK15061910003485C
LU WWN Device Id: 5 888914 10003485c
Firmware Version: N1007C
User Capacity: 512,110,190,592 bytes [512 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Feb 2 22:50:57 2021 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Disabled
APM feature is: Unavailable
Rd look-ahead is: Enabled
Write cache is: Enabled
DSN feature is: Unavailable
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: (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: ( 0) seconds.
Offline data collection
capabilities: (0x71) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0002) Does not save 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: ( 10) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate ------ 100 100 000 - 0
5 Reallocated_Sector_Ct ------ 100 100 000 - 1
9 Power_On_Hours ------ 100 100 000 - 3222
12 Power_Cycle_Count ------ 100 100 000 - 140
160 Uncorrectable_Error_Cnt ------ 100 100 000 - 12
161 Valid_Spare_Block_Cnt ------ 100 100 000 - 43
163 Initial_Bad_Block_Count ------ 100 100 000 - 26
164 Total_Erase_Count ------ 100 100 000 - 51284
165 Max_Erase_Count ------ 100 100 000 - 104
166 Min_Erase_Count ------ 100 100 000 - 2
167 Average_Erase_Count ------ 100 100 000 - 50
168 Max_Erase_Count_of_Spec ------ 100 100 000 - 3000
169 Remaining_Lifetime_Perc ------ 100 100 000 - 100
175 Program_Fail_Count_Chip ------ 100 100 000 - 0
176 Erase_Fail_Count_Chip ------ 100 100 000 - 0
177 Wear_Leveling_Count ------ 100 100 050 - 323
178 Runtime_Invalid_Blk_Cnt ------ 100 100 000 - 0
181 Program_Fail_Cnt_Total ------ 100 100 000 - 0
182 Erase_Fail_Count_Total ------ 100 100 000 - 0
192 Power-Off_Retract_Count ------ 100 100 000 - 36
194 Temperature_Celsius ------ 100 100 000 - 24
195 Hardware_ECC_Recovered ------ 100 100 000 - 2420
196 Reallocated_Event_Count ------ 100 100 016 - 9
197 Current_Pending_Sector ------ 100 100 000 - 0
198 Offline_Uncorrectable ------ 100 100 000 - 5
199 UDMA_CRC_Error_Count ------ 100 100 050 - 0
232 Available_Reservd_Space ------ 100 100 000 - 100
241 Host_Writes_32MiB ------ 100 100 000 - 135663
242 Host_Reads_32MiB ------ 100 100 000 - 849672
245 TLC_Writes_32MiB ------ 100 100 000 - 820544
||||||_ 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 GPL,SL R/O 1 Summary SMART error log
0x02 GPL,SL R/O 1 Comprehensive SMART error log
0x03 GPL,SL R/O 1 Ext. Comprehensive SMART error log
0x04 GPL,SL R/O 8 Device Statistics log
0x06 GPL,SL R/O 1 SMART self-test log
0x07 GPL,SL R/O 1 Extended self-test log
0x09 GPL,SL R/W 1 Selective self-test log
0x10 GPL,SL R/O 1 NCQ Command Error log
0x30 GPL,SL R/O 9 IDENTIFY DEVICE data log
0x80-0x9f GPL,SL R/W 16 Host vendor specific log
SMART Extended Comprehensive Error Log Version: 1 (1 sectors)
No Errors Logged
SMART Extended Self-test Log Version: 1 (1 sectors)
No self-tests have been logged. [To run self-tests, use: smartctl -t]
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 Commands not supported
Device Statistics (GP Log 0x04)
Page Offset Size Value Flags Description
0x01 ===== = = === == General Statistics (rev 2) ==
0x01 0x008 4 140 --- Lifetime Power-On Resets
0x01 0x010 4 3222 --- Power-on Hours
0x01 0x018 6 300890116 --- Logical Sectors Written
0x01 0x020 6 459329217 --- Number of Write Commands
0x01 0x028 6 4144522222 --- Logical Sectors Read
0x01 0x030 6 540028326 --- Number of Read Commands
0x02 ===== = = === == Free-Fall Statistics (empty) ==
0x03 ===== = = === == Rotating Media Statistics (empty) ==
0x04 ===== = = === == General Errors Statistics (rev 1) ==
0x04 0x008 4 9 --- Number of Reported Uncorrectable Errors
0x04 0x010 4 36 --- Resets Between Cmd Acceptance and Completion
0x05 ===== = = === == Temperature Statistics (empty) ==
0x06 ===== = = === == Transport Statistics (rev 1) ==
0x06 0x008 4 258 --- Number of Hardware Resets
0x06 0x018 4 0 --- Number of Interface CRC Errors
0x07 ===== = = === == Solid State Device Statistics (rev 1) ==
0x07 0x008 1 1 --- Percentage Used Endurance Indicator
|||_ C monitored condition met
||__ D supports DSN
|___ N normalized value
Pending Defects log (GP Log 0x0c) not supported
SATA Phy Event Counters (GP Log 0x11) not supported
reply other threads:[~2021-02-03 4:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='zW1Vpeu_m_VHOIbt9dY8B6LakQEAoxEKrNxOjfEOyCt1FIYMsv39Nn39Bppy1b3Yl-66v8GQIcseAITpj9ztBzd22Zw-l28aFEJhhTb2MvY=@protonmail.com' \
--to=importantdata@protonmail.com \
--cc=linux-raid@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).