Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Configuration de smartmontools sous debian etch pour mon laptop

4 réponses
Avatar
Thierry B
Bonjour,

J'ai voulu configurer mon dd sata avec smarmontools, mais ca ne marche pas.

A la base sur ce laptop, pour avoir le sata de reconnu, j'avais du
donner une option au boot à l'install avec qque chose du genre "options
libata atapi_enabled=1"

Voila le contenu de ma config smartmontools:

/etc/smartd.conf: /dev/sda -a -d ata -m postmaster@xxx.xxx
/etc/defaults/smartmontools: start_smartd=yes

Quand je veux lancer le service smartmontools, ca "failed" et voila ce
que j'ai dans les logs contenus dans daemon.log:

Mar 18 14:34:04 portableTeil smartd[4400]: smartd version 5.36
[i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Mar 18 14:34:04 portableTeil smartd[4400]: Home page is
http://smartmontools.sourceforge.net/
Mar 18 14:34:04 portableTeil smartd[4400]: Opened configuration file
/etc/smartd.conf
Mar 18 14:34:04 portableTeil smartd[4400]: Drive: DEVICESCAN, implied
'-a' Directive on line 22 of file /etc/smartd.conf
Mar 18 14:34:04 portableTeil smartd[4400]: Configuration file
/etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Mar 18 14:34:04 portableTeil smartd[4400]: Problem creating device name
scan list
Mar 18 14:34:04 portableTeil smartd[4400]: Device: /dev/sda, opened
Mar 18 14:34:04 portableTeil smartd[4400]: Device: /dev/sda, IE (SMART)
not enabled, skip device Try 'smartctl -s on /dev/sda' to turn on SMART
features
Mar 18 14:34:04 portableTeil smartd[4400]: Unable to monitor any SMART
enabled devices. Try debug (-d) option. Exiting...

Appremment, c'est re que le techno smart est supportée par mon dd:

# smartctl -i -d ata /dev/sda
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 ===
Device Model: TOSHIBA MK8032GSX
Serial Number: xxxxxxxxxxxxxx
Firmware Version: yyyyyyyyyyyyyyyyy
User Capacity: 80 026 361 856 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 6
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sun Mar 18 15:17:28 2007 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

Merci :-)


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

4 réponses

Avatar
Michel Grentzinger
Le dimanche 18 mars 2007 15:17, Thierry B a écrit :
A la base sur ce laptop, pour avoir le sata de reconnu, j'avais du
donner une option au boot à l'install avec qque chose du genre "options
libata atapi_enabled=1"

Voila le contenu de ma config smartmontools:

/etc/smartd.conf: /dev/sda -a -d ata -m
/etc/defaults/smartmontools: start_smartd=yes

Quand je veux lancer le service smartmontools, ca "failed" et voila ce
que j'ai dans les logs contenus dans daemon.log:

Mar 18 14:34:04 portableTeil smartd[4400]: smartd version 5.36
[i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Mar 18 14:34:04 portableTeil smartd[4400]: Home page is
http://smartmontools.sourceforge.net/
Mar 18 14:34:04 portableTeil smartd[4400]: Opened configuration file
/etc/smartd.conf
Mar 18 14:34:04 portableTeil smartd[4400]: Drive: DEVICESCAN, implied
'-a' Directive on line 22 of file /etc/smartd.conf
Mar 18 14:34:04 portableTeil smartd[4400]: Configuration file
/etc/smartd.conf was parsed, found DEVICESCAN, scanning devices



Dans /etc/smartd.conf, il faut commenter la ligne débutant par DEVICESCAN car
tu spécifies quelque chose de différent pour ton disque alors que cette ligne
définit une configuration générale qui est prioritaire par rapport à ta
spécification particulière.

J'ai eu le même problème avec un disque SATA.
--
Michel Grentzinger
OpenPGP key ID : B2BAFAFA
Available on http://www.keyserver.net
Avatar
Thierry B
Michel Grentzinger a écrit :
Le dimanche 18 mars 2007 15:17, Thierry B a écrit :
A la base sur ce laptop, pour avoir le sata de reconnu, j'avais du
donner une option au boot à l'install avec qque chose du genre "options
libata atapi_enabled=1"

Voila le contenu de ma config smartmontools:

/etc/smartd.conf: /dev/sda -a -d ata -m
/etc/defaults/smartmontools: start_smartd=yes

Quand je veux lancer le service smartmontools, ca "failed" et voila ce
que j'ai dans les logs contenus dans daemon.log:

Mar 18 14:34:04 portableTeil smartd[4400]: smartd version 5.36
[i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Mar 18 14:34:04 portableTeil smartd[4400]: Home page is
http://smartmontools.sourceforge.net/
Mar 18 14:34:04 portableTeil smartd[4400]: Opened configuration file
/etc/smartd.conf
Mar 18 14:34:04 portableTeil smartd[4400]: Drive: DEVICESCAN, implied
'-a' Directive on line 22 of file /etc/smartd.conf
Mar 18 14:34:04 portableTeil smartd[4400]: Configuration file
/etc/smartd.conf was parsed, found DEVICESCAN, scanning devices



Dans /etc/smartd.conf, il faut commenter la ligne débutant par DEVICESCAN car
tu spécifies quelque chose de différent pour ton disque alors que cette ligne
définit une configuration générale qui est prioritaire par rapport à ta
spécification particulière.

J'ai eu le même problème avec un disque SATA.



Re,

Plus précsemment, tu sais ce qu'il faut que je modifie ?

Merci :-)


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Michel Grentzinger
Le dimanche 18 mars 2007 21:46, Thierry B a écrit :
>> /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
>
> Dans /etc/smartd.conf, il faut commenter la ligne débutant par DEVICE SCAN
> car tu spécifies quelque chose de différent pour ton disque alors q ue
> cette ligne définit une configuration générale qui est prioritair e par
> rapport à ta spécification particulière.
>
> J'ai eu le même problème avec un disque SATA.

Re,

Plus précsemment, tu sais ce qu'il faut que je modifie ?



Oui, je te l'ai dit, il faut commenter la ligne qui commence par DEVICESCAN .
C'est une ligne "générique" qui n'a plus d'utilité si tu modifies le fichier
smartd.conf
Or, tu spécifies
/dev/sda -a -d ata -m
donc il faut l'enlever.

Je copie le passage correspondant du fichier.

# The word DEVICESCAN will cause any remaining lines in this
# configuration file to be ignored: it tells smartd to scan for all
# ATA and SCSI devices. DEVICESCAN may be followed by any of the
# Directives listed below, which will be applied to all devices that
# are found. Most users should comment out DEVICESCAN and explicitly
# list the devices that they wish to monitor.


--
Michel Grentzinger
OpenPGP key ID : B2BAFAFA
Available on http://www.keyserver.net
Avatar
Thierry B
Michel Grentzinger a écrit :
Le dimanche 18 mars 2007 21:46, Thierry B a écrit :
/etc/smartd.conf was parsed, found DEVICESCAN, scanning devices


Dans /etc/smartd.conf, il faut commenter la ligne débutant par DEVICESCAN
car tu spécifies quelque chose de différent pour ton disque alors que
cette ligne définit une configuration générale qui est prioritaire par
rapport à ta spécification particulière.

J'ai eu le même problème avec un disque SATA.


Re,

Plus précsemment, tu sais ce qu'il faut que je modifie ?



Oui, je te l'ai dit, il faut commenter la ligne qui commence par DEVICESCAN.
C'est une ligne "générique" qui n'a plus d'utilité si tu modifies le fichier
smartd.conf
Or, tu spécifies
/dev/sda -a -d ata -m
donc il faut l'enlever.

Je copie le passage correspondant du fichier.

# The word DEVICESCAN will cause any remaining lines in this
# configuration file to be ignored: it tells smartd to scan for all
# ATA and SCSI devices. DEVICESCAN may be followed by any of the
# Directives listed below, which will be applied to all devices that
# are found. Most users should comment out DEVICESCAN and explicitly
# list the devices that they wish to monitor.





Re,

Merci, c'est nikel :-)

++ :-)


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact