Debian/smartmontools
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
#contents
**smartmontoolsを設定 [#eea98060]
まずは、smartmontoolsのインストール。
# apt-get update
# apt-get install smartmontools
#br
インストール後に自動で起動しようとするが、初期設定で起...
/etc/default/smartmontoolsの以下の部分をコメントアウト...
start_smartd=yes
smartd_opts="--interval=1800"
#br
/etc/smartd.confも編集して異常時にメールを送るようにす...
DEVICESCAN -s (S/../.././03|L/../../4/04) -a -m root -d ...
#br
設定がすんだので、smartmontoolsを起動する。
# /etc/init.d/smartmontools start
**故障状態 [#e4ae9982]
***故障がひどくてMDから切り離されているHDD [#y188d88c]
# smartctl -a /dev/sdb
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) ...
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: ST3500320NS
Serial Number: 9QMCGMCY
Firmware Version: SN06
User Capacity: 500,107,862,016 bytes
Device is: Not in smartctl database [for details ...
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Mon Nov 8 09:18:00 2010 JST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL D...
See vendor-specific Attribute list for failed Attributes.
General SMART Values:
Offline data collection status: (0x82) Offline data col...
was completed wi...
Auto Offline Dat...
Self-test execution status: ( 0) The previous sel...
without error or...
been run.
Total time to complete Offline
data collection: ( 634) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Of...
Auto Offline dat...
Suspend Offline ...
command.
Offline surface ...
Self-test suppor...
Conveyance Self-...
Selective Self-t...
SMART capabilities: (0x0003) Saves SMART data...
power-saving mode.
Supports SMART a...
Error logging capability: (0x01) Error logging su...
General Purpose ...
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 113) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x103d) SCT Status suppo...
SCT Feature Cont...
SCT Data Table s...
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH ...
1 Raw_Read_Error_Rate 0x000f 042 042 044 ...
3 Spin_Up_Time 0x0003 100 100 000 ...
4 Start_Stop_Count 0x0032 100 100 020 ...
5 Reallocated_Sector_Ct 0x0033 001 001 036 ...
7 Seek_Error_Rate 0x000f 076 060 030 ...
9 Power_On_Hours 0x0032 093 093 000 ...
10 Spin_Retry_Count 0x0013 100 100 097 ...
12 Power_Cycle_Count 0x0032 100 037 020 ...
184 Unknown_Attribute 0x0032 100 100 099 ...
187 Reported_Uncorrect 0x0032 001 001 000 ...
188 Unknown_Attribute 0x0032 100 100 000 ...
189 High_Fly_Writes 0x003a 100 100 000 ...
190 Airflow_Temperature_Cel 0x0022 074 071 045 ...
194 Temperature_Celsius 0x0022 026 040 000 ...
195 Hardware_ECC_Recovered 0x001a 050 050 000 ...
197 Current_Pending_Sector 0x0012 100 100 000 ...
198 Offline_Uncorrectable 0x0010 100 100 000 ...
199 UDMA_CRC_Error_Count 0x003e 200 200 000 ...
SMART Error Log Version: 1
ATA Error Count: 547 (device log contains only the most ...
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 547 occurred at disk power-on lifetime: 6561 hours...
When the command that caused the error occurred, the d...
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 71 04 9d 00 32 e0 Device Fault; Error: ABRT
Commands leading to the command that caused the error ...
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Fea...
-- -- -- -- -- -- -- -- ---------------- -----------...
a1 00 00 00 00 00 a0 02 23d+00:58:38.089 IDENTIFY PA...
ec 00 00 00 00 00 a0 02 23d+00:58:38.081 IDENTIFY DE...
ff 00 00 00 00 00 00 02 23d+00:58:37.925 [VENDOR SPE...
00 00 00 00 00 00 00 06 23d+00:58:37.925 NOP [Abort ...
a1 00 00 00 00 00 a0 02 23d+00:58:32.897 IDENTIFY PA...
Error 546 occurred at disk power-on lifetime: 6561 hours...
When the command that caused the error occurred, the d...
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 71 04 9d 00 32 e0
Commands leading to the command that caused the error ...
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Fea...
-- -- -- -- -- -- -- -- ---------------- -----------...
ec 00 00 00 00 00 a0 02 23d+00:58:38.081 IDENTIFY DE...
ff 00 00 00 00 00 00 02 23d+00:58:37.925 [VENDOR SPE...
00 00 00 00 00 00 00 06 23d+00:58:37.925 NOP [Abort ...
a1 00 00 00 00 00 a0 02 23d+00:58:32.897 IDENTIFY PA...
ec 00 00 00 00 00 a0 02 23d+00:58:32.889 IDENTIFY DE...
Error 545 occurred at disk power-on lifetime: 6561 hours...
When the command that caused the error occurred, the d...
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 71 04 9d 00 32 e0 Device Fault; Error: ABRT
Commands leading to the command that caused the error ...
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Fea...
-- -- -- -- -- -- -- -- ---------------- -----------...
a1 00 00 00 00 00 a0 02 23d+00:58:32.897 IDENTIFY PA...
ec 00 00 00 00 00 a0 02 23d+00:58:32.889 IDENTIFY DE...
ff 00 00 00 00 00 00 02 23d+00:58:32.733 [VENDOR SPE...
00 00 00 00 00 00 00 06 23d+00:58:32.733 NOP [Abort ...
a1 00 00 00 00 00 a0 02 23d+00:58:27.705 IDENTIFY PA...
Error 544 occurred at disk power-on lifetime: 6561 hours...
When the command that caused the error occurred, the d...
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 71 04 9d 00 32 e0
Commands leading to the command that caused the error ...
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Fea...
-- -- -- -- -- -- -- -- ---------------- -----------...
ec 00 00 00 00 00 a0 02 23d+00:58:32.889 IDENTIFY DE...
ff 00 00 00 00 00 00 02 23d+00:58:32.733 [VENDOR SPE...
00 00 00 00 00 00 00 06 23d+00:58:32.733 NOP [Abort ...
a1 00 00 00 00 00 a0 02 23d+00:58:27.705 IDENTIFY PA...
ec 00 00 00 00 00 a0 02 23d+00:58:27.681 IDENTIFY DE...
Error 543 occurred at disk power-on lifetime: 6561 hours...
When the command that caused the error occurred, the d...
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 71 04 9d 00 32 e0 Device Fault; Error: ABRT
Commands leading to the command that caused the error ...
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Fea...
-- -- -- -- -- -- -- -- ---------------- -----------...
a1 00 00 00 00 00 a0 02 23d+00:58:27.705 IDENTIFY PA...
ec 00 00 00 00 00 a0 02 23d+00:58:27.681 IDENTIFY DE...
25 00 00 ff ff ff ef 00 23d+00:58:24.309 READ DMA EXT
25 00 00 ff ff ff ef 00 23d+00:58:23.426 READ DMA EXT
25 00 80 ff ff ff ef 00 23d+00:58:23.371 READ DMA EXT
SMART Self-test log structure revision number 1
Num Test_Description Status Remaini...
# 1 Extended offline Completed: unknown failure 9...
# 2 Extended offline Completed: unknown failure 9...
# 3 Extended offline Completed: unknown failure 9...
# 4 Extended offline Completed: unknown failure 9...
# 5 Extended offline Completed: unknown failure 9...
# 6 Extended offline Completed without error 0...
# 7 Extended offline Completed without error 0...
# 8 Extended offline Completed without error 0...
# 9 Extended offline Completed without error 0...
#10 Extended offline Completed without error 0...
#11 Extended offline Completed without error 0...
#12 Extended offline Completed without error 0...
#13 Extended offline Completed without error 0...
#14 Extended offline Completed without error 0...
#15 Extended offline Completed without error 0...
#16 Extended offline Completed without error 0...
#17 Extended offline Completed without error 0...
#18 Extended offline Completed without error 0...
#19 Extended offline Completed without error 0...
#20 Extended offline Completed without error 0...
#21 Extended offline Completed without error 0...
SMART Selective self-test log data structure revision nu...
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 remain...
If Selective self-test is pending on power-up, resume af...
終了行:
#contents
**smartmontoolsを設定 [#eea98060]
まずは、smartmontoolsのインストール。
# apt-get update
# apt-get install smartmontools
#br
インストール後に自動で起動しようとするが、初期設定で起...
/etc/default/smartmontoolsの以下の部分をコメントアウト...
start_smartd=yes
smartd_opts="--interval=1800"
#br
/etc/smartd.confも編集して異常時にメールを送るようにす...
DEVICESCAN -s (S/../.././03|L/../../4/04) -a -m root -d ...
#br
設定がすんだので、smartmontoolsを起動する。
# /etc/init.d/smartmontools start
**故障状態 [#e4ae9982]
***故障がひどくてMDから切り離されているHDD [#y188d88c]
# smartctl -a /dev/sdb
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) ...
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: ST3500320NS
Serial Number: 9QMCGMCY
Firmware Version: SN06
User Capacity: 500,107,862,016 bytes
Device is: Not in smartctl database [for details ...
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Mon Nov 8 09:18:00 2010 JST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL D...
See vendor-specific Attribute list for failed Attributes.
General SMART Values:
Offline data collection status: (0x82) Offline data col...
was completed wi...
Auto Offline Dat...
Self-test execution status: ( 0) The previous sel...
without error or...
been run.
Total time to complete Offline
data collection: ( 634) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Of...
Auto Offline dat...
Suspend Offline ...
command.
Offline surface ...
Self-test suppor...
Conveyance Self-...
Selective Self-t...
SMART capabilities: (0x0003) Saves SMART data...
power-saving mode.
Supports SMART a...
Error logging capability: (0x01) Error logging su...
General Purpose ...
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 113) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x103d) SCT Status suppo...
SCT Feature Cont...
SCT Data Table s...
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH ...
1 Raw_Read_Error_Rate 0x000f 042 042 044 ...
3 Spin_Up_Time 0x0003 100 100 000 ...
4 Start_Stop_Count 0x0032 100 100 020 ...
5 Reallocated_Sector_Ct 0x0033 001 001 036 ...
7 Seek_Error_Rate 0x000f 076 060 030 ...
9 Power_On_Hours 0x0032 093 093 000 ...
10 Spin_Retry_Count 0x0013 100 100 097 ...
12 Power_Cycle_Count 0x0032 100 037 020 ...
184 Unknown_Attribute 0x0032 100 100 099 ...
187 Reported_Uncorrect 0x0032 001 001 000 ...
188 Unknown_Attribute 0x0032 100 100 000 ...
189 High_Fly_Writes 0x003a 100 100 000 ...
190 Airflow_Temperature_Cel 0x0022 074 071 045 ...
194 Temperature_Celsius 0x0022 026 040 000 ...
195 Hardware_ECC_Recovered 0x001a 050 050 000 ...
197 Current_Pending_Sector 0x0012 100 100 000 ...
198 Offline_Uncorrectable 0x0010 100 100 000 ...
199 UDMA_CRC_Error_Count 0x003e 200 200 000 ...
SMART Error Log Version: 1
ATA Error Count: 547 (device log contains only the most ...
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 547 occurred at disk power-on lifetime: 6561 hours...
When the command that caused the error occurred, the d...
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 71 04 9d 00 32 e0 Device Fault; Error: ABRT
Commands leading to the command that caused the error ...
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Fea...
-- -- -- -- -- -- -- -- ---------------- -----------...
a1 00 00 00 00 00 a0 02 23d+00:58:38.089 IDENTIFY PA...
ec 00 00 00 00 00 a0 02 23d+00:58:38.081 IDENTIFY DE...
ff 00 00 00 00 00 00 02 23d+00:58:37.925 [VENDOR SPE...
00 00 00 00 00 00 00 06 23d+00:58:37.925 NOP [Abort ...
a1 00 00 00 00 00 a0 02 23d+00:58:32.897 IDENTIFY PA...
Error 546 occurred at disk power-on lifetime: 6561 hours...
When the command that caused the error occurred, the d...
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 71 04 9d 00 32 e0
Commands leading to the command that caused the error ...
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Fea...
-- -- -- -- -- -- -- -- ---------------- -----------...
ec 00 00 00 00 00 a0 02 23d+00:58:38.081 IDENTIFY DE...
ff 00 00 00 00 00 00 02 23d+00:58:37.925 [VENDOR SPE...
00 00 00 00 00 00 00 06 23d+00:58:37.925 NOP [Abort ...
a1 00 00 00 00 00 a0 02 23d+00:58:32.897 IDENTIFY PA...
ec 00 00 00 00 00 a0 02 23d+00:58:32.889 IDENTIFY DE...
Error 545 occurred at disk power-on lifetime: 6561 hours...
When the command that caused the error occurred, the d...
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 71 04 9d 00 32 e0 Device Fault; Error: ABRT
Commands leading to the command that caused the error ...
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Fea...
-- -- -- -- -- -- -- -- ---------------- -----------...
a1 00 00 00 00 00 a0 02 23d+00:58:32.897 IDENTIFY PA...
ec 00 00 00 00 00 a0 02 23d+00:58:32.889 IDENTIFY DE...
ff 00 00 00 00 00 00 02 23d+00:58:32.733 [VENDOR SPE...
00 00 00 00 00 00 00 06 23d+00:58:32.733 NOP [Abort ...
a1 00 00 00 00 00 a0 02 23d+00:58:27.705 IDENTIFY PA...
Error 544 occurred at disk power-on lifetime: 6561 hours...
When the command that caused the error occurred, the d...
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 71 04 9d 00 32 e0
Commands leading to the command that caused the error ...
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Fea...
-- -- -- -- -- -- -- -- ---------------- -----------...
ec 00 00 00 00 00 a0 02 23d+00:58:32.889 IDENTIFY DE...
ff 00 00 00 00 00 00 02 23d+00:58:32.733 [VENDOR SPE...
00 00 00 00 00 00 00 06 23d+00:58:32.733 NOP [Abort ...
a1 00 00 00 00 00 a0 02 23d+00:58:27.705 IDENTIFY PA...
ec 00 00 00 00 00 a0 02 23d+00:58:27.681 IDENTIFY DE...
Error 543 occurred at disk power-on lifetime: 6561 hours...
When the command that caused the error occurred, the d...
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
04 71 04 9d 00 32 e0 Device Fault; Error: ABRT
Commands leading to the command that caused the error ...
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Fea...
-- -- -- -- -- -- -- -- ---------------- -----------...
a1 00 00 00 00 00 a0 02 23d+00:58:27.705 IDENTIFY PA...
ec 00 00 00 00 00 a0 02 23d+00:58:27.681 IDENTIFY DE...
25 00 00 ff ff ff ef 00 23d+00:58:24.309 READ DMA EXT
25 00 00 ff ff ff ef 00 23d+00:58:23.426 READ DMA EXT
25 00 80 ff ff ff ef 00 23d+00:58:23.371 READ DMA EXT
SMART Self-test log structure revision number 1
Num Test_Description Status Remaini...
# 1 Extended offline Completed: unknown failure 9...
# 2 Extended offline Completed: unknown failure 9...
# 3 Extended offline Completed: unknown failure 9...
# 4 Extended offline Completed: unknown failure 9...
# 5 Extended offline Completed: unknown failure 9...
# 6 Extended offline Completed without error 0...
# 7 Extended offline Completed without error 0...
# 8 Extended offline Completed without error 0...
# 9 Extended offline Completed without error 0...
#10 Extended offline Completed without error 0...
#11 Extended offline Completed without error 0...
#12 Extended offline Completed without error 0...
#13 Extended offline Completed without error 0...
#14 Extended offline Completed without error 0...
#15 Extended offline Completed without error 0...
#16 Extended offline Completed without error 0...
#17 Extended offline Completed without error 0...
#18 Extended offline Completed without error 0...
#19 Extended offline Completed without error 0...
#20 Extended offline Completed without error 0...
#21 Extended offline Completed without error 0...
SMART Selective self-test log data structure revision nu...
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 remain...
If Selective self-test is pending on power-up, resume af...
ページ名: