Désactiver mise en veille

Fermé
yann458 Messages postés 456 Date d'inscription dimanche 29 mai 2011 Statut Membre Dernière intervention 13 mars 2024 - 24 mai 2016 à 21:36
yann458 Messages postés 456 Date d'inscription dimanche 29 mai 2011 Statut Membre Dernière intervention 13 mars 2024 - 31 mai 2016 à 19:34
Bonjour,

J'ai récemment commander un HDD WDC Red Bulk 6 To et un boitier externe ICYBOX.
Ca fonctionne , je tourne sous debian,
mais le hic , le HDD s'arrête quand aucune opération à lieu au bout de x temps,
et dés que j'accéde à un dossier de ce HDD , la réponse est trés lente car il redemarre (sortit de mise en veille).
Et l'attente peux durer 1 minute.

Comment désactiver la mise en veille du HDD externe ??

Merci

A voir également:

6 réponses

UnGnU Messages postés 1158 Date d'inscription lundi 2 mai 2016 Statut Contributeur Dernière intervention 22 décembre 2020 157
25 mai 2016 à 07:35
Salut,

Tu devrais trouver ton bonheur avec hdparm et son option -B :

 -B     Get/set Advanced Power Management feature, if the drive supports

0
yann458 Messages postés 456 Date d'inscription dimanche 29 mai 2011 Statut Membre Dernière intervention 13 mars 2024
25 mai 2016 à 10:38
Il faut que je tape cet commande "hdparm -B" à chaque démarrage de Debian ???
Pour désactiver c'est bien
hdparm -B 0 /dev/sdc ???
0
UnGnU Messages postés 1158 Date d'inscription lundi 2 mai 2016 Statut Contributeur Dernière intervention 22 décembre 2020 157
25 mai 2016 à 10:41
Jette un œil au lien que j'ai mis.
0
yann458 Messages postés 456 Date d'inscription dimanche 29 mai 2011 Statut Membre Dernière intervention 13 mars 2024
25 mai 2016 à 19:54
j'ai ça :
root@debian-w:/home/cudila# hdparm -B0 /dev/sdb

/dev/sdb:
setting Advanced Power Management level to 0x00 (0)
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
APM_level = not supported
root@debian-w:/home/cudila# hdparm -B0 /dev/sdb

/dev/sdb:
setting Advanced Power Management level to 0x00 (0)
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
APM_level = not supported


Mon disque dur c'est le sdb
0
yann458 Messages postés 456 Date d'inscription dimanche 29 mai 2011 Statut Membre Dernière intervention 13 mars 2024
Modifié par yann458 le 25/05/2016 à 20:01
et j'ai ça avec la valeur 255
root@debian-w:/home/cudila# hdparm -B255 /dev/sdb

/dev/sdb:
setting Advanced Power Management level to disabled
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
APM_level = not supported
root@debian-w:/home/cudila#


root@debian-w:/home/cudila# hdparm -I /dev/sdb

/dev/sdb:

ATA device, with non-removable media
Model Number: WDC WD60EFRX-68L0BN1
Serial Number: WD-WX41D75CT7YF
Firmware Revision: 82.00A82
Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x001f)
Supported: 9 8 7 6 5
Likely used: 9
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:11721045168
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 5723166 MBytes
device size with M = 1000*1000: 6001175 MBytes (6001 GB)
cache/buffer size = unknown
Nominal Media Rotation Rate: 5700
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
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
  • 48-bit Address feature set
  • Device Configuration Overlay feature set
  • Mandatory FLUSH_CACHE
  • FLUSH_CACHE_EXT
  • SMART error logging
  • SMART self-test

Media Card Pass-Through
  • General Purpose Logging feature set
  • 64-bit World wide name
  • URG for READ_STREAM[_DMA]_EXT
  • URG for WRITE_STREAM[_DMA]_EXT
  • IDLE_IMMEDIATE with UNLOAD
  • 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)
  • Gen3 signaling speed (6.0Gb/s)
  • Native Command Queueing (NCQ)
  • Host-initiated interface power management
  • Phy event counters
  • Idle-Unload when NCQ is active
  • NCQ priority information
  • unknown 76[15]

DMA Setup Auto-Activate optimization
Device-initiated interface power management
  • Software settings preservation
  • SMART Command Transport (SCT) feature set
  • SCT LBA Segment Access (AC2)
  • SCT Error Recovery Control (AC3)
  • SCT Features Control (AC4)
  • SCT Data Tables (AC5)

unknown 206[12] (vendor specific)
unknown 206[13] (vendor specific)
  • DOWNLOAD MICROCODE DMA command
  • WRITE BUFFER DMA command
  • READ BUFFER DMA command

Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
Logical Unit WWN Device Identifier: 50014ee004197108
NAA : 5
IEEE OUI : 0014ee
Unique ID : 004197108
Checksum: correct
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
UnGnU Messages postés 1158 Date d'inscription lundi 2 mai 2016 Statut Contributeur Dernière intervention 22 décembre 2020 157
26 mai 2016 à 07:45
Gestion d'énergie

Pour les disques qui ne le supporterait pas, comme les WesternDigital série Green, une solution de contournement est proposée ici, et une autre utilise hd-idle

0
yann458 Messages postés 456 Date d'inscription dimanche 29 mai 2011 Statut Membre Dernière intervention 13 mars 2024
31 mai 2016 à 19:34
En bidouillant hdparm pour tenter de prolonger le compte à rebours temps de mise en veille,
est ce que ca peux mettre matériellement HS mon dd externe ?????
Mon DD externe est sous garantit.
Je peux perdre mes données oui ca c'est sure (si je touche par exemple au nombre de secteurs).
0