On 7/4/05, Alexander Dalloz <ad+lists(a)uni-x.org> wrote:
Am Mo, den 04.07.2005 schrieb Dotan Cohen um 0:45:
> [root@localhost ~]# smartctl -t long /dev/hdb
> smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
> Home page is
http://smartmontools.sourceforge.net/
>
> SMART support is: Unavailable - Packet Interface Devices [this device:
> CD/DVD] don't support ATA SMART
> A mandatory SMART command failed: exiting. To continue, add one or
> more '-T permissive' options.
So /dev/hdb is no harddrive as I thought from your previous error
message quoting "Illegal request" "I/O error" "endrequest:I/O
error, dev
hdb, sector 0". Find out which your harddrive is by running "fdisk -l".
> [root@localhost ~]# man smart
> No manual entry for smart
man -k smart
> Dotan Cohen
Alexander
--
Alexander Dalloz | Enger, Germany | GPG
http://pgp.mit.edu 0xB366A773
legal statement:
http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp
Serendipity 00:49:33 up 8 days, 7:41, load average: 0.07, 0.14, 0.17
BodyID:98314086.2.n.logpart (stored separately)
I didn't realize that was the problem. I should have know that my
drive is hda- it's the only one in there! But it appears to not be
supported:
[root@localhost ~]# smartctl -t long /dev/hda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 B
ruce Allen
Home page is
http://smartmontools.sourceforge.net/
SMART Disabled. Use option -s with argument 'on' to enable it.
[root@localhost ~]# smartctl -s on long /dev/hda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 B
ruce Allen
Home page is
http://smartmontools.sourceforge.net/
ERROR: smartctl takes ONE device name as the final command-line argu
ment.
You have provided 2 device names:
long
/dev/hda
Use smartctl -h to get a usage summary
[root@localhost ~]# smartctl -s on /dev/hda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 B
ruce Allen
Home page is
http://smartmontools.sourceforge.net/
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
[root@localhost ~]# smartctl -a /dev/hda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 B
ruce Allen
Home page is
http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: ST320413A
Serial Number: 6ED3SE0G
Firmware Version: 3.40
User Capacity: 20,020,396,032 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 5
ATA Standard is: Exact ATA specification draft version not indicate
d
Local Time is: Mon Jul 4 02:01:32 2005 IDT
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 acti
vity
was completed without error.
Auto Offline Data Collection
: Enabled.
Self-test execution status: ( 0) The previous self-test routi
ne completed
without error or no self-tes
t has ever
been run.
Total time to complete Offline
data collection: ( 422) seconds.
Offline data collection
capabilities: (0x1b) SMART execute Offline immedi
ate.
Auto Offline data collection
on/off support.
Suspend Offline collection u
pon new
command.
Offline surface scan support
ed.
Self-test supported.
No Conveyance Self-test supp
orted.
No Selective Self-test suppo
rted.
SMART capabilities: (0x0003) Saves SMART data before ente
ring
power-saving mode.
Supports SMART auto save tim
er.
Error logging capability: (0x01) Error logging supported.
No General Purpose Logging s
upport.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 23) minutes.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UP
DATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000e 083 061 025 Old_age Al
ways - 170108439
3 Spin_Up_Time 0x0002 080 078 000 Old_age Al
ways - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Al
ways - 501
5 Reallocated_Sector_Ct 0x0032 100 100 036 Old_age Al
ways - 0
7 Seek_Error_Rate 0x000e 081 060 030 Old_age Al
ways - 4413666102
9 Power_On_Hours 0x0032 093 093 000 Old_age Al
ways - 6611
10 Spin_Retry_Count 0x0012 100 099 097 Old_age Al
ways - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Al
ways - 878
194 Temperature_Celsius 0x0022 039 052 000 Old_age Al
ways - 39
195 Hardware_ECC_Recovered 0x001a 082 070 000 Old_age Al
ways - 127230975
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Al
ways - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Of
fline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Al
ways - 0
200 Multi_Zone_Error_Rate 0x0000 100 100 000 Old_age Of
fline - 0
202 TA_Increase_Count 0x0032 100 253 000 Old_age Al
ways - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -
t]
Device does not support Selective Self Tests/Logging
[root@localhost ~]# use: smartctl -t /dev/hda
-bash: use:: command not found
[root@localhost ~]# man smartctl
Formatting page, please wait...
I remember a postnot long ago (a month, maybe) where someone posted
the output of a disk check and you told him that there was reason to
worry. You then wrote back and mentioned that you checked the man for
that particular program and found that there was in fact no real
reason to worry. I can't find that post! I don't think that the
program was smart, because I would have remembered that name...
Dotan
http://lyricslist.com/lyrics/artist_albums/11/a-ha.php
A-Ha Song Lyrics