LinuxForum.Fans
Тема

Парковка головок HDD

Автор: doctor_jekyll 33 сообщений 11643 просмотров
#259556

Покажите ещё

text

hdparm -I /dev/sda

P.S. Здесь I — большая английская «ай».

#259557
"Lupo Alberto" написал:
«Чукча не писатель, чукча читатель» ©
Я в теории слаб, полностью доверился рекомендациям parted.

похоже понял, откуда эта цифра взялась:

"из fdisk для нового диска" написал:
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
"Lupo Alberto" написал:
На практике у меня раздел начинается с 2048-го сектора, т.е. пропускается 1Мб, и далее всё в целых мегабайтах.

спорить как бы и не о чем =)))

doctor_jekyll, а шапочку fdisk'а можно?
сомневаюсь. что хрюканье сэтим связано... скорее это только на быстродействие отражается...

#259570

/dev/sda:

ATA device, with non-removable media
Model Number: WDC WD5000AADS-00S9B0
Serial Number: WD-WCAV96502620
Firmware Revision: 01.00A01
Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6
Standards:
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 976773168
Logical/Physical Sector size: 512 bytes
device size with M = 1024*1024: 476940 MBytes
device size with M = 1000*1000: 500107 MBytes (500 GB)
cache/buffer size = unknown
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* 64-bit World wide name
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* NCQ priority information
DMA Setup Auto-Activate optimization
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT LBA Segment Access (AC2)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
unknown 206[12] (vendor specific)
unknown 206[13] (vendor specific)
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
supported: enhanced erase
104min for SECURITY ERASE UNIT. 104min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50014ee102df0b25
NAA : 5
IEEE OUI : 0014ee
Unique ID : 102df0b25
Checksum: correct

fdisk -l /dev/sda

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, всего 976773168 секторов
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9569a83f

Устр-во Загр Начало Конец Блоки Id Система
/dev/sda1 * 63 105322139 52661038+ 7 HPFS/NTFS/exFAT
/dev/sda2 105322201 976768064 435722932 5 Расширенный
/dev/sda5 105322203 166401269 30539533+ 7 HPFS/NTFS/exFAT
/dev/sda6 166401333 271257524 52428096 83 Linux
/dev/sda7 271257588 275064929 1903671 82 Linux своп / Solaris
/dev/sda8 275064993 976768064 350851536 83 Linux

#259711

Маленький солюшн
hdparm -M 254 -B 255 /dev/sda - добавить в стартап. На данный момент винт молчит.

#259715
"doctor_jekyll" написал:
hdparm -M 254 -B 255 /dev/sda - добавить в стартап. На данный момент винт молчит.

я чего-то пропустил или опция -J ничего не выводит?
ну или дос+офовую утилитку в зубы?

#259716
"doctor_jekyll" написал:
Маленький солюшн

Тогда уж надо было -M 128 так как

text

-M     Get/set Automatic Acoustic Management (AAM) setting. Most modern harddisk drives have the  ability  to  speed
              down  the head movements to reduce their noise output.  The possible values are between 0 and 254. 128 is the
              most quiet (and therefore slowest) setting and 254 the fastest (and loudest). Some drives have only two  lev‐
              els  (quiet  / fast), while others may have different levels between 128 and 254.  At the moment, most drives
              only support 3 options, off, quiet, and fast.  These have been  assigned  the  values  0,  128,  and  254  at
              present, respectively, but integer space has been incorporated for future expansion, should this change.
#259724

Вообще правильнее отредактировать

text
/etc/сonf.d/hdparm

И добавить hdparm сервис в загрузку.

#259731

/etc/conf.d/hdparm пустой.
Что в него вписать то?

(з.ы пакет установил но файл пустой)

#259734
"doctor_jekyll" написал:
/etc/conf.d/hdparm пустой.

В Gentoo это было бы (как один из вариантов)

text
sata_all_args="-M 128 -B 254"
#259750

с теми параметрами , что даны в статье, винт и дальше похрюкивает ...
Я свои оставил ..

#259788

-M не все hdd поддерживают, шума в режиме fast не слышу... :)

text
# hdparm -B 255 -M 254 -S 0 /dev/sda

/dev/sda: setting Advanced Power Management level to disabled setting acoustic management to 254 HDIO_DRIVE_CMD:ACOUSTIC failed: Input/output error setting standby to 0 (off) APM_level = off acoustic = not supported

# hdparm -B 255 -M 254 -S 0 /dev/sdb

/dev/sdb: setting Advanced Power Management level to disabled setting acoustic management to 254 HDIO_DRIVE_CMD:ACOUSTIC failed: Input/output error setting standby to 0 (off) APM_level = off acoustic = not supported

# hdparm -B 255 -M 254 -S 0 /dev/sdc

/dev/sdc: setting Advanced Power Management level to disabled setting acoustic management to 254 setting standby to 0 (off) APM_level = off acoustic = 254 (128=quiet ... 254=fast)

#260791

ТОЛЬКО ДЛЯ WD GREEN CAVIAR
НА ВАШ СТРАХ И РИСК
СДЕЛАТЕ BACKUP ВАШИХ ДАННЫХ ПЕРЕД ВЫПОЛНЕНИЕМ
Удачи!

Arch Linux (подключить AUR)

#yaourt -S idle3-tools
#su
#idle3ctl -d /dev/sda
Войдите или зарегистрируйтесь, чтобы ответить.