ls: cannot access /data11: Input/output error

df -h|grep data11

/dev/sdm 12T 6.6G 12T 1% /data11

 

smartctl -l error /dev/sdm #如果返回以下信息说明磁盘坏了

smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-1062.12.1.el7.x86_64] (local build)

Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===

SMART Error Log Version: 1

ATA Error Count: 727 (device log contains only the most recent five errors)

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 727 occurred at disk power-on lifetime: 16185 hours (674 days + 9 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

-- -- -- -- -- -- --

40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455

Commands leading to the command that caused the error were:

CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name

-- -- -- -- -- -- -- -- ---------------- --------------------

60 00 78 ff ff ff 4f 00 43d+15:25:35.058 READ FPDMA QUEUED

60 00 78 ff ff ff 4f 00 43d+15:25:35.058 READ FPDMA QUEUED

b0 d0 01 00 4f c2 00 00 43d+15:25:35.036 SMART READ DATA

ec 00 00 00 00 00 00 00 43d+15:25:35.034 IDENTIFY DEVICE

e5 00 00 00 00 00 00 00 43d+15:25:34.988 CHECK POWER MODE

Error 726 occurred at disk power-on lifetime: 16185 hours (674 days + 9 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

-- -- -- -- -- -- --

40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455

Commands leading to the command that caused the error were:

CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name

-- -- -- -- -- -- -- -- ---------------- --------------------

60 00 78 ff ff ff 4f 00 43d+15:25:25.726 READ FPDMA QUEUED

60 00 78 ff ff ff 4f 00 43d+15:25:25.725 READ FPDMA QUEUED

60 00 28 ff ff ff 4f 00 43d+15:25:25.725 READ FPDMA QUEUED

61 00 40 ff ff ff 4f 00 43d+15:25:25.725 WRITE FPDMA QUEUED

60 00 78 ff ff ff 4f 00 43d+15:25:25.725 READ FPDMA QUEUED

Error 725 occurred at disk power-on lifetime: 16185 hours (674 days + 9 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

-- -- -- -- -- -- --

40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455

Commands leading to the command that caused the error were:

CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name

-- -- -- -- -- -- -- -- ---------------- --------------------

60 00 78 ff ff ff 4f 00 43d+15:25:16.195 READ FPDMA QUEUED

60 00 28 ff ff ff 4f 00 43d+15:25:16.195 READ FPDMA QUEUED

60 00 78 ff ff ff 4f 00 43d+15:25:16.194 READ FPDMA QUEUED

60 00 78 ff ff ff 4f 00 43d+15:25:16.194 READ FPDMA QUEUED

61 00 40 ff ff ff 4f 00 43d+15:25:16.194 WRITE FPDMA QUEUED

Error 724 occurred at disk power-on lifetime: 16185 hours (674 days + 9 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

-- -- -- -- -- -- --

40 51 00 ff ff ff 0f Error: WP at LBA = 0x0fffffff = 268435455

Commands leading to the command that caused the error were:

CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name

-- -- -- -- -- -- -- -- ---------------- --------------------

61 00 40 ff ff ff 4f 00 43d+15:25:06.795 WRITE FPDMA QUEUED

61 00 40 ff ff ff 4f 00 43d+15:25:06.795 WRITE FPDMA QUEUED

61 00 40 ff ff ff 4f 00 43d+15:25:06.795 WRITE FPDMA QUEUED

61 00 18 ff ff ff 4f 00 43d+15:25:06.795 WRITE FPDMA QUEUED

61 00 40 ff ff ff 4f 00 43d+15:25:06.795 WRITE FPDMA QUEUED

Error 723 occurred at disk power-on lifetime: 16185 hours (674 days + 9 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

-- -- -- -- -- -- --

40 51 00 ff ff ff 0f Error: UNC at LBA = 0x0fffffff = 268435455

Commands leading to the command that caused the error were:

CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name

-- -- -- -- -- -- -- -- ---------------- --------------------

60 00 78 ff ff ff 4f 00 43d+15:24:57.434 READ FPDMA QUEUED

60 00 70 ff ff ff 4f 00 43d+15:24:57.434 READ FPDMA QUEUED

61 00 20 ff ff ff 4f 00 43d+15:24:57.434 WRITE FPDMA QUEUED

61 00 d0 ff ff ff 4f 00 43d+15:24:57.434 WRITE FPDMA QUEUED

60 00 50 ff ff ff 4f 00 43d+15:24:57.434 READ FPDMA QUEUED

 

smartctl -l error /dev/sdk1 #磁盘正常的时候返回如下

smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-1062.12.1.el7.x86_64] (local build)

Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===

SMART Error Log Version: 1

No Errors Logged

 

查看原文