забыл выставить время парковки
А как его выставить в Линуксе у WD?
забыл выставить время парковки
А как его выставить в Линуксе у WD?
[quote="Fat-Zer⇓"]забыл выставить время парковки
А как его выставить в Линуксе у WD?[/quote]
http://idle3-tools.sourceforge.net/
http://hd-idle.sourceforge.net/
hd-idle
-i <idle_time> Idle time in seconds for the currently named disk(s) (-a <name>) or for all disks.
Остался вопрос на сколько ставить, секунд 600 думаю нормально.
А как его выставить в Линуксе у WD?
-J Get/set the Western Digital (WD) Green Drive's "idle3" timeout value. This timeout controls how often the drive parks its
heads and enters a low power consumption state. The factory default is eight (8) seconds, which is a very poor choice for use
with Linux. Leaving it at the default will result in hundreds of thousands of head load/unload cycles in a very short period
of time. The drive mechanism is only rated for 300,000 to 1,000,000 cycles, so leaving it at the default could result in pre‐
mature failure, not to mention the performance impact of the drive often having to wake-up before doing routine I/O.
WD supply a WDIDLE3.EXE DOS utility for tweaking this setting, and you should use that program instead of hdparm if at all
possible. The reverse-engineered implementation in hdparm is not as complete as the original official program, even though it
does seem to work on at a least a few drives. A full power cycle is required for any change in setting to take effect,
regardless of which program is used to tweak things.
я от греха подальше в дос перезагружался...
ЗЫ: сейчас в debian'е у меня почему-то ioctl на его чтение не отрабатывает...
Fat-Zer, 90% проектной мощности. Deluge пашет без остановки.
При этом всё пучком, только Full HD + Firefox иногда (раз в час) замирают на пару секунд :)
90% проектной мощности.
не нормированная величина, однако=)
Fat-Zer, ну, завод написал на упаковке - 15Мб/с.
завод написал на упаковке - 15Мб/с.
Ммм.. Интересно, что бы они значили?
Fat-Zer, ну, завод написал на упаковке - 15Мб/с.
может всё же 150? или 1,5 Гбит/с
-=Serj=-, скорость чтения диска.
Fat-Zer, 15 Мб х 8 = 120 мегабит. Разве мало?
Какая-то странная скорость, у меня 2.5" самый медленный 30 мегабайт в сек.
zenon, зато у меня вашей "парковки каждые 1.5с" нету :P
Wolfenberg, лучше покажи вот так:
# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 8694 MB in 2.00 seconds = 4349.61 MB/sec
Timing buffered disk reads: 518 MB in 3.01 seconds = 172.31 MB/sec
# dd if=/dev/zero of=/root/output.img bs=8k count=256k
262144+0 записей получено
262144+0 записей отправлено
скопировано 2147483648 байт (2,1 GB), 14,0226 c, 153 MB/c
# hdparm -I /dev/sda | grep -i speed
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
zenon, не вопрос:
/dev/sdb:
Timing cached reads: 3530 MB in 2.00 seconds = 1764.58 MB/sec
Timing buffered disk reads: 318 MB in 3.01 seconds = 105.48 MB/sec
hdparm -I /dev/sdb | grep -i speed
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)Wolfenberg, ну и про какие 15 Мб/с ты говорил? У тебя все сто.
zenon, ошибся, значит кто-то.
Либо я, либо автор нашлёпки.
У тебя все сто.
а я нос хотел утереть, что мой FUJITSU MPF3102AT отдаёт все 23Мб/с...
[console]alexander@goblin /tmp $ sudo dd if=/dev/sdb of=/dev/null bs=1M count=1024
1024+0 записей получено
1024+0 записей отправлено
скопировано 1073741824 байта (1,1 GB), 45,2108 c, 23,7 MB/c
[/console]
=)
smartctl 5.42 2011-10-20 r3458 [x86_64-linux-3.6.11-gentoo-goblin-0.3.1] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Model Family: Fujitsu MPA..MPG
Device Model: FUJITSU MPF3102AT
Serial Number: 01106994
Firmware Version: 0028
User Capacity: 10 248 118 272 bytes [10,2 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 5
ATA Standard is: ATA/ATAPI-5 T13 1321D revision 1
Local Time is: Tue Mar 12 18:34:07 2013 MSK
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
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x1b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
No Selective Self-test supported.
SMART capabilities: (0x0002) Does not save SMART data before
entering power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 14) minutes.
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 0x000b 100 100 032 Pre-fail Always - 48957
2 Throughput_Performance 0x0005 090 088 020 Pre-fail Offline - 63
3 Spin_Up_Time 0x0007 094 094 025 Pre-fail Always - 2
4 Start_Stop_Count 0x0012 099 099 016 Old_age Always - 563
5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 020 Pre-fail Always - 3043
8 Seek_Time_Performance 0x0005 077 077 019 Pre-fail Offline - 36
9 Power_On_Seconds 0x0012 001 001 020 Old_age Always FAILING_NOW 45856h+11m+58s
10 Spin_Retry_Count 0x0013 100 100 020 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 097 097 020 Old_age Always - 552
196 Reallocated_Event_Count 0x0033 100 100 024 Pre-fail Always - 0
197 Current_Pending_Sector 0x0010 100 100 020 Old_age Offline - 0
198 Offline_Uncorrectable 0x0010 100 100 020 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 197 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x000b 100 093 020 Pre-fail Always - 224
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
а я нос хотел утереть, что мой FUJITSU MPF3102AT отдаёт все 23Мб/с...
Зверь агрегат!
9 Power_On_Seconds 0x0012 001 001 020 Old_age Always FAILING_NOW 45856h+11m+58s
На второй круг пошёл :D
Кстати у моего 8 летнего WD
Что там видно? Хотя не знаю когда был включен смарт, может он был отключен.
martctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build)
Error logging capability: (0x01) Error logging supported.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 88) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x003f) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 200 159 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0007 136 119 021 Pre-fail Always - 5725
4 Start_Stop_Count 0x0032 095 095 040 Old_age Always - 5841
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 200 200 051 Pre-fail Always - 0
9 Power_On_Hours 0x0032 073 073 000 Old_age Always - 20249
10 Spin_Retry_Count 0x0013 100 100 051 Pre-fail Always - 0
11 Calibration_Retry_Count 0x0013 100 097 051 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 095 095 000 Old_age Always - 5804
194 Temperature_Celsius 0x0022 106 068 000 Old_age Always - 44
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 0x0012 200 200 000 Old_age Always - 0
199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always - 161
200 Multi_Zone_Error_Rate 0x0009 200 200 051 Pre-fail Offline - 0
SMART Error Log Version: 1
ATA Error Count: 4279 (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 4279 occurred at disk power-on lifetime: 16079 hours (669 days + 23 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 08 8d 8e 96 e0 Error: UNC 8 sectors at LBA = 0x00968e8d = 9866893
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 00 08 8b 8e 96 1b 00 00:03:10.900 READ DMA EXT
27 00 00 00 00 00 00 00 00:03:10.900 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:03:10.900 IDENTIFY DEVICE
ef 03 45 00 00 00 00 00 00:03:10.900 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:03:10.900 READ NATIVE MAX ADDRESS EXT
Error 4278 occurred at disk power-on lifetime: 16079 hours (669 days + 23 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 08 8d 8e 96 e0 Error: UNC 8 sectors at LBA = 0x00968e8d = 9866893
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 00 08 8b 8e 96 1b 00 00:03:08.650 READ DMA EXT
27 00 00 00 00 00 00 00 00:03:08.650 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:03:08.650 IDENTIFY DEVICE
ef 03 45 00 00 00 00 00 00:03:08.650 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:03:08.650 READ NATIVE MAX ADDRESS EXT
Error 4277 occurred at disk power-on lifetime: 16079 hours (669 days + 23 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 08 8d 8e 96 e0 Error: UNC 8 sectors at LBA = 0x00968e8d = 9866893
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 00 08 8b 8e 96 1b 00 00:03:06.600 READ DMA EXT
27 00 00 00 00 00 00 00 00:03:06.600 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:03:06.600 IDENTIFY DEVICE
ef 03 45 00 00 00 00 00 00:03:06.600 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:03:06.600 READ NATIVE MAX ADDRESS EXT
Error 4276 occurred at disk power-on lifetime: 16079 hours (669 days + 23 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 08 8d 8e 96 e0 Error: UNC 8 sectors at LBA = 0x00968e8d = 9866893
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 00 08 8b 8e 96 1b 00 00:03:04.400 READ DMA EXT
27 00 00 00 00 00 00 00 00:03:04.400 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:03:04.400 IDENTIFY DEVICE
ef 03 45 00 00 00 00 00 00:03:04.400 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:03:04.400 READ NATIVE MAX ADDRESS EXT
Error 4275 occurred at disk power-on lifetime: 16079 hours (669 days + 23 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 08 8d 8e 96 e0 Error: UNC 8 sectors at LBA = 0x00968e8d = 9866893
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
25 00 08 8b 8e 96 1b 00 00:03:02.250 READ DMA EXT
27 00 00 00 00 00 00 00 00:03:02.250 READ NATIVE MAX ADDRESS EXT
ec 00 00 00 00 00 00 00 00:03:02.250 IDENTIFY DEVICE
ef 03 45 00 00 00 00 00 00:03:02.250 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 00 00 00:03:02.250 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 Short offline Completed: read failure 10% 6325 9107123
# 2 Short offline Completed: read failure 10% 5042 1145309
# 3 Short offline Completed: read failure 10% 5042 1145309
# 4 Short offline Completed: read failure 10% 4509 19462062
# 5 Short offline Completed: read failure 10% 4508 19462062
# 6 Extended offline Completed without error 00% 1830 -
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.
Что там видно?
Так живой, вроде.