Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#401 Le 10/11/2007, à 00:32

akira86

Re : Vieillissement prématuré des disques durs de portables

ReSalut ...

Avec 254 et toutes les autre modif sa fonctionne !!! big_smile

Merci à  tous !!!


astuce de la console :
tab pour compléter automatiquement le nom d'une commande d'un dossier ou d'un fichier.
clique molette pour recopier une sélection.

Hors ligne

#402 Le 10/11/2007, à 00:46

ferker

Re : Vieillissement prématuré des disques durs de portables

Avec
sudo smartctl -a /dev/sda | grep Load_Cycle

J'ai comme réponse :

225 Load_Cycle_Count        0xf5ff   237   224   255    Pre-fail  Always   FAILING_NOW 266081258959871

Dois-je m'inquiéter ? Mon transportable a un an !


Transformons nos angoisses en connaissances...

Hors ligne

#403 Le 10/11/2007, à 01:47

slasher_fun

Re : Vieillissement prématuré des disques durs de portables

Trop élevé pour être crédible...

Hors ligne

#404 Le 10/11/2007, à 01:58

compte supprimé

Re : Vieillissement prématuré des disques durs de portables

8 437 381 années à  raison d'un parquage par seconde !
Le nombre est donc aberrant de toute évidence. Quant au message "FAILING_NOW", tout dépend s'il est une conséquence du nombre (genre if n > 600 000 then message) ou s'il est obtenu par un autre procédé.
A priori, la première hypothèse semble la plus logique, et dans ce cas le message est lui aussi aberrant.
Mais tout ça permet seulement de conclure qu'il n'y a pas d'éléments sérieux pour se faire une idée de ce qu'il en est vraiment. Et comme il peut y avoir problème, - ça, c'est assez clair -, il n'est probablement pas inutile de prendre les quelques précautions indiquées plus haut, puisque de toutes façons, à  défaut d'être mieux, ça ne pourra pas être pire.

A+

#405 Le 10/11/2007, à 02:03

ferker

Re : Vieillissement prématuré des disques durs de portables

En retapant sudo smartctl -a /dev/sda | grep Load_Cycle, j'obtiens cette fois :

225 Load_Cycle_Count        0xd0e0   137   241   224    Old_age   Offline  FAILING_NOW 230966537933296

et avec sudo smartctl -a /dev/sda, j'obtiens ce qui suit. Quelqu'un peut me traduire ?


smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     SAMSUNG MP0804H
Serial Number:    S042J10L788833
Firmware Version: YS200-06
User Capacity:    80 060 424 192 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 0
Local Time is:    Sat Nov 10 01:41:41 2007 CET

==> WARNING: May need -F samsung or -F samsung2 enabled; see manual for details.

SMART support is: Available - device has SMART capability.
SMART support is: Disabled

Warning! SMART Attribute Data Structure error: invalid SMART checksum.
Warning! SMART Attribute Thresholds Structure error: invalid SMART checksum.
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0xff) Offline data collection activity
                                        is in a Vendor Specific state
.
                                        Auto Offline Data Collection: Enabled.
Total time to complete Offline
data collection:                 (65535) seconds.
Offline data collection
capabilities:                    (0x00)         Offline data collection not supported.
SMART capabilities:            (0xffff) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0xff) Error logging supported.
                                        No General Purpose Logging support.

SMART Attributes Data Structure revision number: 65535
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920
255 Unknown_Attribute       0xff00   255   255   000    Old_age   Offline      -       280379760049920

Warning! SMART ATA Error Log Structure error: invalid SMART checksum.
SMART Error Log Version: 255
Invalid Error Log index = 0xff (T13/1321D rev 1c Section 8.41.6.8.2.2 gives valid range from 1 to 5)

Warning! SMART Self-Test Log Structure error: invalid SMART checksum.
SMART Self-test log structure revision number 65535
Warning: ATA Specification requires self-test log structure revision number = 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Vendor offline      Completed without error       00%     65535         -
# 2  Vendor offline      Completed without error       00%     65535         -
# 3  Vendor offline      Completed without error       00%     65535         -
# 4  Vendor offline      Completed without error       00%     65535         -
# 5  Vendor offline      Completed without error       00%     65535         -
# 6  Vendor offline      Completed without error       00%     65535         -
# 7  Vendor offline      Completed without error       00%     65535         -
# 8  Vendor offline      Completed without error       00%     65535         -
# 9  Vendor offline      Completed without error       00%     65535         -
#10  Vendor offline      Completed without error       00%     65535         -
#11  Vendor offline      Completed without error       00%     65535         -
#12  Vendor offline      Completed without error       00%     65535         -
#13  Vendor offline      Completed without error       00%     65535         -
#14  Vendor offline      Completed without error       00%     65535         -
#15  Vendor offline      Completed without error       00%     65535         -
#16  Vendor offline      Completed without error       00%     65535         -
#17  Vendor offline      Completed without error       00%     65535         -
#18  Vendor offline      Completed without error       00%     65535         -
#19  Vendor offline      Completed without error       00%     65535         -
#20  Vendor offline      Completed without error       00%     65535         -
#21  Vendor offline      Completed without error       00%     65535         -

Device does not support Selective Self Tests/Logging


Transformons nos angoisses en connaissances...

Hors ligne

#406 Le 10/11/2007, à 02:12

compte supprimé

Re : Vieillissement prématuré des disques durs de portables

Il est question de "Vendor Specific SMART Attributes with Thresholds" (voir peut-être sur google...). J'ai déjà  émis l'hypothèse que smartctl ne les décode peut-être pas tous correctement, ce qui expliquerait les valeurs aberrantes.
Mais encore une fois, ce n'est pas parce que le thermomètre est cassé que le malade n'a pas de fièvre...

PS : smartctl -a /dev/sda | grep Load... ne fait qu'extraire certaines lignes, tandis que smartctl -a /dev/sda les affiche toutes. Or manifestement il n'y a pas de ligne Load... Donc c'est smartctl qui déconne.

Dernière modification par faustus (Le 10/11/2007, à 02:19)

#407 Le 10/11/2007, à 02:28

ferker

Re : Vieillissement prématuré des disques durs de portables

Je chercherai mieux demain. Mais je ne pars pas me coucher très rassuré :-))

Merci slasher-fun et faustus smile


Transformons nos angoisses en connaissances...

Hors ligne

#408 Le 10/11/2007, à 02:33

compte supprimé

Re : Vieillissement prématuré des disques durs de portables

Eteins l'ordi avant de t'endormir. S'il dort aussi, il ne lui arrivera rien... lol

Bonne nuit !

#409 Le 10/11/2007, à 06:34

scorpio810

Re : Vieillissement prématuré des disques durs de portables

@ ferker
man smartctl   wink


"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

http://qelectrotech.org/

Hors ligne

#410 Le 10/11/2007, à 11:50

the_oliver_2000

Re : Vieillissement prématuré des disques durs de portables

Bonjour,

La commande smarctl ne me renvoie rien pour load_cycle...
Ci-dessous le résultat d'un smartctl -a

smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Model Family:     Maxtor DiamondMax Plus D740X family
Device Model:     MAXTOR 6L040J2
Serial Number:    362201529538
Firmware Version: A93.0500
User Capacity:    40 027 029 504 bytes
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:    Sat Nov 10 11:40:14 2007 CET
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:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                 (  34) 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:            (0x0003) Saves 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:        (  20) minutes.

SMART Attributes Data Structure revision number: 11
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x0029   100   253   020    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0027   080   080   020    Pre-fail  Always       -       2519
  4 Start_Stop_Count        0x0032   095   095   008    Old_age   Always       -       3413
  5 Reallocated_Sector_Ct   0x0033   100   100   020    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   093   023    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0012   091   091   001    Old_age   Always       -       6479
 10 Spin_Retry_Count        0x0026   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0013   100   100   020    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   095   095   008    Old_age   Always       -       3323
 13 Read_Soft_Error_Rate    0x000b   100   100   023    Pre-fail  Always       -       0
194 Temperature_Celsius     0x0022   082   077   042    Old_age   Always       -       47
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       265877
196 Reallocated_Event_Count 0x0010   100   253   020    Old_age   Offline      -       0
197 Current_Pending_Sector  0x0032   100   100   020    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x001a   198   198   000    Old_age   Always       -       2

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

Hors ligne

#411 Le 10/11/2007, à 13:00

DiCiCat

Re : Vieillissement prématuré des disques durs de portables

@the_olivier_2000

faut apprendre a lire avant de reposter encore et toujours la meme chose. Ton HDD est un disque de desktop (un HDD 3,5") il n'est pas sensé gérer le parquage des tetes, c'est donc tout a fait normal que smart ne te trouve rien.

Maintenant je disparais de ce tread qui tourne en rond. Toutes les infos sont P14 et P15 du fil.

Dernière modification par DiCiCat (Le 10/11/2007, à 13:06)

Hors ligne

#412 Le 10/11/2007, à 13:04

®om

Re : Vieillissement prématuré des disques durs de portables

Si j'ai mis 254 à hdparm (cycle load count n'augmente plus), et que laptop_mode me répond "Laptop mode disabled, not active", quels sont les risques?

Merci d'avance.

Hors ligne

#413 Le 10/11/2007, à 13:13

Hornblende

Re : Vieillissement prématuré des disques durs de portables

Salut à  tous!

Comme vous je m'inquiète de ce problème de gestion du parquage des têtes.
Après avoir cherché sur le net et essayé de nombreuses config pour régler le problème, j'en suis arrivé à  ça:

###############################################################################
#
# Configuration for Laptop Mode Tools
# -----------------------------------
#
# There is a "system" to the configuration setting names:
#    CONTROL_something=0/1   Determines whether Laptop Mode Tools controls 
#                            something
#    LM_something=value      Value of "something" when laptop mode is active
#    NOLM_something=value    Value of "something" when laptop mode is NOT
#                            active
#    AC_something=value      Value of "something" when the computer is running
#                            on AC power
#    BATT_something=value    Value of "something when the computer is running
#                            on battery power
#
# There can be combinations of LM_/NOLM_ and AC_/BATT_ prefixes, but the
# available prefixes are different for each setting. The available ones are 
# documented in the manual page, laptop-mode.conf(8). If there is no LM_/
# NOLM_ in a setting name, then the value is used independently of laptop
# mode state, and similarly, if there is no AC_/BATT_, then the value is used
# independently of power state.
#
# Some options only work on ACPI systems. They are marked ACPI-ONLY.
#
# Note that this configuration file is a fragment of bash shell script: you
# can use all the features of the bash scripting language to achieve your
# desired configuration.
#
# 
# IMPORTANT: Laptop Mode Tools modules have separate configuration files, that
# can be found in /etc/laptop-mode/conf.d. Please look through these
# configuration files as well!
#
###############################################################################



###############################################################################
# Configuration debugging
# -----------------------
###############################################################################


#
# Set this to 1 if you want to see a lot of information when you start/stop 
# laptop_mode.
#
VERBOSE_OUTPUT=0



###############################################################################
# When to enable laptop mode
# --------------------------
#
# "Laptop mode" is the mode in which laptop mode tools makes the computer
# consume less power. This includes the kernel "laptop_mode" feature, which
# allows your hard drives to spin down, as well as various other settings which
# can be tweaked by laptop mode tools. You can enable or disable all of these
# settings using the CONTROL_... options further down in this config file.
###############################################################################


#
# Enable laptop mode when on battery power.
#
ENABLE_LAPTOP_MODE_ON_BATTERY=1


#
# Enable laptop mode when on AC power.
#
ENABLE_LAPTOP_MODE_ON_AC=1


#
# Enable laptop mode when the laptop's lid is closed, even when we're on AC
# power? (ACPI-ONLY)
#
ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=1



###############################################################################
# When to enable data loss sensitive features
# -------------------------------------------
#
# When data loss sensitive features are disabled, laptop mode tools acts as if
# laptop mode were disabled, for those features only.
#
# Data loss sensitive features include:
# - laptop_mode (i.e., delayed writes)
# - hard drive write cache
#
# All of the options that follow can be set to 0 in order to prevent laptop
# mode tools from using them to stop data loss sensitive features. Use this
# when you have a battery that reports the wrong information, that confuses
# laptop mode tools.
#
# Disabling data loss sensitive features is ACPI-ONLY.
###############################################################################


#
# Disable all data loss sensitive features when the battery level (in % of the
# battery capacity) reaches this value.
#
MINIMUM_BATTERY_CHARGE_PERCENT=3


#
# Disable data loss sensitive features when the battery reports its state
# as "critical".
#
DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1


###############################################################################
# Controlled hard drives and partitions
# -------------------------------------
#
# For spinning down your hard drives, laptop mode will remount file systems and
# adjust hard drive spindown timeouts. These parameters specify which
# devices and partitions are affected by laptop mode.
###############################################################################


#
# The drives that laptop mode controls.
# Separate them by a space, e.g. HD="/dev/hda /dev/hdb". The default is a
# wildcard, which will get you all your IDE and SCSI/SATA drives.
#
HD="/dev/[hs]d[abcdefgh]"


#
# The partitions (or mount points) that laptop mode controls.
# Separate the values by spaces. Use "auto" to indicate all partitions on drives
# listed in HD. You can add things to "auto", e.g. "auto /dev/hdc3". You can
# also specify mount points, e.g. "/mnt/data".
#
PARTITIONS="auto /dev/mapper/*"


#
# If this is enabled, laptop mode tools will assume that SCSI drives are
# really SATA drives that only _look_ like SCSI drives, and will use hdparm
# to control them. Set this to 0 if you have /dev/sd devices and you want
# laptop mode tools to use the "sdparm" command to control them. 
#
ASSUME_SCSI_IS_SATA=1


###############################################################################
# Hard drive behaviour settings
# -----------------------------
#
# These settings specify how laptop mode tools will adjust the various
# parameters of your hard drives and file systems.
###############################################################################


#
# Maximum time, in seconds, of work that you are prepared to lose when your
# system crashes or power runs out. This is the maximum time that Laptop Mode
# will keep unsaved data waiting in memory before spinning up your hard drive.
#
LM_BATT_MAX_LOST_WORK_SECONDS=3600
LM_AC_MAX_LOST_WORK_SECONDS=3600


#
# Should laptop mode tools control readahead?
#
CONTROL_READAHEAD=1


#
# Read-ahead, in kilobytes. You can spin down the disk while playing MP3/OGG
# by setting the disk readahead to a reasonable size, e.g. 3072 (3 MB).
# Effectively, the disk will read a complete MP3 at once, and will then spin 
# down while the MP3/OGG is playing. Don't set this too high, because the 
# readahead is applied to _all_ files that are read from disk.
#
LM_READAHEAD=10240#3072
NOLM_READAHEAD=4096#128


#
# Should laptop mode tools add the "noatime" option to the mount options when 
# laptop mode is enabled?
#
CONTROL_NOATIME=1


#
# Should laptop mode tools control the hard drive idle timeout settings?
#
CONTROL_HD_IDLE_TIMEOUT=1


#
# Idle timeout values. (hdparm -S)
# Default is 2 hours on AC (NOLM_HD_IDLE_TIMEOUT_SECONDS=7200) and 20 seconds
# for battery and for AC with laptop mode on.
#
LM_AC_HD_IDLE_TIMEOUT_SECONDS=7200 #300
LM_BATT_HD_IDLE_TIMEOUT_SECONDS=120 #20
NOLM_HD_IDLE_TIMEOUT_SECONDS=7200


#
# Should laptop mode tools control the hard drive power management settings?
#
CONTROL_HD_POWERMGMT=1 #0


#
# Power management for HD (hdparm -B values)
#
BATT_HD_POWERMGMT=190 #1
LM_AC_HD_POWERMGMT=190 #255
NOLM_AC_HD_POWERMGMT=254 #255


#
# Should laptop mode tools control the hard drive write cache settings?
#
CONTROL_HD_WRITECACHE=1


#
# Write cache settings for HD (hdparm -W values)
#
NOLM_AC_HD_WRITECACHE=1
NOLM_BATT_HD_WRITECACHE=0
LM_HD_WRITECACHE=1



###############################################################################
# CPU frequency scaling and throttling
# ------------------------------------
#
# Laptop mode tools can automatically adjust your kernel CPU frequency
# settings. This includes upper and lower limits and scaling governors.
# There is also support for CPU throttling, on systems that don't support
# frequency scaling.
#
# This feature only works on 2.6 kernels.
###############################################################################


#
# Should laptop mode tools control the maximum CPU frequency?
#
CONTROL_CPU_FREQUENCY=0


#
# Legal values are "slowest" for the slowest speed that your
# CPU is able to operate at, "fastest" for the fastest speed,
# "medium" for some value in the middle, or any value listed in
# /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies.
# The "governor" can be any governor installed on your system, this usually
# includes "ondemand", "conservative", and "performance". The
# "IGNORE_NICE_LOAD" setting specifies that background programs that have
# a low priority ("nice level") should not cause the CPU frequency to
# be increased. (You generally want this to be enabled in battery mode.)
#
BATT_CPU_MAXFREQ=medium
BATT_CPU_MINFREQ=slowest
BATT_CPU_GOVERNOR=ondemand
BATT_CPU_IGNORE_NICE_LOAD=1
LM_AC_CPU_MAXFREQ=fastest
LM_AC_CPU_MINFREQ=slowest
LM_AC_CPU_GOVERNOR=ondemand
LM_AC_CPU_IGNORE_NICE_LOAD=1
NOLM_AC_CPU_MAXFREQ=fastest
NOLM_AC_CPU_MINFREQ=slowest
NOLM_AC_CPU_GOVERNOR=performance
NOLM_AC_CPU_IGNORE_NICE_LOAD=0


#
# Should laptop mode tools control the CPU throttling? This is only useful
# on processors that don't have frequency scaling.
# (Only works when you have /proc/acpi/processor/CPU*/throttling.)
#
CONTROL_CPU_THROTTLING=0


#
# Legal values are "maximum" for the maximum (slowest) throttling level,
# "minimum" for minimum (fastest) throttling level, "medium" for a value
# somewhere in the middle (this is usually 50% for P4s), or any value listed
# in /proc/acpi/processor/CPU*/throttling. Be careful when using "maximum":
# this may be _very_ slow (in fact, with P4s it slows down the processor
# by a factor 8).
#
BATT_CPU_THROTTLING=medium
LM_AC_CPU_THROTTLING=medium
NOLM_AC_CPU_THROTTLING=minimum



###############################################################################
# Syslog configuration control
# ----------------------------
# 
# Syslog daemons have a tendency to sync their log files when entries are
# written to them. This causes disks to spin up, which is not very nice when
# you're trying to save power. The syslog.conf can be tweaked to *not* sync
# a given file, by prepending the log file name with a dash, like this:
#
# 	mail.*		-/var/log/mail/mail.log
#
# Using the following options, you can let laptop mode switch between
# different syslog configurations depending on whether you are working on
# battery or on AC power. To set this up, start by configuring these options
# for your syslog daemon, and then run lm-syslog-setup to create the various
# files. Then edit the laptop mode-specific syslog configuration files to
# remove the syncs only when laptop mode is active.
###############################################################################


#
# Should laptop mode tools control which syslog.conf should be used?
#
CONTROL_SYSLOG_CONF=1


#
# Laptop mode tools controls syslog.conf by replacing /etc/syslog.conf (or
# whatever you specify in SYSLOG_CONF) by a link to the files configured here.
# NOTE: these files are NOT created by default, and if they do not
# exist this feature will not work. You can run the script
# /usr/sbin/lm-syslog-setup to set things up.
#
LM_AC_SYSLOG_CONF=/etc/syslog-on-ac-with-lm.conf
NOLM_AC_SYSLOG_CONF=/etc/syslog-on-ac-without-lm.conf
BATT_SYSLOG_CONF=/etc/syslog-on-battery.conf


#
# Signal this program when syslog.conf has been replaced.
#
SYSLOG_CONF_SIGNAL_PROGRAM=syslogd


#
# This is the syslog configuration file that should be replaced by a link to
# the other files.
#
SYSLOG_CONF=/etc/syslog.conf



###############################################################################
# X display settings
# ------------------
#
# Using these settings, you can let laptop mode tools control the X display
# standby timeouts.
#
# This requires that you have installed the "xset" utility. It is part of the
# X.org server distribution and included in the package xorg-server-utils.
#
# The X settings are not automatically applied on login, and this is
# impossible fix for the user, since laptop mode tools must operate as root.
# Therefore, it is recommended to add the following line to /etc/X11/Xsession
# as well:
#
#   /usr/sbin/laptop_mode force
#
###############################################################################


#
# Should laptop mode tools control DPMS standby settings for X displays?
#
CONTROL_DPMS_STANDBY=0


#
# These settings specify the standby timeout for the X display,
# in seconds. The suspend and poweroff timeouts are somewhat
# larger values derived from these values.
#
BATT_DPMS_STANDBY=300
LM_AC_DPMS_STANDBY=1200
NOLM_AC_DPMS_STANDBY=1200



###############################################################################
# Terminal settings
# -----------------
#
# Using these settings, you can let laptop mode tools control the terminal
# blanking timeouts. This only works for linux virtual consoles.
#
###############################################################################


#
# Should laptop mode tools control terminal blanking settings?
#
CONTROL_TERMINAL=0


#
# Terminal device files that should be affected. (One terminal is enough, this
# affects all consoles. )
#
TERMINALS="/dev/tty1"


#
# These settings specify the blanking and powerdown timeouts. Note that
# the powerdown timeout is counted from the moment the screen is blanked,
# i.e. BLANK_MINUTES=2 and POWERDOWN_MINUTES=5 means the screen powers
# down after 7 minutes of inactivity. The range for all these settings is
# 1 to 60 minutes, or 0 to disable.
#
BATT_TERMINAL_BLANK_MINUTES=1
BATT_TERMINAL_POWERDOWN_MINUTES=2
LM_AC_TERMINAL_BLANK_MINUTES=1 #10
LM_AC_TERMINAL_POWERDOWN_MINUTES=2 #10
NOLM_AC_TERMINAL_BLANK_MINUTES=10
NOLM_AC_TERMINAL_POWERDOWN_MINUTES=50


###############################################################################
# LCD brightness settings
# -----------------------
#
# Using these settings, you can make laptop mode tools automatically adjust
# your LCD's brightness settings. The settings are extremely simple -- they
# only allow for the execution of a command, nothing more. The reason for this
# is that LCD brightness settings are very different between laptop vendors.
#
# Suggestions for commands:
#
#  * If your system has the file "/proc/acpi/video/VID/LCD/brightness" (VID may
#    be VID1 or similar), use this file as BRIGHTNESS_OUTPUT, and use
#    the command "echo <value>". The possible values can be listed using the
#    command:
#
#       cat /proc/acpi/video/VID/LCD/brightness
#
#  * If you have a file /sys/class/backlight/.../brightness, then you can use
#    that file as BRIGHTNESS_OUTPUT, and the command "echo <value>".
#
#    As far as I understand it the values are between 0 and
#    the value contained in the file /sys/class/backlight/.../max_brightness.
#
#  * For Toshiba laptops, use the command "toshset" with the -lcd or -inten
#    command. Read the toshset(1) manual page for more information on the
#    parameters for this command. If you use this command, set
#    BRIGHTNESS_OUTPUT to "/dev/null".
#
###############################################################################


#
# Should laptop mode tools control LCD brightness?
#
CONTROL_BRIGHTNESS=0


#
# Commands to execute to set the brightness on your LCD
#
BATT_BRIGHTNESS_COMMAND="echo [value]"
LM_AC_BRIGHTNESS_COMMAND="echo [value]"
NOLM_AC_BRIGHTNESS_COMMAND="echo [value]"
BRIGHTNESS_OUTPUT="/proc/acpi/video/VID/LCD/brightness"


###############################################################################
# Auto-hibernation settings
# -------------------------
#
# Using these settings, you can make laptop mode tools automatically put your
# computer into hibernation when the battery level goes critically low.
#
# This feature only works on ACPI, and only works on computers whose batteries
# give off battery events often enough.
###############################################################################


#
# Should laptop mode tools perform auto-hibernation?
#
ENABLE_AUTO_HIBERNATION=0


#
# The hibernation command that is to be executed when auto-hibernation
# is triggered.
#
HIBERNATE_COMMAND=/usr/sbin/hibernate


#
# Auto-hibernation battery level threshold, in percentage of the battery's
# total capacity.
#
AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT=2


#
# Enable this to auto-hibernate if the battery reports that its level is
# "critical".
#
AUTO_HIBERNATION_ON_CRITICAL_BATTERY_LEVEL=1



###############################################################################
# Start/Stop Programs settings
# ----------------------------
#
# Laptop mode tools can automatically start and stop programs when entering
# various power modes. Put scripts accepting "start" and "stop" parameters
# in the directories /etc/laptop-mode/batt-stop, batt-start, lm-ac-stop,
# lm-ac-start, nolm-ac-stop and nolm-ac-start. Laptop mode will call the
# scripts in a state-"stop" directory with the "stop" parameter when entering
# the state in question, and it will call the same scripts with the "start"
# parameter when leaving the state. Scripts in a state-"start" directory are
# called with the "start" parameter when the specified state is entered, and
# with the "stop" parameter when the specified state is left.
###############################################################################


#
# Should laptop mode start and stop programs? 
#
CONTROL_START_STOP=1



###############################################################################
# Settings you probably don't want to touch
# -----------------------------------------
#
# It is usually not necessary to change these parameters. They are included
# for completeness' sake.
###############################################################################


#
# Change mount options on partitions in PARTITIONS? You don't really want to
# disable this. If you do, then your hard drives will probably not spin down
# anymore.
#
CONTROL_MOUNT_OPTIONS=1


#
# Dirty synchronous ratio.  At this percentage of dirty pages the process
# which calls write() does its own writeback.
#
LM_DIRTY_RATIO=60
NOLM_DIRTY_RATIO=40


#
# Allowed dirty background ratio, in percent.  Once DIRTY_RATIO has been
# exceeded, the kernel will wake pdflush which will then reduce the amount
# of dirty memory to dirty_background_ratio.  Set this nice and low, so once
# some writeout has commenced, we do a lot of it.
#
LM_DIRTY_BACKGROUND_RATIO=1
NOLM_DIRTY_BACKGROUND_RATIO=10


#
# kernel default settings -- don't touch these unless you know what you're 
# doing.
#
DEF_UPDATE=5
DEF_XFS_AGE_BUFFER=15
DEF_XFS_SYNC_INTERVAL=30
DEF_XFS_BUFD_INTERVAL=1
DEF_MAX_AGE=30


#
# This must be adjusted manually to the value of HZ in the running kernel
# on 2.4, until the XFS people change their 2.4 external interfaces to work in
# centisecs. This can be automated, but it's a work in progress that still
# needs some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for
# external interfaces, and that is currently always set to 100. So you don't
# need to change this on 2.6.
#
XFS_HZ=100


#
# Seconds laptop mode has to to wait after the disk goes idle before doing
# a sync.
#
LM_SECONDS_BEFORE_SYNC=2

Je tiens particulièrement à  remercier DiCiCat pour l'aide qu'il a apporté.

Pour moi ça a réduit le parquage :3 en 30 minutes depuis que j'ai redémarré.ce qui donnerait 4167 jours de vie théorique. cool
Mais j'utilise mon ordi portable sur secteur essentiellement, donc je sais pas encore ce que ça va donner sur batterie.Je vais tester.


Vous êtes débutant / nouveau sous Ubuntu et Gnu/Linux ? Pas de panique !
=> commencez par là

Hors ligne

#414 Le 10/11/2007, à 14:15

Soldado

Re : Vieillissement prématuré des disques durs de portables

Bonjour,

J'ai appliqué la métho de DiCiCat page 14 via laptop-mode

voici les variables du laptop-mode.conf

soldado@Forte:~$ cat /etc/laptop-mode/laptop-mode.conf | grep -v "#" | grep -v ^$
VERBOSE_OUTPUT=0
ENABLE_LAPTOP_MODE_ON_BATTERY=1
ENABLE_LAPTOP_MODE_ON_AC=0
ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0
MINIMUM_BATTERY_CHARGE_PERCENT=3
DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1
HD="/dev/[hs]d[abcdefgh]"
PARTITIONS="auto /dev/mapper/*"
ASSUME_SCSI_IS_SATA=1
LM_BATT_MAX_LOST_WORK_SECONDS=1200
LM_AC_MAX_LOST_WORK_SECONDS=360
CONTROL_READAHEAD=1
LM_READAHEAD=3072
NOLM_READAHEAD=128
CONTROL_NOATIME=0
CONTROL_HD_IDLE_TIMEOUT=1
LM_AC_HD_IDLE_TIMEOUT_SECONDS=20
LM_BATT_HD_IDLE_TIMEOUT_SECONDS=20
NOLM_HD_IDLE_TIMEOUT_SECONDS=7200
CONTROL_HD_POWERMGMT=0
BATT_HD_POWERMGMT=0
LM_AC_HD_POWERMGMT=255
NOLM_AC_HD_POWERMGMT=255
CONTROL_HD_WRITECACHE=1
NOLM_AC_HD_WRITECACHE=1
NOLM_BATT_HD_WRITECACHE=0
LM_HD_WRITECACHE=1
CONTROL_CPU_FREQUENCY=1
BATT_CPU_MAXFREQ=medium
BATT_CPU_MINFREQ=slowest
BATT_CPU_GOVERNOR=ondemand
BATT_CPU_IGNORE_NICE_LOAD=1
LM_AC_CPU_MAXFREQ=fastest
LM_AC_CPU_MINFREQ=slowest
LM_AC_CPU_GOVERNOR=ondemand
LM_AC_CPU_IGNORE_NICE_LOAD=1
NOLM_AC_CPU_MAXFREQ=fastest
NOLM_AC_CPU_MINFREQ=slowest
NOLM_AC_CPU_GOVERNOR=ondemand
NOLM_AC_CPU_IGNORE_NICE_LOAD=0
CONTROL_CPU_THROTTLING=0
BATT_CPU_THROTTLING=medium
LM_AC_CPU_THROTTLING=medium
NOLM_AC_CPU_THROTTLING=minimum
CONTROL_SYSLOG_CONF=1
LM_AC_SYSLOG_CONF=/etc/syslog-on-ac-with-lm.conf
NOLM_AC_SYSLOG_CONF=/etc/syslog-on-ac-without-lm.conf
BATT_SYSLOG_CONF=/etc/syslog-on-battery.conf
SYSLOG_CONF_SIGNAL_PROGRAM=syslogd
SYSLOG_CONF=/etc/syslog.conf
CONTROL_DPMS_STANDBY=0
BATT_DPMS_STANDBY=300
LM_AC_DPMS_STANDBY=1200
NOLM_AC_DPMS_STANDBY=1200
CONTROL_TERMINAL=0
TERMINALS="/dev/tty1"
BATT_TERMINAL_BLANK_MINUTES=1
BATT_TERMINAL_POWERDOWN_MINUTES=2
LM_AC_TERMINAL_BLANK_MINUTES=10
LM_AC_TERMINAL_POWERDOWN_MINUTES=10
NOLM_AC_TERMINAL_BLANK_MINUTES=10
NOLM_AC_TERMINAL_POWERDOWN_MINUTES=50
CONTROL_BRIGHTNESS=0
BATT_BRIGHTNESS_COMMAND="echo [value]"
LM_AC_BRIGHTNESS_COMMAND="echo [value]"
NOLM_AC_BRIGHTNESS_COMMAND="echo [value]"
BRIGHTNESS_OUTPUT="/proc/acpi/video/VID/LCD/brightness"
ENABLE_AUTO_HIBERNATION=0
HIBERNATE_COMMAND=/usr/sbin/hibernate
AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT=2
AUTO_HIBERNATION_ON_CRITICAL_BATTERY_LEVEL=1
CONTROL_START_STOP=1
CONTROL_MOUNT_OPTIONS=1
LM_DIRTY_RATIO=60
NOLM_DIRTY_RATIO=40
LM_DIRTY_BACKGROUND_RATIO=1
NOLM_DIRTY_BACKGROUND_RATIO=10
DEF_UPDATE=5
DEF_XFS_AGE_BUFFER=15
DEF_XFS_SYNC_INTERVAL=30
DEF_XFS_BUFD_INTERVAL=1
DEF_MAX_AGE=30
XFS_HZ=100
LM_SECONDS_BEFORE_SYNC=2

J'ai change la valeur ENABLE_LAPTOP_MODE à  true dans /etc/default/acpi-support

soldado@Forte:/etc/default$ cat /etc/default/acpi-support | grep -v "#" | grep -v ^$
ACPI_SLEEP=true
ACPI_HIBERNATE=true
ACPI_SLEEP_MODE=mem
MODULES=""
MODULES_WHITELIST=""
SAVE_VBE_STATE=true
VBESTATE=/var/lib/acpi-support/vbestate
POST_VIDEO=true
USE_DPMS=true
HIBERNATE_MODE=shutdown
LOCK_SCREEN=true
STOP_SERVICES=""
RESTART_IRDA=false
ENABLE_LAPTOP_MODE=true
SPINDOWN_TIME=12

Ensuite j'ai lancé laptop-mode

soldado@Forte:/etc/default$ sudo /etc/init.d/laptop-mode start
 * Enabling laptop mode...

Jusque là  tout semble OK mais en regardant la valeur est à  0

soldado@Forte:/etc/default$ cat /proc/sys/vm/laptop_mode
0

J'ai rebooté et revérifier puis relancé....toujours KO
Js dois avoir une valeur de fausse mais la quelle ? sad

J'ai mis la variable ENABLE_LAPTOP_MODE_ON_AC à  1
Maintenant c'est lancé alors je surveille smile

soldado@Forte:/etc/default$ sudo /etc/init.d/laptop-mode start
 * Enabling laptop mode...                                                                                                                            [ OK ] 
soldado@Forte:/etc/default$ cat /proc/sys/vm/laptop_mode
2

Au passage la température est bonne ?

soldado@Forte:/etc/default$ sudo smartctl -a /dev/sda | grep ID# && sudo smartctl -a /dev/sda | grep Load_Cycle_Count && sudo smartctl -a /dev/sda | grep Celsius && date
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
193 Load_Cycle_Count        0x0032   083   083   000    Old_age   Always       -       35038
190 Temperature_Celsius     0x0022   049   036   045    Old_age   Always   In_the_past 858980403
194 Temperature_Celsius     0x0022   051   064   000    Old_age   Always       -       51 (Lifetime Min/Max 0/14)
samedi 10 novembre 2007, 14:14:30 (UTC+0100)

Kubuntu 12.04 32Bits Asus A6

Hors ligne

#415 Le 10/11/2007, à 14:17

Soldado

Re : Vieillissement prématuré des disques durs de portables

Bon  bin ça ne marche pas sur secteur ni sans secteur....

soldado@Forte:/etc/default$ sudo smartctl -a /dev/sda | grep ID# && sudo smartctl -a /dev/sda | grep Load_Cycle_Count && sudo smartctl -a /dev/sda | grep Celsius && date
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
193 Load_Cycle_Count        0x0032   083   083   000    Old_age   Always       -       35039
190 Temperature_Celsius     0x0022   049   036   045    Old_age   Always   In_the_past 858980403
194 Temperature_Celsius     0x0022   051   064   000    Old_age   Always       -       51 (Lifetime Min/Max 0/14)
samedi 10 novembre 2007, 14:15:50 (UTC+0100)
soldado@Forte:/etc/default$ sudo smartctl -a /dev/sda | grep ID# && sudo smartctl -a /dev/sda | grep Load_Cycle_Count && sudo smartctl -a /dev/sda | grep Celsius && date
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
193 Load_Cycle_Count        0x0032   083   083   000    Old_age   Always       -       35040
190 Temperature_Celsius     0x0022   049   036   045    Old_age   Always   In_the_past 858980403
194 Temperature_Celsius     0x0022   051   064   000    Old_age   Always       -       51 (Lifetime Min/Max 0/14)
samedi 10 novembre 2007, 14:16:01 (UTC+0100)

J'ai plus le temps de faire des tests en changeant qq variable....à  suivre


Kubuntu 12.04 32Bits Asus A6

Hors ligne

#416 Le 10/11/2007, à 16:08

the_oliver_2000

Re : Vieillissement prématuré des disques durs de portables

DiCiCat a écrit :

faut apprendre a lire avant de reposter encore et toujours la meme chose. Ton HDD est un disque de desktop (un HDD 3,5") il n'est pas sensé gérer le parquage des tetes, c'est donc tout a fait normal que smart ne te trouve rien.

Je me disais bien que ma formation n'était pas complète lol
Tu sais quand un fil fait 17 pages il est parfois un peu difficile de trouver le temps de tout lire...
En tout cas merci de ta réponse, je vais aller voir en page 14 et 15.

Hors ligne

#417 Le 10/11/2007, à 19:05

Soldado

Re : Vieillissement prématuré des disques durs de portables

J'essai les param suivant mais je ne sais pas s'ils sont logique et non dangereux ?

soldado@Forte:~$ cat /etc/laptop-mode/laptop-mode.conf | grep -v ^$ | grep -v ^# | grep "#"
ENABLE_LAPTOP_MODE_ON_AC=1 #0
LM_BATT_MAX_LOST_WORK_SECONDS=1200 #600
LM_AC_MAX_LOST_WORK_SECONDS=1200 #360
LM_AC_HD_IDLE_TIMEOUT_SECONDS=1800 #20
BATT_HD_POWERMGMT=190 #1
LM_AC_HD_POWERMGMT=254 #255
CONTROL_HD_WRITECACHE=1 #0
LM_HD_WRITECACHE=1 #0
CONTROL_SYSLOG_CONF=1 #0

But avoir un Load_Cycle_Count  en secteur et non secteur correcte test en cours...


Kubuntu 12.04 32Bits Asus A6

Hors ligne

#418 Le 10/11/2007, à 23:12

Baptiste

Re : Vieillissement prématuré des disques durs de portables

Bonjour

J'ai un portable qui a six mois (asus a6tc) et j'entends souvent ce "cliquetis". Le problème est le suivant, suis-je concerné par le problème? Il a fallu que je change la commande :

sudo smartctl -a /dev/sda | grep Load_Cycle

En :

sudo smartctl -a /dev/hdc | grep Load_Cycle

En ce qui concerne le load_cycle voilà  o๠j'en suis :

193 Load_Cycle_Count        0x0032   071   071   000    Old_age   Always       -       59026

Merci de votre aide!

Hors ligne

#419 Le 11/11/2007, à 12:18

Soldado

Re : Vieillissement prématuré des disques durs de portables

Soldado a écrit :

J'essai les param suivant mais je ne sais pas s'ils sont logique et non dangereux ?

soldado@Forte:~$ cat /etc/laptop-mode/laptop-mode.conf | grep -v ^$ | grep -v ^# | grep "#"
ENABLE_LAPTOP_MODE_ON_AC=1 #0
LM_BATT_MAX_LOST_WORK_SECONDS=1200 #600
LM_AC_MAX_LOST_WORK_SECONDS=1200 #360
LM_AC_HD_IDLE_TIMEOUT_SECONDS=1800 #20
BATT_HD_POWERMGMT=190 #1
LM_AC_HD_POWERMGMT=254 #255
CONTROL_HD_WRITECACHE=1 #0
LM_HD_WRITECACHE=1 #0
CONTROL_SYSLOG_CONF=1 #0

But avoir un Load_Cycle_Count  en secteur et non secteur correcte test en cours...

c'est toujours pas bon yikes

HELP
sur batterie

soldado@Forte:~$ sudo smartctl -a /dev/sda | grep ID# && sudo smartctl -a /dev/sda | grep Load_Cycle_Count && sudo smartctl -a /dev/sda | grep Celsius && date
[sudo] password for soldado:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
193 Load_Cycle_Count        0x0032   083   083   000    Old_age   Always       -       35317
190 Temperature_Celsius     0x0022   083   036   045    Old_age   Always   In_the_past 26056065041
194 Temperature_Celsius     0x0022   017   064   000    Old_age   Always       -       17 (Lifetime Min/Max 0/14)
dimanche 11 novembre 2007, 09:27:29 (UTC+0100)
soldado@Forte:~$ sudo smartctl -a /dev/sda | grep ID# && sudo smartctl -a /dev/sda | grep Load_Cycle_Count && sudo smartctl -a /dev/sda | grep Celsius && date
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
193 Load_Cycle_Count        0x0032   083   083   000    Old_age   Always       -       35350
190 Temperature_Celsius     0x0022   059   036   045    Old_age   Always   In_the_past 26460291113
194 Temperature_Celsius     0x0022   041   064   000    Old_age   Always       -       41 (Lifetime Min/Max 0/14)
dimanche 11 novembre 2007, 10:02:34 (UTC+0100)

Sur secteur

soldado@Forte:~$ sudo smartctl -a /dev/sda | grep ID# && sudo smartctl -a /dev/sda | grep Load_Cycle_Count && sudo smartctl -a /dev/sda | grep Celsius && date
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
193 Load_Cycle_Count        0x0032   083   083   000    Old_age   Always       -       35351
190 Temperature_Celsius     0x0022   059   036   045    Old_age   Always   In_the_past 26460291113
194 Temperature_Celsius     0x0022   041   064   000    Old_age   Always       -       41 (Lifetime Min/Max 0/14)
dimanche 11 novembre 2007, 10:03:14 (UTC+0100)
soldado@Forte:~$ sudo smartctl -a /dev/sda | grep ID# && sudo smartctl -a /dev/sda | grep Load_Cycle_Count && sudo smartctl -a /dev/sda | grep Celsius && date
[sudo] password for soldado:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
193 Load_Cycle_Count        0x0032   083   083   000    Old_age   Always       -       35431
190 Temperature_Celsius     0x0022   050   036   045    Old_age   Always   In_the_past 26611941426
194 Temperature_Celsius     0x0022   050   064   000    Old_age   Always       -       50 (Lifetime Min/Max 0/14)
dimanche 11 novembre 2007, 12:12:05 (UTC+0100)

J'ai même l'impression que c'est pire qu'avant moi y a plus comprendre....

nouvel essai avec

soldado@Forte:~$ cat /etc/laptop-mode/laptop-mode.conf | grep -v ^# | grep -v ^$ | grep "#"
ENABLE_LAPTOP_MODE_ON_AC=1 #0
LM_BATT_MAX_LOST_WORK_SECONDS=1200 #600
LM_AC_MAX_LOST_WORK_SECONDS=1200 #360
LM_AC_HD_IDLE_TIMEOUT_SECONDS=1800 #20
BATT_HD_POWERMGMT=190 #1
LM_AC_HD_POWERMGMT=254 #255
NOLM_AC_HD_POWERMGMT=254 #255 Å‚=ici
CONTROL_HD_WRITECACHE=1 #0
LM_HD_WRITECACHE=1 #0
CONTROL_SYSLOG_CONF=1 #0

Dernière modification par Soldado (Le 11/11/2007, à 12:37)


Kubuntu 12.04 32Bits Asus A6

Hors ligne

#420 Le 11/11/2007, à 18:29

Cralon

Re : Vieillissement prématuré des disques durs de portables

Bonsoir,

Je suis utilisateur d'Ubuntu sur mon PC fixe mais sur mon PC portable j'utilise Fedora.

Ayant entendu parler de ce problème, par curiosité j'ai testé la commande smartctl sur mon portable et voilà ce qu'elle m'a répondu :

[Cralon@localhost ~]$ su -lc 'smartctl -A /dev/sda | grep Load'
Mot de passe :
193 Load_Cycle_Count        0x0012   077   077   000    Old_age   Always       -       240186
223 Load_Retry_Count        0x0012   100   100   000    Old_age   Always       -       7
225 Load_Cycle_Count        0x0012   077   077   000    Old_age   Always       -       240186

J'aimerais savoir quoi en penser... Ca m'inquiète étant donné que mon disque dur est assez récent (moins d'un an) et que ce chiffre augmente d'une valeur de 1 à 5 toutes les minutes que le PC soit sur batterie ou sur secteur.

Merci d'avance.

Cralon

Hors ligne

#421 Le 11/11/2007, à 20:28

infradmin

Re : Vieillissement prématuré des disques durs de portables

Salut,

La gestion du parquage des têtes est ici bien trop agressive, il faut que tu la réduise ou que tu attende une soltion plus viable et officiel car cela ne reste que mon modeste avis...

Nico


Mon weblog perso http://nbonnici.info
A cause d'Ubuntu je tape des sudo partout mais je me soigne...

Hors ligne

#422 Le 11/11/2007, à 22:07

Plam503711

Re : Vieillissement prématuré des disques durs de portables

Vivement les SSD lol

Hors ligne

#423 Le 12/11/2007, à 11:49

Soldado

Re : Vieillissement prématuré des disques durs de portables

Je cherche sur le net les valeurs et leurs expllications que peuvent prendre les variables configurables sous .../laptop-mode.conf. Pour le moment je trouve rien même pas en anglais lol.
Sur le site officiel http://www.samwel.tk/laptop_mode/ rien de claire à  se sujet. c'est domage ...

En attente d'un tudo sous ubuntu claire et précis par un connaisseur (Expert si ça existe):
Titre : - Laptop-mode - Meilleur gestion de vos disques durs -
1 Besoin
2 Installation / Desinstallation
2-1 Ubuntu
2-2 Kubuntu...
3 Configuration
3-1 Type de variables / Explication des valeurs possibles
3-2 Configuration type - Secteur
3-3 Configuration type - Batterie
4 Lancement / Arrêt / Vérification
5 Validité par S.M.A.R.T sur 2 Heures


Kubuntu 12.04 32Bits Asus A6

Hors ligne

#424 Le 12/11/2007, à 12:11

Pascal S

Re : Vieillissement prématuré des disques durs de portables

Hors ligne

#425 Le 12/11/2007, à 12:30

Soldado

Re : Vieillissement prématuré des disques durs de portables

Merci je regarde (pour la descrition ça semble bien mais pour les valeurs....)


Kubuntu 12.04 32Bits Asus A6

Hors ligne