diff --git a/2020/12/31/yan-jiu-sheng-justtry-target/yan-ling-ben-ke-bi-ye-she-ji/index.html b/2020/12/31/yan-jiu-sheng-justtry-target/yan-ling-ben-ke-bi-ye-she-ji/index.html index 9869b397..8873ddce 100644 --- a/2020/12/31/yan-jiu-sheng-justtry-target/yan-ling-ben-ke-bi-ye-she-ji/index.html +++ b/2020/12/31/yan-jiu-sheng-justtry-target/yan-ling-ben-ke-bi-ye-she-ji/index.html @@ -943,7 +943,7 @@
…
…
-…
+…
…
…
@@ -466,10 +466,33 @@…
+…
+…
+…
+参考, 在 Linux 上使用坏块工具检查坏道, https://linux.cn/article-7961-1.html
+sudo fdisk -l
+sudo badblocks -v /dev/sdb > /tmp/badsectors.txt
+
+上面的命令中,badblocks 扫描设备 /dev/sdb
(记得指定你的实际设备),-v
选项让它显示操作的详情。另外,这里使用了输出重定向将操作结果重定向到了文件 badsectors.txt
。
…
+…
+参考, 在 Linux 上使用坏块工具检查坏道, https://linux.cn/article-7961-1.html
+如果你在你的磁盘上发现任何坏道,卸载磁盘并像下面这样让系统不要将数据写入坏道的扇区中。
+你需要执行 e2fsck
(针对 ext2/ext3/ext4 文件系统)或 fsck
命令,命令中还需要用到 badsectors.txt
文件和设备文件。
-l
选项告诉命令将在指定的文件 badsectors.txt
中列出的扇区号码加入坏块列表。
------------ 针对 for ext2/ext3/ext4 文件系统 ------------
+$ sudo e2fsck -l badsectors.txt /dev/sda10
+或
+------------ 针对其它文件系统 ------------
+$ sudo fsck -l badsectors.txt /dev/sda10
+
…
…
…
…
+参考, 在 Linux 上使用坏块工具检查坏道, https://linux.cn/article-7961-1.html
…
…
@@ -718,7 +741,81 @@…
…
-…
+…
+…
+…
+…
+…
+…
+ +…
+…
+开盒过程详见手机 K50 相册在 2024-08-08 这一天的视频,(手机视频文件无法直接上传到WPS或Baidu Disk,需要开会员),
+…
+…
+开盒后剩余材料保存到495办公室的抽屉,
+ +…
+…
+…
+…
+ +…
+…
+…
+…
+Elements3,
+ + + + +…
+…
+…
+…
+ +…
+…
+ + +
…
…
+…
+…
+ +…
+…
+ +…
+…
+add device
+ +…
+…
+…
+…
+参考, 在 Linux 上使用坏块工具检查坏道, https://linux.cn/article-7961-1.html
+sudo fdisk -l
+sudo badblocks -v /dev/sdd2 > /tmp/badsectors.txt
+
+上面的命令中,badblocks 扫描设备 /dev/sdd2
(记得指定你的实际设备),-v
选项让它显示操作的详情。另外,这里使用了输出重定向将操作结果重定向到了文件 badsectors.txt
。
…
+…
+参考, 在 Linux 上使用坏块工具检查坏道, https://linux.cn/article-7961-1.html
+如果你在你的磁盘上发现任何坏道,卸载磁盘并像下面这样让系统不要将数据写入坏道的扇区中。
+你需要执行 e2fsck
(针对 ext2/ext3/ext4 文件系统)或 fsck
命令,命令中还需要用到 badsectors.txt
文件和设备文件。
-l
选项告诉命令将在指定的文件 badsectors.txt
中列出的扇区号码加入坏块列表。
------------ 针对 for ext2/ext3/ext4 文件系统 ------------
+$ sudo e2fsck -l badsectors.txt /dev/sda10
+或
+------------ 针对其它文件系统 ------------
+$ sudo fsck -l badsectors.txt /dev/sda10
+
+…
+…
+…
…
…
…
@@ -1259,7 +1356,7 @@…
…
【金山文档 | WPS云文档】 Satellite_wind_fusion_TC_WW3模拟技术报告.docx
https://www.kdocs.cn/l/cfb14VuLkuxQ
…
…
…
…
https://www.yoojia.com/article/9172052825349813833.html
…
…
…
…
…
…
…
…
…
…
…
…
https://tieba.baidu.com/f?kw=%E7%A1%AC%E7%9B%98&ie=utf-8&tab=main
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.15.0-117-generic] (local build)Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org=== START OF INFORMATION SECTION ===Device Model: WDC WD20SDRW-11VUUS0Serial Number: WD-WX32A301ERXSLU WWN Device Id: 5 0014ee 21272a87bFirmware Version: 01.01A01User Capacity: 2,000,365,379,584 bytes [2.00 TB]Sector Sizes: 512 bytes logical, 4096 bytes physicalRotation Rate: 5400 rpmForm Factor: 2.5 inchesDevice is: Not in smartctl database [for details use: -P showall]ATA Version is: ACS-3 T13/2161-D revision 5SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)Local Time is: Wed Aug 7 11:54:58 2024 CSTSMART support is: Available - device has SMART capability.SMART support is: EnabledAAM feature is: UnavailableAPM level is: 128 (minimum power consumption without standby)Rd look-ahead is: EnabledWrite cache is: EnabledDSN feature is: UnavailableATA Security is: Disabled, NOT FROZEN [SEC1]=== START OF READ SMART DATA SECTION ===SMART overall-health self-assessment test result: PASSEDGeneral SMART Values:Offline data collection status: (0x00)Offline data collection activitywas never started.Auto Offline Data Collection: Disabled.Self-test execution status: ( 0)The previous self-test routine completedwithout error or no self-test has ever been run.Total time to complete Offline data collection: (21120) seconds.Offline data collectioncapabilities: (0x51) SMART execute Offline immediate.No Auto Offline data collection support.Suspend Offline collection upon newcommand.No Offline surface scan supported.Self-test supported.No Conveyance Self-test supported.Selective Self-test supported.SMART capabilities: (0x0003)Saves SMART data before enteringpower-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 routinerecommended polling time: ( 384) minutes.SCT capabilities: (0x7035)SCT Status supported.SCT Feature Control supported.SCT Data Table supported.SMART Attributes Data Structure revision number: 16Vendor Specific SMART Attributes with Thresholds:ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE 1 Raw_Read_Error_Rate POSR-K 200 200 051 - 0 3 Spin_Up_Time POS--K 196 187 021 - 3175 4 Start_Stop_Count -O--CK 099 099 000 - 1444 5 Reallocated_Sector_Ct PO--CK 200 200 140 - 0 7 Seek_Error_Rate -OSR-K 200 200 000 - 0 9 Power_On_Hours -O--CK 090 090 000 - 7399 10 Spin_Retry_Count -O--CK 100 100 000 - 0 11 Calibration_Retry_Count -O--CK 100 100 000 - 0 12 Power_Cycle_Count -O--CK 100 100 000 - 254192 Power-Off_Retract_Count -O--CK 200 200 000 - 51193 Load_Cycle_Count -O--CK 197 197 000 - 11775194 Temperature_Celsius -O---K 104 087 000 - 43196 Reallocated_Event_Count -O--CK 200 200 000 - 0197 Current_Pending_Sector -O--CK 200 200 000 - 0198 Offline_Uncorrectable ----CK 100 253 000 - 0199 UDMA_CRC_Error_Count -O--CK 200 200 000 - 0200 Multi_Zone_Error_Rate ---R-- 100 253 000 - 0 ||||||_ K auto-keep |||||__ C event count ||||___ R error rate |||____ S speed/performance ||_____ O updated online |______ P prefailure warningGeneral Purpose Log Directory Version 1SMART Log Directory Version 1 [multi-sector log support]Address Access R/W Size Description0x00 GPL,SL R/O 1 Log Directory0x01 SL R/O 1 Summary SMART error log0x02 SL R/O 5 Comprehensive SMART error log0x03 GPL R/O 6 Ext. Comprehensive SMART error log0x06 SL R/O 1 SMART self-test log0x07 GPL R/O 1 Extended self-test log0x09 SL R/W 1 Selective self-test log0x10 GPL R/O 1 NCQ Command Error log0x11 GPL R/O 1 SATA Phy Event Counters log0x24 GPL R/O 288 Current Device Internal Status Data log0x30 GPL,SL R/O 9 IDENTIFY DEVICE data log0x80-0x9f GPL,SL R/W 16 Host vendor specific log0xa0-0xa7 GPL,SL VS 16 Device vendor specific log0xa8-0xb6 GPL,SL VS 1 Device vendor specific log0xb7 GPL,SL VS 76 Device vendor specific log0xb9 GPL,SL VS 4 Device vendor specific log0xbd GPL,SL VS 1 Device vendor specific log0xc0 GPL,SL VS 1 Device vendor specific log0xc1 GPL VS 93 Device vendor specific log0xcf GPL VS 65535 Device vendor specific log0xe0 GPL,SL R/W 1 SCT Command/Status0xe1 GPL,SL R/W 1 SCT Data TransferSMART Extended Comprehensive Error Log Version: 1 (6 sectors)No Errors LoggedSMART 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_testingSelective 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: 3SCT Version (vendor specific): 258 (0x0102)Device State: Active (0)Current Temperature: 43 CelsiusPower Cycle Min/Max Temperature: 23/61 CelsiusLifetime Min/Max Temperature: 8/61 CelsiusUnder/Over Temperature Limit Count: 0/1Vendor specific:01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00SCT Temperature History Version: 2Temperature Sampling Period: 1 minuteTemperature Logging Interval: 1 minuteMin/Max recommended Temperature: 0/60 CelsiusMin/Max Temperature Limit: -41/85 CelsiusTemperature History Size (Index): 128 (54)Index Estimated Time Temperature Celsius 55 2024-08-07 09:47 38 ******************* ... ..( 11 skipped). .. ******************* 67 2024-08-07 09:59 38 ******************* 68 2024-08-07 10:00 37 ****************** 69 2024-08-07 10:01 38 ******************* 70 2024-08-07 10:02 37 ****************** ... ..( 33 skipped). .. ****************** 104 2024-08-07 10:36 37 ****************** 105 2024-08-07 10:37 38 ******************* ... ..( 22 skipped). .. ******************* 0 2024-08-07 11:00 38 ******************* 1 2024-08-07 11:01 39 ******************** ... ..( 3 skipped). .. ******************** 5 2024-08-07 11:05 39 ******************** 6 2024-08-07 11:06 ? - 7 2024-08-07 11:07 39 ******************** 8 2024-08-07 11:08 39 ******************** 9 2024-08-07 11:09 40 ********************* ... ..( 2 skipped). .. ********************* 12 2024-08-07 11:12 40 ********************* 13 2024-08-07 11:13 41 ********************** ... ..( 6 skipped). .. ********************** 20 2024-08-07 11:20 41 ********************** 21 2024-08-07 11:21 42 *********************** ... ..( 28 skipped). .. *********************** 50 2024-08-07 11:50 42 *********************** 51 2024-08-07 11:51 43 ************************ 52 2024-08-07 11:52 43 ************************ 53 2024-08-07 11:53 42 *********************** 54 2024-08-07 11:54 43 ************************SCT Error Recovery Control command not supportedDevice Statistics (GP/SMART Log 0x04) not supportedSATA Phy Event Counters (GP Log 0x11)ID Size Value Description0x0001 2 0 Command failed due to ICRC error0x0002 2 0 R_ERR response for data FIS0x0003 2 0 R_ERR response for device-to-host data FIS0x0004 2 0 R_ERR response for host-to-device data FIS0x0005 2 0 R_ERR response for non-data FIS0x0006 2 0 R_ERR response for device-to-host non-data FIS0x0007 2 0 R_ERR response for host-to-device non-data FIS0x0008 2 0 Device-to-host non-data FIS retries0x0009 2 258 Transition from drive PhyRdy to drive PhyNRdy0x000a 2 260 Device-to-host register FISes sent due to a COMRESET0x000b 2 0 CRC errors within host-to-device FIS0x000d 2 0 Non-CRC errors within host-to-device FIS0x000f 2 0 R_ERR response for host-to-device data FIS, CRC0x0012 2 0 R_ERR response for host-to-device non-data FIS, CRC0x8000 4 16553794 Vendor specific
…
…
…
…
…
…
详见,
…
…
…
…
…
…
…
…
…
…
…
…
]]>…
…
【金山文档 | WPS云文档】 Satellite_wind_fusion_TC_WW3模拟技术报告.docx
https://www.kdocs.cn/l/cfb14VuLkuxQ
…
…
…
…
https://www.yoojia.com/article/9172052825349813833.html
…
…
…
…
…
…
…
…
…
…
…
…
https://tieba.baidu.com/f?kw=%E7%A1%AC%E7%9B%98&ie=utf-8&tab=main
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
参考, 在 Linux 上使用坏块工具检查坏道, https://linux.cn/article-7961-1.html
sudo fdisk -lsudo badblocks -v /dev/sdb > /tmp/badsectors.txt
上面的命令中,badblocks 扫描设备 /dev/sdb
(记得指定你的实际设备),-v
选项让它显示操作的详情。另外,这里使用了输出重定向将操作结果重定向到了文件 badsectors.txt
。
…
…
参考, 在 Linux 上使用坏块工具检查坏道, https://linux.cn/article-7961-1.html
如果你在你的磁盘上发现任何坏道,卸载磁盘并像下面这样让系统不要将数据写入坏道的扇区中。
你需要执行 e2fsck
(针对 ext2/ext3/ext4 文件系统)或 fsck
命令,命令中还需要用到 badsectors.txt
文件和设备文件。
-l
选项告诉命令将在指定的文件 badsectors.txt
中列出的扇区号码加入坏块列表。
------------ 针对 for ext2/ext3/ext4 文件系统 ------------$ sudo e2fsck -l badsectors.txt /dev/sda10或------------ 针对其它文件系统 ------------$ sudo fsck -l badsectors.txt /dev/sda10
…
…
…
…
参考, 在 Linux 上使用坏块工具检查坏道, https://linux.cn/article-7961-1.html
…
…
…
…
…
…
…
…
…
…
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.15.0-117-generic] (local build)Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org=== START OF INFORMATION SECTION ===Device Model: WDC WD20SDRW-11VUUS0Serial Number: WD-WX32A301ERXSLU WWN Device Id: 5 0014ee 21272a87bFirmware Version: 01.01A01User Capacity: 2,000,365,379,584 bytes [2.00 TB]Sector Sizes: 512 bytes logical, 4096 bytes physicalRotation Rate: 5400 rpmForm Factor: 2.5 inchesDevice is: Not in smartctl database [for details use: -P showall]ATA Version is: ACS-3 T13/2161-D revision 5SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)Local Time is: Wed Aug 7 11:54:58 2024 CSTSMART support is: Available - device has SMART capability.SMART support is: EnabledAAM feature is: UnavailableAPM level is: 128 (minimum power consumption without standby)Rd look-ahead is: EnabledWrite cache is: EnabledDSN feature is: UnavailableATA Security is: Disabled, NOT FROZEN [SEC1]=== START OF READ SMART DATA SECTION ===SMART overall-health self-assessment test result: PASSEDGeneral SMART Values:Offline data collection status: (0x00)Offline data collection activitywas never started.Auto Offline Data Collection: Disabled.Self-test execution status: ( 0)The previous self-test routine completedwithout error or no self-test has ever been run.Total time to complete Offline data collection: (21120) seconds.Offline data collectioncapabilities: (0x51) SMART execute Offline immediate.No Auto Offline data collection support.Suspend Offline collection upon newcommand.No Offline surface scan supported.Self-test supported.No Conveyance Self-test supported.Selective Self-test supported.SMART capabilities: (0x0003)Saves SMART data before enteringpower-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 routinerecommended polling time: ( 384) minutes.SCT capabilities: (0x7035)SCT Status supported.SCT Feature Control supported.SCT Data Table supported.SMART Attributes Data Structure revision number: 16Vendor Specific SMART Attributes with Thresholds:ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE 1 Raw_Read_Error_Rate POSR-K 200 200 051 - 0 3 Spin_Up_Time POS--K 196 187 021 - 3175 4 Start_Stop_Count -O--CK 099 099 000 - 1444 5 Reallocated_Sector_Ct PO--CK 200 200 140 - 0 7 Seek_Error_Rate -OSR-K 200 200 000 - 0 9 Power_On_Hours -O--CK 090 090 000 - 7399 10 Spin_Retry_Count -O--CK 100 100 000 - 0 11 Calibration_Retry_Count -O--CK 100 100 000 - 0 12 Power_Cycle_Count -O--CK 100 100 000 - 254192 Power-Off_Retract_Count -O--CK 200 200 000 - 51193 Load_Cycle_Count -O--CK 197 197 000 - 11775194 Temperature_Celsius -O---K 104 087 000 - 43196 Reallocated_Event_Count -O--CK 200 200 000 - 0197 Current_Pending_Sector -O--CK 200 200 000 - 0198 Offline_Uncorrectable ----CK 100 253 000 - 0199 UDMA_CRC_Error_Count -O--CK 200 200 000 - 0200 Multi_Zone_Error_Rate ---R-- 100 253 000 - 0 ||||||_ K auto-keep |||||__ C event count ||||___ R error rate |||____ S speed/performance ||_____ O updated online |______ P prefailure warningGeneral Purpose Log Directory Version 1SMART Log Directory Version 1 [multi-sector log support]Address Access R/W Size Description0x00 GPL,SL R/O 1 Log Directory0x01 SL R/O 1 Summary SMART error log0x02 SL R/O 5 Comprehensive SMART error log0x03 GPL R/O 6 Ext. Comprehensive SMART error log0x06 SL R/O 1 SMART self-test log0x07 GPL R/O 1 Extended self-test log0x09 SL R/W 1 Selective self-test log0x10 GPL R/O 1 NCQ Command Error log0x11 GPL R/O 1 SATA Phy Event Counters log0x24 GPL R/O 288 Current Device Internal Status Data log0x30 GPL,SL R/O 9 IDENTIFY DEVICE data log0x80-0x9f GPL,SL R/W 16 Host vendor specific log0xa0-0xa7 GPL,SL VS 16 Device vendor specific log0xa8-0xb6 GPL,SL VS 1 Device vendor specific log0xb7 GPL,SL VS 76 Device vendor specific log0xb9 GPL,SL VS 4 Device vendor specific log0xbd GPL,SL VS 1 Device vendor specific log0xc0 GPL,SL VS 1 Device vendor specific log0xc1 GPL VS 93 Device vendor specific log0xcf GPL VS 65535 Device vendor specific log0xe0 GPL,SL R/W 1 SCT Command/Status0xe1 GPL,SL R/W 1 SCT Data TransferSMART Extended Comprehensive Error Log Version: 1 (6 sectors)No Errors LoggedSMART 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_testingSelective 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: 3SCT Version (vendor specific): 258 (0x0102)Device State: Active (0)Current Temperature: 43 CelsiusPower Cycle Min/Max Temperature: 23/61 CelsiusLifetime Min/Max Temperature: 8/61 CelsiusUnder/Over Temperature Limit Count: 0/1Vendor specific:01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00SCT Temperature History Version: 2Temperature Sampling Period: 1 minuteTemperature Logging Interval: 1 minuteMin/Max recommended Temperature: 0/60 CelsiusMin/Max Temperature Limit: -41/85 CelsiusTemperature History Size (Index): 128 (54)Index Estimated Time Temperature Celsius 55 2024-08-07 09:47 38 ******************* ... ..( 11 skipped). .. ******************* 67 2024-08-07 09:59 38 ******************* 68 2024-08-07 10:00 37 ****************** 69 2024-08-07 10:01 38 ******************* 70 2024-08-07 10:02 37 ****************** ... ..( 33 skipped). .. ****************** 104 2024-08-07 10:36 37 ****************** 105 2024-08-07 10:37 38 ******************* ... ..( 22 skipped). .. ******************* 0 2024-08-07 11:00 38 ******************* 1 2024-08-07 11:01 39 ******************** ... ..( 3 skipped). .. ******************** 5 2024-08-07 11:05 39 ******************** 6 2024-08-07 11:06 ? - 7 2024-08-07 11:07 39 ******************** 8 2024-08-07 11:08 39 ******************** 9 2024-08-07 11:09 40 ********************* ... ..( 2 skipped). .. ********************* 12 2024-08-07 11:12 40 ********************* 13 2024-08-07 11:13 41 ********************** ... ..( 6 skipped). .. ********************** 20 2024-08-07 11:20 41 ********************** 21 2024-08-07 11:21 42 *********************** ... ..( 28 skipped). .. *********************** 50 2024-08-07 11:50 42 *********************** 51 2024-08-07 11:51 43 ************************ 52 2024-08-07 11:52 43 ************************ 53 2024-08-07 11:53 42 *********************** 54 2024-08-07 11:54 43 ************************SCT Error Recovery Control command not supportedDevice Statistics (GP/SMART Log 0x04) not supportedSATA Phy Event Counters (GP Log 0x11)ID Size Value Description0x0001 2 0 Command failed due to ICRC error0x0002 2 0 R_ERR response for data FIS0x0003 2 0 R_ERR response for device-to-host data FIS0x0004 2 0 R_ERR response for host-to-device data FIS0x0005 2 0 R_ERR response for non-data FIS0x0006 2 0 R_ERR response for device-to-host non-data FIS0x0007 2 0 R_ERR response for host-to-device non-data FIS0x0008 2 0 Device-to-host non-data FIS retries0x0009 2 258 Transition from drive PhyRdy to drive PhyNRdy0x000a 2 260 Device-to-host register FISes sent due to a COMRESET0x000b 2 0 CRC errors within host-to-device FIS0x000d 2 0 Non-CRC errors within host-to-device FIS0x000f 2 0 R_ERR response for host-to-device data FIS, CRC0x0012 2 0 R_ERR response for host-to-device non-data FIS, CRC0x8000 4 16553794 Vendor specific
…
…
…
…
…
…
详见,
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
开盒过程详见手机 K50 相册在 2024-08-08 这一天的视频,(手机视频文件无法直接上传到WPS或Baidu Disk,需要开会员),
…
…
开盒后剩余材料保存到495办公室的抽屉,
…
…
…
…
…
…
…
…
Elements3,
…
…
…
…
…
…
…
…
…
…
…
…
…
…
add device
…
…
…
…
参考, 在 Linux 上使用坏块工具检查坏道, https://linux.cn/article-7961-1.html
sudo fdisk -lsudo badblocks -v /dev/sdd2 > /tmp/badsectors.txt
上面的命令中,badblocks 扫描设备 /dev/sdd2
(记得指定你的实际设备),-v
选项让它显示操作的详情。另外,这里使用了输出重定向将操作结果重定向到了文件 badsectors.txt
。
…
…
参考, 在 Linux 上使用坏块工具检查坏道, https://linux.cn/article-7961-1.html
如果你在你的磁盘上发现任何坏道,卸载磁盘并像下面这样让系统不要将数据写入坏道的扇区中。
你需要执行 e2fsck
(针对 ext2/ext3/ext4 文件系统)或 fsck
命令,命令中还需要用到 badsectors.txt
文件和设备文件。
-l
选项告诉命令将在指定的文件 badsectors.txt
中列出的扇区号码加入坏块列表。
------------ 针对 for ext2/ext3/ext4 文件系统 ------------$ sudo e2fsck -l badsectors.txt /dev/sda10或------------ 针对其它文件系统 ------------$ sudo fsck -l badsectors.txt /dev/sda10
…
…
…
…
…
…
]]>