$sudo smartctl -i /dev/sdb smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-31-generic] (local build) Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION === Device Model: TOSHIBA MQ04ABF100 Serial Number: 30IAP8ZKT LU WWN Device Id: 5 000039 9e26062ca Firmware Version: JU002U User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5400 rpm Form Factor: 2.5 inches Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ACS-3 T13/2161-D revision 5 SATA Version is: SATA 3.3, 3.0 Gb/s (current: 3.0 Gb/s) Local Time is: Sat May 23 23:36:34 2020 CST SMART support is: Available - device has SMART capability. SMART support is: Enabled
badblocks
检查磁盘装置中损坏的区块
坏道检查
1 2 3 4
$sudo badblocks -s -v /dev/sdb Checking blocks 0 to 976762583 Checking for bad blocks (read-only test): done Pass completed, 0 bad blocks found. (0/0/0 errors)