Ciao,
premettendo che non sono molto pratico ho editato il file di grub come mi hai detto:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-194.32.1.el5)
root (hd0,1)
kernel /vmlinuz-2.6.18-194.32.1.el5 ro root=LABEL=/ rhgb quiet ide0=noprobe ide1=noprobe
initrd /initrd-2.6.18-194.32.1.el5.img
title CentOS (2.6.18-194.el5)
root (hd0,1)
kernel /vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet ide0=noprobe ide1=noprobe
initrd /initrd-2.6.18-194.el5.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1
[root@centos-sassc adriano]# hdparm -t /dev/hda
/dev/hda: No such file or directory
[root@centos-sassc adriano]# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 292 MB in 3.01 seconds = 97.15 MB/sec
[root@centos-sassc adriano]# /usr/sbin/smartctl -a /dev/hda
smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
Smartctl open device: /dev/hda failed: No such file or directory
[root@centos-sassc adriano]# /usr/sbin/smartctl -a /dev/sda
smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: TOSHIBA MK3256GSY
Serial Number: 6029FAYRS
Firmware Version: LH013C
User Capacity: 320,072,933,376 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Thu Apr 7 14:54:23 2011 CEST
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: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 25) The self-test routine was aborted by
the host.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x51) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No 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: ( 77) minutes.
SCT capabilities: (0x0033) SCT Status 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 UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0007 100 100 050 Pre-fail Always - 0
3 Spin_Up_Time 0x0003 100 100 002 Pre-fail Always - 2160
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 67
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 121
10 Spin_Retry_Count 0x0013 101 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 66
183 Unknown_Attribute 0x0022 100 100 001 Old_age Always - 2
184 Unknown_Attribute 0x0033 100 100 097 Pre-fail Always - 0
185 Unknown_Attribute 0x0032 100 100 001 Old_age Always - 65535
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
189 High_Fly_Writes 0x003a 100 100 001 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 063 054 045 Old_age Always - 37 (Lifetime Min/Max 24/37)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 71
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 720907
193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 3875
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Aborted by host 90% 12 -
# 2 Short offline Completed without error 00% 3 -
# 3 Short offline Completed without error 00% 3 -
# 4 Short offline Completed without error 00% 2 -
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.
[root@centos-sassc adriano]#
[root@centos-sassc adriano]#
una cosa davvero strana che ho notato, e che puoi vedere anche tu dal codice postato è che prima i comandi li dovevo mandare con /hda perchè se mettevo /sda mi diceva "command not found". Adesso invece avviene l'esatto contrario. Se li chiamo con /hda non me li trova, con /sda si. L'unico cambiamento che ho fatto in questi giorni è che ho impostato il montaggio del NTFS della partizione di Windows. Dipende da questo? e se si in che modo?
Per quanto riguarda i risultati dei test hdparm sembra buono, smarctl non saprei.. dimmi te come procedere.
Grazie mille,
ciao