Sie sind auf Seite 1von 6

ubuntu@ubuntu:~$ smartctl -t long /dev/sda The program 'smartctl' is currently not installed.

You can install it by typing: sudo apt-get install smartmontools ubuntu@ubuntu:~$ sudo apt-get install smartmontools Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: bsd-mailx postfix Suggested packages: procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin resolvconf postfix-cdb gsmartcontrol smart-notifier Recommended packages: mailx mailutils The following NEW packages will be installed: bsd-mailx postfix smartmontools 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 1,829kB of archives. After this operation, 4,518kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://archive.ubuntu.com/ubuntu/ maverick/main postfix i386 2.7.1-1 [1,318kB] Get:2 http://archive.ubuntu.com/ubuntu/ maverick/main bsd-mailx i386 8.1.2-0.20100314cvs-1 [77.7kB] Get:3 http://archive.ubuntu.com/ubuntu/ maverick/main smartmontools i386 5.39.1+svn30771ubuntu1 [433kB] Fetched 1,829kB in 22s (81.0kB/s) Preconfiguring packages ... Selecting previously deselected package postfix. (Reading database ... 124634 files and directories currently installed.) Unpacking postfix (from .../postfix_2.7.1-1_i386.deb) ... Selecting previously deselected package bsd-mailx. Unpacking bsd-mailx (from .../bsd-mailx_8.1.2-0.20100314cvs-1_i386.deb) ... Selecting previously deselected package smartmontools. Unpacking smartmontools (from .../smartmontools_5.39.1+svn3077-1ubuntu1_i386.deb) ... Processing triggers for ureadahead ... Processing triggers for ufw ... Processing triggers for man-db ... Setting up postfix (2.7.1-1) ... Adding group `postfix' (GID 123) ... Done. Adding system user `postfix' (UID 114) ... Adding new user `postfix' (UID 114) with group `postfix' ... Not creating home directory `/var/spool/postfix'. Creating /etc/postfix/dynamicmaps.cf Adding tcp map entry to /etc/postfix/dynamicmaps.cf Adding group `postdrop' (GID 124) ... Done. setting myhostname: ubuntu setting alias maps setting alias database mailname is not a fully qualified domain name. Not changing /etc/mailname. setting destinations: ubuntu, localhost.localdomain, , localhost

setting relayhost: setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 setting mailbox_size_limit: 0 setting recipient_delimiter: + setting inet_interfaces: all /etc/aliases does not exist, creating it. WARNING: /etc/aliases exists, but does not have a root alias. Postfix is now set up with a default configuration. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run '/etc/init.d/postfix reload'. Running newaliases * Stopping Postfix Mail Transport Agent postfix [ OK ] * Starting Postfix Mail Transport Agent postfix [ OK ] Setting up bsd-mailx (8.1.2-0.20100314cvs-1) ... update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode. Setting up smartmontools (5.39.1+svn3077-1ubuntu1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place ubuntu@ubuntu:~$ smartctl -t long /dev/sda smartctl 5.40 2010-03-16 r3077 [i686-pc-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net Smartctl open device: /dev/sda failed: Permission denied ubuntu@ubuntu:~$ sudo smartctl -t long /dev/sda smartctl 5.40 2010-03-16 r3077 [i686-pc-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION === Sending command: "Execute SMART Extended self-test routine immediately in off-line mode". Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful. Testing has begun. Please wait 104 minutes for test to complete. Test will complete after Tue Feb 1 21:07:25 2011 Use smartctl -X to abort test. ubuntu@ubuntu:~$ smartctl --all /dev/sda smartctl 5.40 2010-03-16 r3077 [i686-pc-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net Smartctl open device: /dev/sda failed: Permission denied ubuntu@ubuntu:~$ sudo smartctl --all /dev/sda smartctl 5.40 2010-03-16 r3077 [i686-pc-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Western Digital Caviar Blue Serial ATA family

Device Model: WDC WD3200AAKS-00YGA0 Serial Number: WD-WCASE0226185 Firmware Version: 12.01C02 User Capacity: 320,072,933,376 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Tue Feb 1 23:04:17 2011 UTC 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: PASSED General SMART Values: Offline data collection status: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 121) The previous self-test completed having the read element of the test failed. Total time to complete Offline data collection: (8760) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves 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: ( 104) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x303f) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 200 200 051 Pre-fail Always -

UPDATED 432

3 Spin_Up_Time 0x0003 192 177 021 Pre-fail Always 5358 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always 826 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always 0 7 Seek_Error_Rate 0x000e 200 200 051 Old_age Always 0 9 Power_On_Hours 0x0032 098 098 000 Old_age Always 1827 10 Spin_Retry_Count 0x0012 100 100 051 Old_age Always 0 11 Calibration_Retry_Count 0x0012 100 100 051 Old_age Always 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always 824 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always 366 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always 867 194 Temperature_Celsius 0x0022 109 094 000 Old_age Always 41 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always 0 197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always 7 198 Offline_Uncorrectable 0x0010 200 200 000 Old_age Offline 7 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always 0 200 Multi_Zone_Error_Rate 0x0008 200 200 051 Old_age Offline 4 SMART Error Log Version: 1 ATA Error Count: 1386 (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 1386 occurred at disk power-on lifetime: 1821 hours (75 days + 21 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 95 8a f7 e5 Error: UNC at LBA = 0x05f78a95 = 100108949 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------c8 00 01 95 8a f7 05 08 07:37:56.061 READ DMA 27 00 00 00 00 00 00 08 07:37:56.061 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 00 08 07:37:56.052 IDENTIFY DEVICE ef 03 46 00 00 00 00 08 07:37:56.044 SET FEATURES [Set transfer mode] 27 00 00 00 00 00 00 08 07:37:56.044 READ NATIVE MAX ADDRESS EXT Error 1385 occurred at disk power-on lifetime: 1821 hours (75 days + 21 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 95 8a f7 e5 Error: UNC at LBA = 0x05f78a95 = 100108949 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------c8 00 01 95 8a f7 05 08 07:37:52.989 READ DMA 27 00 00 00 00 00 00 08 07:37:52.989 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 00 08 07:37:52.980 IDENTIFY DEVICE ef 03 46 00 00 00 00 08 07:37:52.973 SET FEATURES [Set transfer mode] 27 00 00 00 00 00 00 08 07:37:52.973 READ NATIVE MAX ADDRESS EXT Error 1384 occurred at disk power-on lifetime: 1821 hours (75 days + 21 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 95 8a f7 e5 Error: UNC at LBA = 0x05f78a95 = 100108949 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------c8 00 01 95 8a f7 05 08 07:37:49.912 READ DMA 27 00 00 00 00 00 00 08 07:37:49.912 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 00 08 07:37:49.904 IDENTIFY DEVICE ef 03 46 00 00 00 00 08 07:37:49.904 SET FEATURES [Set transfer mode] 27 00 00 00 00 00 00 08 07:37:49.904 READ NATIVE MAX ADDRESS EXT Error 1383 occurred at disk power-on lifetime: 1821 hours (75 days + 21 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 95 8a f7 e5 Error: UNC at LBA = 0x05f78a95 = 100108949 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------c8 00 01 95 8a f7 05 08 07:37:46.588 READ DMA 27 00 00 00 00 00 00 08 07:37:46.588 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 00 08 07:37:46.579 IDENTIFY DEVICE ef 03 46 00 00 00 00 08 07:37:46.573 SET FEATURES [Set transfer mode] 27 00 00 00 00 00 00 08 07:37:46.573 READ NATIVE MAX ADDRESS EXT Error 1382 occurred at disk power-on lifetime: 1821 hours (75 days + 21 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 95 8a f7 e5 Error: UNC at LBA = 0x05f78a95 = 100108949 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------c8 00 01 95 8a f7 05 08 07:37:43.636 READ DMA 27 00 00 00 00 00 00 08 07:37:43.636 READ NATIVE MAX ADDRESS EXT ec 00 00 00 00 00 00 08 07:37:43.628 IDENTIFY DEVICE ef 03 46 00 00 00 00 08 07:37:43.628 SET FEATURES [Set transfer mode] 27 00 00 00 00 00 00 08 07:37:43.628 READ NATIVE MAX ADDRESS EXT SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed: read failure 90% 1823 28503951 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. ubuntu@ubuntu:~$

Das könnte Ihnen auch gefallen