Contenu | Rechercher | Menus

Annonce

Ubuntu 16.04 LTS
Commandez vos DVD et clés USB Ubuntu-fr !

Pour en savoir un peu plus sur l'équipe du forum.

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.

#1 Le 07/03/2017, à 20:00

pem1664

Raid 5 et mdadm [RESOLU]

Bonjour à tous!
J'ai un GROS souci avec mon serveur : j'ai un serveur avec 8dd de 2To monté en raid 5 avec mdadm, jusqu'ici tout allait bien sauf qu'après trop derreurs smart sur un des disques j'ai du le changer car le raid fonctionnait en mode dégradé.
Au reboot impossible de démarrer, sans passer par le mode de récupération virer du fstab la ligne de montage du raid et la le serveur veut bien booter. Et la grande grosse et mauvaise surprise mon raid 5 est vu comme un raid 0 inactif...
Et la j'ai essayé pas mal de choses non destructives mais rien a faire...

pem@Serveur1:~$ cat /proc/mdstat 
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md0 : inactive sdi[5](S) sdh[4](S) sdf[7](S) sde[6](S) sdd[3](S) sdc[2](S) sda[0](S) sdb[1](S)
      15627068096 blocks super 1.2
       
unused devices: <none>
pem@Serveur1:~$ sudo mdadm -Es
ARRAY /dev/md/0  metadata=1.2 UUID=28d825f1:156a6ed1:8e94696c:b5762cb5 name=Serveur1:0
pem@Serveur1:~$ 
pem@Serveur1:~$ sudo mdadm --assemble --scan --verbose
mdadm: looking for devices for /dev/md0
mdadm: /dev/sdi is busy - skipping
mdadm: /dev/sdh is busy - skipping
mdadm: no recogniseable superblock on /dev/sdg3
mdadm: no recogniseable superblock on /dev/sdg2
mdadm: no recogniseable superblock on /dev/sdg1
mdadm: Cannot assemble mbr metadata on /dev/sdg
mdadm: /dev/sdf is busy - skipping
mdadm: /dev/sde is busy - skipping
mdadm: /dev/sdd is busy - skipping
mdadm: /dev/sdc is busy - skipping
mdadm: /dev/sdb is busy - skipping
mdadm: /dev/sda is busy - skipping
mdadm: no recogniseable superblock on /dev/ram15
mdadm: no recogniseable superblock on /dev/ram14
mdadm: no recogniseable superblock on /dev/ram13
mdadm: no recogniseable superblock on /dev/ram12
mdadm: no recogniseable superblock on /dev/ram11
mdadm: no recogniseable superblock on /dev/ram10
mdadm: no recogniseable superblock on /dev/ram9
mdadm: no recogniseable superblock on /dev/ram8
mdadm: no recogniseable superblock on /dev/ram7
mdadm: no recogniseable superblock on /dev/ram6
mdadm: no recogniseable superblock on /dev/ram5
mdadm: no recogniseable superblock on /dev/ram4
mdadm: no recogniseable superblock on /dev/ram3
mdadm: no recogniseable superblock on /dev/ram2
mdadm: no recogniseable superblock on /dev/ram1
mdadm: no recogniseable superblock on /dev/ram0
pem@Serveur1:~$ 

je ne comprend pas trop... voici la ligne dans mdadm.conf :

ARRAY /dev/md0 level=raid5 num-devices=8 UUID=28d825f1:156a6ed1:8e94696c:b5762cb5

j'ose pas passer par webmin et supprimer l'array de peur de tout perdre...
help me please smile

EDIT : j'ai tout une tripoté de trucs dans le syslog :

Mar  7 20:06:01 Serveur1 CRON[3727]: (pem) CMD (bash /media/Serveur1/Scripts/script_temp/temp.sh)
Mar  7 20:06:01 Serveur1 CRON[3726]: (CRON) info (No MTA installed, discarding output)
Mar  7 20:06:40 Serveur1 /usr/lib/gdm3/gdm-x-session[12864]: Activating service name='org.gtk.vfs.Metadata'
Mar  7 20:06:40 Serveur1 /usr/lib/gdm3/gdm-x-session[12864]: Successfully activated service 'org.gtk.vfs.Metadata'
Mar  7 20:07:01 Serveur1 CRON[4133]: (pem) CMD (bash /media/Serveur1/Scripts/script_temp/temp.sh)
Mar  7 20:07:01 Serveur1 CRON[4132]: (CRON) info (No MTA installed, discarding output)
Mar  7 20:07:37 Serveur1 systemd[12854]: dev-disk-by\x2dpath-pci\x2d0000:00:14.1\x2data\x2d2.device: Dev dev-disk-by\x2dpath-pci\x2d0000:00:14.1\x2data\x2d2.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:14.1/ata9/host8/target8:0:0/8:0:0:0/block/sdh and /sys/devices/pci0000:00/0000:00:14.1/ata9/host8/target8:0:1/8:0:1:0/block/sdi
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/degraded': Failed to open file '/sys/devices/virtual/block/md0/md/degraded': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_action': Failed to open file '/sys/devices/virtual/block/md0/md/sync_action': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_completed': Failed to open file '/sys/devices/virtual/block/md0/md/sync_completed': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 systemd[1681]: dev-disk-by\x2dpath-pci\x2d0000:00:14.1\x2data\x2d2.device: Dev dev-disk-by\x2dpath-pci\x2d0000:00:14.1\x2data\x2d2.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:14.1/ata9/host8/target8:0:1/8:0:1:0/block/sdi and /sys/devices/pci0000:00/0000:00:14.1/ata9/host8/target8:0:0/8:0:0:0/block/sdh
Mar  7 20:07:37 Serveur1 systemd[1]: dev-disk-by\x2dpath-pci\x2d0000:00:14.1\x2data\x2d2.device: Dev dev-disk-by\x2dpath-pci\x2d0000:00:14.1\x2data\x2d2.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:14.1/ata9/host8/target8:0:1/8:0:1:0/block/sdi and /sys/devices/pci0000:00/0000:00:14.1/ata9/host8/target8:0:0/8:0:0:0/block/sdh
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/degraded': Failed to open file '/sys/devices/virtual/block/md0/md/degraded': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_action': Failed to open file '/sys/devices/virtual/block/md0/md/sync_action': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_completed': Failed to open file '/sys/devices/virtual/block/md0/md/sync_completed': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/degraded': Failed to open file '/sys/devices/virtual/block/md0/md/degraded': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_action': Failed to open file '/sys/devices/virtual/block/md0/md/sync_action': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_completed': Failed to open file '/sys/devices/virtual/block/md0/md/sync_completed': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/degraded': Failed to open file '/sys/devices/virtual/block/md0/md/degraded': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_action': Failed to open file '/sys/devices/virtual/block/md0/md/sync_action': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_completed': Failed to open file '/sys/devices/virtual/block/md0/md/sync_completed': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/degraded': Failed to open file '/sys/devices/virtual/block/md0/md/degraded': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_action': Failed to open file '/sys/devices/virtual/block/md0/md/sync_action': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_completed': Failed to open file '/sys/devices/virtual/block/md0/md/sync_completed': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/degraded': Failed to open file '/sys/devices/virtual/block/md0/md/degraded': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_action': Failed to open file '/sys/devices/virtual/block/md0/md/sync_action': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_completed': Failed to open file '/sys/devices/virtual/block/md0/md/sync_completed': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/degraded': Failed to open file '/sys/devices/virtual/block/md0/md/degraded': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_action': Failed to open file '/sys/devices/virtual/block/md0/md/sync_action': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:37 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_completed': Failed to open file '/sys/devices/virtual/block/md0/md/sync_completed': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:40 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/degraded': Failed to open file '/sys/devices/virtual/block/md0/md/degraded': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:40 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_action': Failed to open file '/sys/devices/virtual/block/md0/md/sync_action': No such file or directory (g-file-error-quark, 4)
Mar  7 20:07:40 Serveur1 udisksd[13119]: Error reading sysfs attr `/sys/devices/virtual/block/md0/md/sync_completed': Failed to open file '/sys/devices/virtual/block/md0/md/sync_completed': No such file or directory (g-file-error-quark, 4)

EDIT 2
un fdisk -l donne  :

pem@Serveur1:~$ sudo fdisk -l
[sudo] Mot de passe de pem : 
Disque /dev/ram0 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram1 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram2 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram3 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram4 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram5 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram6 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram7 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram8 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram9 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram10 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram11 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram12 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram13 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram14 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disque /dev/ram15 : 64 MiB, 67108864 octets, 131072 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disque /dev/sda : 1,8 TiB, 2000398934016 octets, 3907029168 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 5E6602C3-A771-4BFA-9070-6E46D0203E20


The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disque /dev/sdb : 1,8 TiB, 2000398934016 octets, 3907029168 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F1903386-589F-49AF-BB27-17FC9404BB06


The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disque /dev/sdc : 1,8 TiB, 2000398934016 octets, 3907029168 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 02C109E6-27F6-4727-827B-77DD50BDDEF0


The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disque /dev/sdd : 1,8 TiB, 2000398934016 octets, 3907029168 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2C02ABB2-F85A-4C66-8979-6D0D1A3F8FB4


Disque /dev/sde : 149,1 GiB, 160041885696 octets, 312581808 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5db9ea32

Périphérique Amorçage     Start       Fin  Secteurs  Size Id Type
/dev/sde1    *             2048 117186559 117184512 55,9G 83 Linux
/dev/sde2             117186560 132810751  15624192  7,5G 82 partition d'échange Linux / Solaris
/dev/sde3             132810752 312580095 179769344 85,7G 83 Linux


The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disque /dev/sdf : 1,8 TiB, 2000398934016 octets, 3907029168 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5A981F35-F79B-44B1-A595-9F7C0F0F849A


The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disque /dev/sdg : 1,8 TiB, 2000398934016 octets, 3907029168 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3D718AC7-7F7D-4E9B-9244-2E3CB215C55C


The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disque /dev/sdh : 1,8 TiB, 2000398934016 octets, 3907029168 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0C961E5C-7FCC-4643-9B54-795C242F3D1D


The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disque /dev/sdi : 1,8 TiB, 2000398934016 octets, 3907029168 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 107FB411-3894-4FDC-A0F6-FE764C542C20
pem@Serveur1:~$ 

et après avoir désinstallé mdadm et réinstallé celui ci quand j'essaie d'assembler ca donne ca :

pem@Serveur1:~$ sudo mdadm --assemble --verbose --scan
mdadm: looking for devices for /dev/md/0
mdadm: no RAID superblock on /dev/sde3
mdadm: no RAID superblock on /dev/sde2
mdadm: no RAID superblock on /dev/sde1
mdadm: no RAID superblock on /dev/sde
mdadm: no RAID superblock on /dev/ram15
mdadm: no RAID superblock on /dev/ram14
mdadm: no RAID superblock on /dev/ram13
mdadm: no RAID superblock on /dev/ram12
mdadm: no RAID superblock on /dev/ram11
mdadm: no RAID superblock on /dev/ram10
mdadm: no RAID superblock on /dev/ram9
mdadm: no RAID superblock on /dev/ram8
mdadm: no RAID superblock on /dev/ram7
mdadm: no RAID superblock on /dev/ram6
mdadm: no RAID superblock on /dev/ram5
mdadm: no RAID superblock on /dev/ram4
mdadm: no RAID superblock on /dev/ram3
mdadm: no RAID superblock on /dev/ram2
mdadm: no RAID superblock on /dev/ram1
mdadm: no RAID superblock on /dev/ram0
mdadm: /dev/sdi is identified as a member of /dev/md/0, slot 7.
mdadm: /dev/sdh is identified as a member of /dev/md/0, slot 6.
mdadm: /dev/sdg is identified as a member of /dev/md/0, slot 5.
mdadm: /dev/sdf is identified as a member of /dev/md/0, slot 4.
mdadm: /dev/sdd is identified as a member of /dev/md/0, slot 3.
mdadm: /dev/sdc is identified as a member of /dev/md/0, slot 2.
mdadm: /dev/sdb is identified as a member of /dev/md/0, slot 1.
mdadm: /dev/sda is identified as a member of /dev/md/0, slot 0.
mdadm: added /dev/sdb to /dev/md/0 as 1
mdadm: added /dev/sdc to /dev/md/0 as 2
mdadm: added /dev/sdd to /dev/md/0 as 3 (possibly out of date)
mdadm: added /dev/sdf to /dev/md/0 as 4 (possibly out of date)
mdadm: added /dev/sdg to /dev/md/0 as 5
mdadm: added /dev/sdh to /dev/md/0 as 6
mdadm: added /dev/sdi to /dev/md/0 as 7
mdadm: added /dev/sda to /dev/md/0 as 0
mdadm: /dev/md/0 assembled from 6 drives - not enough to start the array.
pem@Serveur1:~$ 

Pourtant d'après le statut SMART /dev/sdf fonctionne correctement...

smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-64-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (AF)
Device Model:     WDC WD20EARS-00MVWB0
Serial Number:    WD-WCAZA0926265
LU WWN Device Id: 5 0014ee 25a4c8c8b
Firmware Version: 51.0AB51
User Capacity:    2,000,398,934,016 bytes [2.00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Tue Mar  7 21:28:08 2017 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:  (0x84)	Offline data collection activity
					was suspended by an interrupting command from host.
					Auto Offline Data Collection: Enabled.
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: 		(37980) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 366) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

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     0x002f   126   126   051    Pre-fail  Always       -       121992
  3 Spin_Up_Time            0x0027   171   160   021    Pre-fail  Always       -       6408
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       250
  5 Reallocated_Sector_Ct   0x0033   153   153   140    Pre-fail  Always       -       1025
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   077   077   000    Old_age   Always       -       16889
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       247
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       177
193 Load_Cycle_Count        0x0032   070   070   000    Old_age   Always       -       392602
194 Temperature_Celsius     0x0022   105   081   000    Old_age   Always       -       45
196 Reallocated_Event_Count 0x0032   001   001   000    Old_age   Always       -       621
197 Current_Pending_Sector  0x0032   200   197   000    Old_age   Always       -       178
198 Offline_Uncorrectable   0x0030   200   199   000    Old_age   Offline      -       183
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   016   001   000    Old_age   Offline      -       49158

SMART Error Log Version: 1
ATA Error Count: 96 (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 96 occurred at disk power-on lifetime: 16722 hours (696 days + 18 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
  -- -- -- -- -- -- --
  04 61 45 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 45 00 00 00 a0 00   3d+03:06:47.900  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00   3d+03:06:47.851  IDENTIFY DEVICE
  ec 00 00 00 00 00 a0 00   3d+03:06:42.548  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 00   3d+03:06:42.541  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00   3d+03:06:42.533  IDENTIFY DEVICE

Error 95 occurred at disk power-on lifetime: 16722 hours (696 days + 18 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
  -- -- -- -- -- -- --
  04 61 45 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 45 00 00 00 a0 00   3d+03:06:42.541  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00   3d+03:06:42.533  IDENTIFY DEVICE
  ec 00 00 00 00 00 a0 00   3d+03:06:42.143  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 00   3d+03:06:42.136  SET FEATURES [Set transfer mode]

Error 94 occurred at disk power-on lifetime: 16722 hours (696 days + 18 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
  -- -- -- -- -- -- --
  04 61 45 00 00 00 a0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 45 00 00 00 a0 00   3d+03:06:42.136  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00   3d+03:06:42.127  IDENTIFY DEVICE
  ca 00 01 08 00 00 e0 00   3d+03:06:39.333  WRITE DMA
  ca 00 08 10 00 00 e0 00   3d+03:06:39.311  WRITE DMA

Error 93 occurred at disk power-on lifetime: 16722 hours (696 days + 18 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
  -- -- -- -- -- -- --
  04 51 01 08 00 00 e0  Error: ABRT at LBA = 0x00000008 = 8

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ca 00 01 08 00 00 e0 00   3d+03:06:39.333  WRITE DMA
  ca 00 08 10 00 00 e0 00   3d+03:06:39.311  WRITE DMA
  ec 00 00 00 00 00 a0 00   3d+03:06:39.284  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 00   3d+03:06:39.284  SET FEATURES [Set transfer mode]

Error 92 occurred at disk power-on lifetime: 16722 hours (696 days + 18 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 88 29 55 e0  Error: UNC 8 sectors at LBA = 0x00552988 = 5581192

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 88 29 55 e0 00   3d+03:06:36.523  READ DMA
  ec 00 00 00 00 00 a0 00   3d+03:06:36.493  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 00   3d+03:06:36.493  SET FEATURES [Set transfer mode]

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       90%     14032         52940040
# 2  Short offline       Completed without error       00%      8302         -
# 3  Short offline       Completed: read failure       90%      8227         277947262

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.

[résoluy]

Dernière modification par pem1664 (Le 26/03/2017, à 08:50)


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#2 Le 07/03/2017, à 22:12

Bougron

Re : Raid 5 et mdadm [RESOLU]

Bonsoir.
Tu indiques que tu as remplacé un disque qui lachait par un nouveau.
As-tu eu le temps de resynchroniser le nouveau disque aux 7 autres.
Si tu ne l'a pas fait, indiques son nom car il ne faut pas l'inclure dans la commande d'assemblage qui ne marche pas car tu as deux disques indiqués "out of date".

Je ne partage pas ton optimisme sur la qualité de SDF (178 secteurs impossibles à lire)

Merci de donner le retour de la commande

mdadm --examine /dev/sd[abcdef]

afin d'evaluer le décalage des dates et voir si forcer l'assemblage risque de tout faire perdre car je suppose que tu n'as pas un double de ce raids5?

Dernière modification par Bougron (Le 07/03/2017, à 22:29)


Ubuntu  BASH 16.04.1 sous windows10  et ubuntu-17.04-beta2 avec le noyau 4.10.0-13 et la future 17.10 depuis le 10 juillet avec le noyau 4.10.0-26
Lubuntu 14.04.4 en 32 bits  et  Lubuntu 16.06.3 en 32 bits noyau 4.10.0-33 pour un vaio pcg-k215s
Ubuntu 16.04.2 avec le noyau 4.4.0-71 et  le noyau 4.8.0.36
Faites votre  auto-dépannage en lisant  https://doc.ubuntu-fr.org/diagnostic.

Hors ligne

#3 Le 08/03/2017, à 00:11

pem1664

Re : Raid 5 et mdadm [RESOLU]

Bonsoir merci pour ton aide, ca devait etre sdc que j'ai changé, je pense en décembre et la resynchro s'était bien passé depuis je n'avais pas redémaré le serveur et ca fonctionnait correctement, j'avais eu des warning smart via webmin sur sdd et sdf mais jusqu’à présent ils fonctionnaient.. je comptait les changer car sdd donnait de plus en plus d'erreur smart... maintenant s'ils ont lachés en meme temps au dernier reboot c'est vraiment pas cool... :'(
voici le résultat de la commande légerement modifié pour avoir tous les disques normalement utilisés :

pem@Serveur1:~$ sudo mdadm --examine /dev/sd[abcdfghi]
/dev/sda:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : d16cc947:fd09a995:2e903fab:f2fb8b45

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Feb 28 21:30:17 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 85ee4bc8 - correct
         Events : 573767

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AAA..AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdb:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x9
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : d3bbc737:dc379f5e:34d67d03:2ace388f

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Feb 28 21:30:17 2017
  Bad Block Log : 512 entries available at offset 72 sectors - bad blocks present.
       Checksum : e0cde0ef - correct
         Events : 573767

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AAA..AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 9baf509e:d7fa2235:835b85de:92c2e599

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Feb 28 21:30:17 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 38f1164 - correct
         Events : 573767

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAA..AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdd:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x9
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : active
    Device UUID : 2900765e:fd41d45b:e1c95ca2:cfd3489f

Internal Bitmap : 8 sectors from superblock
    Update Time : Wed Nov 30 18:24:43 2016
  Bad Block Log : 512 entries available at offset 72 sectors - bad blocks present.
       Checksum : b337a5f4 - correct
         Events : 9

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 3
   Array State : AAAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdf:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x9
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 0fc6ae36:f4c1703b:af771451:84688e09

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Feb 28 21:30:01 2017
  Bad Block Log : 512 entries available at offset 72 sectors - bad blocks present.
       Checksum : 8471b88b - correct
         Events : 573761

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 4
   Array State : AAA.AAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdg:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : f79b9e44:62ab7da9:90751c22:0fb87eed

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Feb 28 21:30:17 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : b567bdd7 - correct
         Events : 573767

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 5
   Array State : AAA..AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdh:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 9396e427:56cb25e9:ac8e5301:cd13b662

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Feb 28 21:30:17 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 2cc44d42 - correct
         Events : 573767

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 6
   Array State : AAA..AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdi:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 3caf7005:e986794f:618ba285:d439ffeb

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Feb 28 21:30:17 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 7e3c443b - correct
         Events : 573767

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 7
   Array State : AAA..AAA ('A' == active, '.' == missing, 'R' == replacing)
pem@Serveur1:~$ 

EDIT
Par contre y'a un truc étrange, je ne peut rien faire avec mdadm sans l'avoir préalablement désinstallé, rebooté le serveur et réinstallé... sinon mdadm  skipp les disques qui sont sensés faire partie du raid...
EDIT 2
ben non evidemment... j'ai tout prévu pour faire une 2eme sauvegarde sur un 2eme serveur avec meme un carte réseau dédiée mais je voulais faire ca après avoir rangé tout mon bordel et je l'ai pas encore faite cette sauvegarde... ca aurait été trop beau... et puis pour le coup je me serai pas pris la tête... mais bon...

Dernière modification par pem1664 (Le 08/03/2017, à 00:47)


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#4 Le 08/03/2017, à 00:54

pem1664

Re : Raid 5 et mdadm [RESOLU]

Ah! ca avance smile
Après suppression de mdadm, et reboot puis réinstallation j'ai pu relancer mon raid en forçant :

pem@Serveur1:~$ sudo mdadm --assemble /dev/md0 /dev/sd[abcdfghi] --force --verbose
mdadm: looking for devices for /dev/md0
mdadm: /dev/sda is identified as a member of /dev/md0, slot 0.
mdadm: /dev/sdb is identified as a member of /dev/md0, slot 1.
mdadm: /dev/sdc is identified as a member of /dev/md0, slot 2.
mdadm: /dev/sdd is identified as a member of /dev/md0, slot 3.
mdadm: /dev/sdf is identified as a member of /dev/md0, slot 4.
mdadm: /dev/sdg is identified as a member of /dev/md0, slot 5.
mdadm: /dev/sdh is identified as a member of /dev/md0, slot 6.
mdadm: /dev/sdi is identified as a member of /dev/md0, slot 7.
mdadm: forcing event count in /dev/sdd(3) from 9 upto 573767
mdadm: clearing FAULTY flag for device 3 in /dev/md0 for /dev/sdd
mdadm: Marking array /dev/md0 as 'clean'
mdadm: added /dev/sdb to /dev/md0 as 1
mdadm: added /dev/sdc to /dev/md0 as 2
mdadm: added /dev/sdd to /dev/md0 as 3
mdadm: added /dev/sdf to /dev/md0 as 4 (possibly out of date)
mdadm: added /dev/sdg to /dev/md0 as 5
mdadm: added /dev/sdh to /dev/md0 as 6
mdadm: added /dev/sdi to /dev/md0 as 7
mdadm: added /dev/sda to /dev/md0 as 0
mdadm: /dev/md0 has been started with 7 drives (out of 8).

je viens de lancer un fsck et c'est blindé d'erreurs... sad
j'espère que j'ai pas fait de bêtises...


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#5 Le 08/03/2017, à 01:56

Bougron

Re : Raid 5 et mdadm [RESOLU]

Bonsoir.
Que tu vas vite.
Tu as six disques en bon état et bien synchronisés   à   Update Time : Tue Feb 28 21:30:17 2017  et au numero         Events : 573767
Tu as le disque SDF qui a 16 secondes de retard     à    Update Time : Tue Feb 28 21:30:01 2017 et 6 N° de retard    Events : 573761
Ton disque SDD est complètement HS                              Update Time : Wed Nov 30 18:24:43 2016                                Events : 9

Merci de faire un smartctl de SDD pour voir s'il a un problème physique inaperçu

Je te conseille de ne pas l'utiliser si tu relances en forçant.  Tu auras seulement 7 disques sur 8 car je pense que le tout petit décalage de SDF n'aura pas de grandes conséquences.
Je ne connais pas trop la commande. Certainement (en omettant la lettre D)

sudo mdadm --assemble    --force --verbose                  /dev/md0 /dev/sd[abcfghi]

Ajout je viens de voir dans ta trace que le disque SDD avait bien été éjecté et marqué HS.
mdadm: forcing event count in /dev/sdd(3) from 9 up to 573767
mdadm: clearing FAULTY flag for device 3 in /dev/md0 for /dev/sdd

Je ne sais absolument pas ce que ta réparation va donner pour l'accès à tes fichiers.

Je vois aussi
"mdadm: /dev/md0 has been started with 7 drives (out of 8)."
Je serais curieux de savoir lequel a été éjecté.     Merci de refaire la commande d'état du raids que je t'ai proposée
Peut-être est-il en train de le reconstruire!
Si tu n'as pas fais un fsck avec demande de corrections, tu devrais pouvoir relancer avec 7 disques et voir ce que le fsck (non correctif) va signaler

Dernière modification par Bougron (Le 08/03/2017, à 02:30)


Ubuntu  BASH 16.04.1 sous windows10  et ubuntu-17.04-beta2 avec le noyau 4.10.0-13 et la future 17.10 depuis le 10 juillet avec le noyau 4.10.0-26
Lubuntu 14.04.4 en 32 bits  et  Lubuntu 16.06.3 en 32 bits noyau 4.10.0-33 pour un vaio pcg-k215s
Ubuntu 16.04.2 avec le noyau 4.4.0-71 et  le noyau 4.8.0.36
Faites votre  auto-dépannage en lisant  https://doc.ubuntu-fr.org/diagnostic.

Hors ligne

#6 Le 08/03/2017, à 11:35

pem1664

Re : Raid 5 et mdadm [RESOLU]

Salut Bougron
Alors chose super étrange c'est sdf qui n'a pas été accepté par le raid... quand j'ai voulu monter le raid (avant de lancer fsck) j'ai eu ce message :

pem@Serveur1:~$ sudo mount /dev/md0 /media/Serveur1
mount: mount /dev/md0 on /media/Serveur1 failed: La structure a besoin d'un nettoyage

donc j'en ai conclu qu'il fallait faire un fsck correctif, que j'ai lancé et la pour le coup il n'est pas encore fini et il y a un bon paquet d'inode ou de noeuds à corriger..
voici le résultat du smartctl sur sdd :

pem@Serveur1:~$ sudo smartctl -x /dev/sdd
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-64-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (AF)
Device Model:     WDC WD20EARS-00MVWB0
Serial Number:    WD-WMAZA2383303
LU WWN Device Id: 5 0014ee 655f4325f
Firmware Version: 51.0AB51
User Capacity:    2 000 398 934 016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Wed Mar  8 11:21:47 2017 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Disabled
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x85)	Offline data collection activity
					was aborted by an interrupting command from host.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      ( 121)	The previous self-test completed having
					the read element of the test failed.
Total time to complete Offline 
data collection: 		(36000) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 347) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   194   194   051    -    11292
  3 Spin_Up_Time            POS--K   253   253   021    -    925
  4 Start_Stop_Count        -O--CK   100   100   000    -    274
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    2
  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
  9 Power_On_Hours          -O--CK   079   079   000    -    15645
 10 Spin_Retry_Count        -O--CK   100   100   000    -    0
 11 Calibration_Retry_Count -O--CK   100   100   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    272
192 Power-Off_Retract_Count -O--CK   200   200   000    -    201
193 Load_Cycle_Count        -O--CK   101   101   000    -    297692
194 Temperature_Celsius     -O---K   100   078   000    -    50
196 Reallocated_Event_Count -O--CK   198   198   000    -    2
197 Current_Pending_Sector  -O--CK   200   199   000    -    263
198 Offline_Uncorrectable   ----CK   200   200   000    -    141
199 UDMA_CRC_Error_Count    -O--CK   200   191   000    -    57079
200 Multi_Zone_Error_Rate   ---R--   192   096   000    -    2336
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      6  Ext. Comprehensive SMART error log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb7  GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
Device Error Count: 7212 (device log contains only the most recent 24 errors)
	CR     = Command Register
	FEATR  = Features Register
	COUNT  = Count (was: Sector Count) Register
	LBA_48 = Upper bytes of LBA High/Mid/Low Registers ]  ATA-8
	LH     = LBA High (was: Cylinder High) Register    ]   LBA
	LM     = LBA Mid (was: Cylinder Low) Register      ] Register
	LL     = LBA Low (was: Sector Number) Register     ]
	DV     = Device (was: Device/Head) Register
	DC     = Device Control Register
	ER     = Error register
	ST     = Status register
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 7212 [11] occurred at disk power-on lifetime: 15638 hours (651 days + 14 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 8e 56 49 20 40 00  Error: UNC at LBA = 0x8e564920 = 2388019488

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 00 20 00 10 00 00 8e 56 4a 20 40 08  7d+05:00:46.146  READ FPDMA QUEUED
  60 00 80 00 08 00 00 8e 56 49 a0 40 08  7d+05:00:46.146  READ FPDMA QUEUED
  60 00 80 00 00 00 00 8e 56 49 20 40 08  7d+05:00:46.145  READ FPDMA QUEUED
  ef 00 10 00 02 00 00 00 00 00 00 a0 08  7d+05:00:46.143  SET FEATURES [Enable SATA feature]
  27 00 00 00 00 00 00 00 00 00 00 e0 08  7d+05:00:46.143  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 7211 [10] occurred at disk power-on lifetime: 15638 hours (651 days + 14 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 8e 56 49 20 40 00  Error: UNC at LBA = 0x8e564920 = 2388019488

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 02 40 00 98 00 00 8e 56 48 00 40 08  7d+05:00:41.494  READ FPDMA QUEUED
  60 02 40 00 90 00 00 8e 4d 24 00 40 08  7d+05:00:40.501  READ FPDMA QUEUED
  60 00 20 00 88 00 00 8e 44 c6 08 40 08  7d+05:00:40.485  READ FPDMA QUEUED
  60 00 08 00 80 00 00 8e 44 c6 00 40 08  7d+05:00:40.482  READ FPDMA QUEUED
  60 00 20 00 78 00 00 8e 44 c1 90 40 08  7d+05:00:40.479  READ FPDMA QUEUED

Error 7210 [9] occurred at disk power-on lifetime: 15638 hours (651 days + 14 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 8e 16 49 20 40 00  Error: UNC at LBA = 0x8e164920 = 2383825184

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 00 60 00 70 00 00 8e 16 4a 20 40 08  7d+05:00:30.129  READ FPDMA QUEUED
  60 00 80 00 68 00 00 8e 16 49 a0 40 08  7d+05:00:30.129  READ FPDMA QUEUED
  60 00 80 00 60 00 00 8e 16 49 20 40 08  7d+05:00:30.128  READ FPDMA QUEUED
  ef 00 10 00 02 00 00 00 00 00 00 a0 08  7d+05:00:30.127  SET FEATURES [Enable SATA feature]
  27 00 00 00 00 00 00 00 00 00 00 e0 08  7d+05:00:30.127  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 7209 [8] occurred at disk power-on lifetime: 15638 hours (651 days + 14 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 8e 16 49 20 40 00  Error: UNC at LBA = 0x8e164920 = 2383825184

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 02 80 00 00 00 00 8e 16 48 00 40 08  7d+05:00:25.471  READ FPDMA QUEUED
  60 02 40 00 f0 00 00 8e 0d 24 00 40 08  7d+05:00:24.539  READ FPDMA QUEUED
  60 00 08 00 e8 00 00 8d ff a9 d8 40 08  7d+05:00:22.676  READ FPDMA QUEUED
  60 00 20 00 e0 00 00 8d f6 07 88 40 08  7d+05:00:22.667  READ FPDMA QUEUED
  60 00 08 00 d8 00 00 8d f6 07 80 40 08  7d+05:00:22.666  READ FPDMA QUEUED

Error 7208 [7] occurred at disk power-on lifetime: 15638 hours (651 days + 14 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 8a d6 49 20 40 00  Error: UNC at LBA = 0x8ad64920 = 2329299232

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 00 20 00 e0 00 00 8a d6 4a 20 40 08  7d+04:59:37.921  READ FPDMA QUEUED
  60 00 80 00 d8 00 00 8a d6 49 a0 40 08  7d+04:59:37.921  READ FPDMA QUEUED
  60 00 80 00 d0 00 00 8a d6 49 20 40 08  7d+04:59:37.920  READ FPDMA QUEUED
  ef 00 10 00 02 00 00 00 00 00 00 a0 08  7d+04:59:37.917  SET FEATURES [Enable SATA feature]
  27 00 00 00 00 00 00 00 00 00 00 e0 08  7d+04:59:37.917  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 7207 [6] occurred at disk power-on lifetime: 15638 hours (651 days + 14 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 8a d6 49 20 40 00  Error: UNC at LBA = 0x8ad64920 = 2329299232

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 02 40 00 70 00 00 8a d6 48 00 40 08  7d+04:59:34.172  READ FPDMA QUEUED
  60 02 40 00 68 00 00 8a cd 24 00 40 08  7d+04:59:32.387  READ FPDMA QUEUED
  60 00 08 00 60 00 00 8a b7 f6 f8 40 08  7d+04:59:30.848  READ FPDMA QUEUED
  60 02 40 00 58 00 00 8a b1 b8 00 40 08  7d+04:59:29.086  READ FPDMA QUEUED
  60 02 40 00 50 00 00 8a 96 48 00 40 08  7d+04:59:27.667  READ FPDMA QUEUED

Error 7206 [5] occurred at disk power-on lifetime: 15638 hours (651 days + 14 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 7c 96 49 20 40 00  Error: UNC at LBA = 0x7c964920 = 2090223904

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 00 80 00 88 00 00 7c 96 49 a0 40 08  7d+04:55:55.565  READ FPDMA QUEUED
  60 00 80 00 80 00 00 7c 96 49 20 40 08  7d+04:55:55.564  READ FPDMA QUEUED
  ef 00 10 00 02 00 00 00 00 00 00 a0 08  7d+04:55:55.563  SET FEATURES [Enable SATA feature]
  27 00 00 00 00 00 00 00 00 00 00 e0 08  7d+04:55:55.563  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 00 00 00 00 00 a0 08  7d+04:55:55.558  IDENTIFY DEVICE

Error 7205 [4] occurred at disk power-on lifetime: 15638 hours (651 days + 14 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 7c 96 49 20 40 00  Error: UNC at LBA = 0x7c964920 = 2090223904

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 02 40 00 20 00 00 7c 96 48 00 40 08  7d+04:55:51.817  READ FPDMA QUEUED
  60 00 08 00 18 00 00 7c 8d 35 00 40 08  7d+04:55:51.796  READ FPDMA QUEUED
  60 00 08 00 10 00 00 7c 8d 31 00 40 08  7d+04:55:51.795  READ FPDMA QUEUED
  60 00 08 00 08 00 00 7c 8d 29 00 40 08  7d+04:55:51.793  READ FPDMA QUEUED
  60 04 00 00 00 00 00 7c 8d 24 00 40 08  7d+04:55:50.199  READ FPDMA QUEUED

SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       90%     15631         4990780
# 2  Conveyance offline  Completed: read failure       90%     15631         4990776

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.

SCT Status Version:                  3
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    50 Celsius
Power Cycle Min/Max Temperature:     44/61 Celsius
Lifetime    Min/Max Temperature:      0/72 Celsius
Under/Over Temperature Limit Count:   0/153

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (250)

Index    Estimated Time   Temperature Celsius
 251    2017-03-08 03:24    49  ******************************
 ...    ..(  8 skipped).    ..  ******************************
 260    2017-03-08 03:33    49  ******************************
 261    2017-03-08 03:34    50  *******************************
 ...    ..(260 skipped).    ..  *******************************
  44    2017-03-08 07:55    50  *******************************
  45    2017-03-08 07:56    47  ****************************
 ...    ..(122 skipped).    ..  ****************************
 168    2017-03-08 09:59    47  ****************************
 169    2017-03-08 10:00    48  *****************************
 ...    ..( 38 skipped).    ..  *****************************
 208    2017-03-08 10:39    48  *****************************
 209    2017-03-08 10:40    49  ******************************
 ...    ..( 40 skipped).    ..  ******************************
 250    2017-03-08 11:21    49  ******************************

SCT Error Recovery Control command not supported

Device Statistics (GP/SMART Log 0x04) not supported

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x000a  2           50  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x8000  4       645623  Vendor specific

et celui sur sdf :

pem@Serveur1:~$ sudo smartctl -x /dev/sdf
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-64-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (AF)
Device Model:     WDC WD20EARS-00MVWB0
Serial Number:    WD-WCAZA0926265
LU WWN Device Id: 5 0014ee 25a4c8c8b
Firmware Version: 51.0AB51
User Capacity:    2 000 398 934 016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Wed Mar  8 11:25:35 2017 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Disabled
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x84)	Offline data collection activity
					was suspended by an interrupting command from host.
					Auto Offline Data Collection: Enabled.
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: 		(37980) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 366) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   126   126   051    -    121992
  3 Spin_Up_Time            POS--K   171   160   021    -    6408
  4 Start_Stop_Count        -O--CK   100   100   000    -    250
  5 Reallocated_Sector_Ct   PO--CK   153   153   140    -    1025
  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
  9 Power_On_Hours          -O--CK   077   077   000    -    16903
 10 Spin_Retry_Count        -O--CK   100   100   000    -    0
 11 Calibration_Retry_Count -O--CK   100   100   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    247
192 Power-Off_Retract_Count -O--CK   200   200   000    -    177
193 Load_Cycle_Count        -O--CK   070   070   000    -    392899
194 Temperature_Celsius     -O---K   100   081   000    -    50
196 Reallocated_Event_Count -O--CK   001   001   000    -    621
197 Current_Pending_Sector  -O--CK   200   197   000    -    178
198 Offline_Uncorrectable   ----CK   200   199   000    -    183
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   ---R--   016   001   000    -    49158
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      6  Ext. Comprehensive SMART error log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb7  GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
Device Error Count: 1555 (device log contains only the most recent 24 errors)
	CR     = Command Register
	FEATR  = Features Register
	COUNT  = Count (was: Sector Count) Register
	LBA_48 = Upper bytes of LBA High/Mid/Low Registers ]  ATA-8
	LH     = LBA High (was: Cylinder High) Register    ]   LBA
	LM     = LBA Mid (was: Cylinder Low) Register      ] Register
	LL     = LBA Low (was: Sector Number) Register     ]
	DV     = Device (was: Device/Head) Register
	DC     = Device Control Register
	ER     = Error register
	ST     = Status register
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 1555 [18] occurred at disk power-on lifetime: 16722 hours (696 days + 18 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  04 -- 61 00 45 00 00 00 00 00 00 a0 00  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  ef 00 03 00 45 00 00 00 00 00 00 a0 00  3d+03:06:47.900  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 00 00 00 00 00 a0 00  3d+03:06:47.851  IDENTIFY DEVICE
  ec 00 00 00 00 00 00 00 00 00 00 a0 00  3d+03:06:42.548  IDENTIFY DEVICE
  ef 00 03 00 45 00 00 00 00 00 00 a0 00  3d+03:06:42.541  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 00 00 00 00 00 a0 00  3d+03:06:42.533  IDENTIFY DEVICE

Error 1554 [17] occurred at disk power-on lifetime: 16722 hours (696 days + 18 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  04 -- 61 00 45 00 00 00 00 00 00 a0 00  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  ef 00 03 00 45 00 00 00 00 00 00 a0 00  3d+03:06:42.541  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 00 00 00 00 00 a0 00  3d+03:06:42.533  IDENTIFY DEVICE
  ec 00 00 00 00 00 00 00 00 00 00 a0 00  3d+03:06:42.143  IDENTIFY DEVICE
  ef 00 03 00 45 00 00 00 00 00 00 a0 00  3d+03:06:42.136  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 00 00 00 00 00 e0 00  3d+03:06:42.136  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 1553 [16] occurred at disk power-on lifetime: 16722 hours (696 days + 18 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  04 -- 61 00 45 00 00 00 00 00 00 a0 00  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  ef 00 03 00 45 00 00 00 00 00 00 a0 00  3d+03:06:42.136  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 00 00 00 00 00 e0 00  3d+03:06:42.136  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 00 00 00 00 00 a0 00  3d+03:06:42.127  IDENTIFY DEVICE
  ca 00 00 00 01 00 00 00 00 00 08 e0 00  3d+03:06:39.333  WRITE DMA
  ca 00 00 00 08 00 00 00 00 00 10 e0 00  3d+03:06:39.311  WRITE DMA

Error 1552 [15] occurred at disk power-on lifetime: 16722 hours (696 days + 18 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  04 -- 61 00 00 00 00 00 00 00 00 e0 00

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  27 00 00 00 00 00 00 00 00 00 00 e0 00  3d+03:06:42.136  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 00 00 00 00 00 a0 00  3d+03:06:42.127  IDENTIFY DEVICE
  ca 00 00 00 01 00 00 00 00 00 08 e0 00  3d+03:06:39.333  WRITE DMA
  ca 00 00 00 08 00 00 00 00 00 10 e0 00  3d+03:06:39.311  WRITE DMA
  27 00 00 00 00 00 00 00 00 00 00 e0 00  3d+03:06:39.291  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 1551 [14] occurred at disk power-on lifetime: 16722 hours (696 days + 18 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  04 -- 51 00 01 00 00 00 00 00 08 e0 00  Error: ABRT at LBA = 0x00000008 = 8

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  ca 00 00 00 01 00 00 00 00 00 08 e0 00  3d+03:06:39.333  WRITE DMA
  ca 00 00 00 08 00 00 00 00 00 10 e0 00  3d+03:06:39.311  WRITE DMA
  27 00 00 00 00 00 00 00 00 00 00 e0 00  3d+03:06:39.291  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 00 00 00 00 00 a0 00  3d+03:06:39.284  IDENTIFY DEVICE
  ef 00 03 00 45 00 00 00 00 00 00 a0 00  3d+03:06:39.284  SET FEATURES [Set transfer mode]

Error 1550 [13] occurred at disk power-on lifetime: 16722 hours (696 days + 18 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 08 00 00 00 55 29 88 e0 00  Error: UNC 8 sectors at LBA = 0x00552988 = 5581192

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  c8 00 00 00 08 00 00 00 55 29 88 e0 00  3d+03:06:36.523  READ DMA
  27 00 00 00 00 00 00 00 00 00 00 e0 00  3d+03:06:36.501  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 00 00 00 00 00 a0 00  3d+03:06:36.493  IDENTIFY DEVICE
  ef 00 03 00 45 00 00 00 00 00 00 a0 00  3d+03:06:36.493  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 00 00 00 00 00 e0 00  3d+03:06:36.493  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 1549 [12] occurred at disk power-on lifetime: 16722 hours (696 days + 18 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 08 00 00 00 55 29 88 e0 00  Error: UNC 8 sectors at LBA = 0x00552988 = 5581192

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  c8 00 00 00 08 00 00 00 55 29 88 e0 00  3d+03:06:33.726  READ DMA
  25 00 00 00 08 00 00 b3 b2 e1 00 e0 00  3d+03:06:33.585  READ DMA EXT
  25 00 00 00 08 00 00 b3 b2 e1 08 e0 00  3d+03:06:33.581  READ DMA EXT
  25 00 00 00 28 00 00 b3 b2 df d8 e0 00  3d+03:06:33.548  READ DMA EXT
  25 00 00 00 08 00 00 b3 b2 df d0 e0 00  3d+03:06:33.468  READ DMA EXT

Error 1548 [11] occurred at disk power-on lifetime: 16721 hours (696 days + 17 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 58 00 00 b5 fc 9d e8 e0 00  Error: UNC 88 sectors at LBA = 0xb5fc9de8 = 3053231592

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  25 00 00 00 58 00 00 b5 fc 9d e8 e0 00  3d+02:04:21.340  READ DMA EXT
  25 00 00 00 18 00 00 74 72 71 78 e0 00  3d+02:04:21.339  READ DMA EXT
  ca 00 00 00 01 00 00 00 00 00 08 e0 00  3d+02:04:21.289  WRITE DMA
  ca 00 00 00 08 00 00 00 00 00 10 e0 00  3d+02:04:21.261  WRITE DMA
  25 00 00 00 08 00 00 b5 fc a1 90 e0 00  3d+02:04:21.260  READ DMA EXT

SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     16889         -
# 2  Conveyance offline  Completed: read failure       80%     16889         175234264
# 3  Short offline       Completed: read failure       90%     14032         52940040
# 4  Short offline       Completed without error       00%      8302         -
# 5  Short offline       Completed: read failure       90%      8227         277947262

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.

SCT Status Version:                  3
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    50 Celsius
Power Cycle Min/Max Temperature:     42/63 Celsius
Lifetime    Min/Max Temperature:     42/69 Celsius
Under/Over Temperature Limit Count:   0/187

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (44)

Index    Estimated Time   Temperature Celsius
  45    2017-03-08 03:28    51  ********************************
 ...    ..( 13 skipped).    ..  ********************************
  59    2017-03-08 03:42    51  ********************************
  60    2017-03-08 03:43    50  *******************************
  61    2017-03-08 03:44    50  *******************************
  62    2017-03-08 03:45    50  *******************************
  63    2017-03-08 03:46    51  ********************************
  64    2017-03-08 03:47    50  *******************************
 ...    ..( 28 skipped).    ..  *******************************
  93    2017-03-08 04:16    50  *******************************
  94    2017-03-08 04:17    51  ********************************
  95    2017-03-08 04:18    50  *******************************
 ...    ..(  2 skipped).    ..  *******************************
  98    2017-03-08 04:21    50  *******************************
  99    2017-03-08 04:22    51  ********************************
 100    2017-03-08 04:23    51  ********************************
 101    2017-03-08 04:24    51  ********************************
 102    2017-03-08 04:25    50  *******************************
 103    2017-03-08 04:26    50  *******************************
 104    2017-03-08 04:27    51  ********************************
 105    2017-03-08 04:28    50  *******************************
 ...    ..(  2 skipped).    ..  *******************************
 108    2017-03-08 04:31    50  *******************************
 109    2017-03-08 04:32    51  ********************************
 110    2017-03-08 04:33    50  *******************************
 ...    ..( 21 skipped).    ..  *******************************
 132    2017-03-08 04:55    50  *******************************
 133    2017-03-08 04:56    49  ******************************
 134    2017-03-08 04:57    49  ******************************
 135    2017-03-08 04:58    50  *******************************
 ...    ..(  2 skipped).    ..  *******************************
 138    2017-03-08 05:01    50  *******************************
 139    2017-03-08 05:02    49  ******************************
 140    2017-03-08 05:03    49  ******************************
 141    2017-03-08 05:04    50  *******************************
 ...    ..( 12 skipped).    ..  *******************************
 154    2017-03-08 05:17    50  *******************************
 155    2017-03-08 05:18    49  ******************************
 156    2017-03-08 05:19    50  *******************************
 ...    ..(  3 skipped).    ..  *******************************
 160    2017-03-08 05:23    50  *******************************
 161    2017-03-08 05:24    49  ******************************
 ...    ..(  2 skipped).    ..  ******************************
 164    2017-03-08 05:27    49  ******************************
 165    2017-03-08 05:28    50  *******************************
 166    2017-03-08 05:29    50  *******************************
 167    2017-03-08 05:30    49  ******************************
 ...    ..(  2 skipped).    ..  ******************************
 170    2017-03-08 05:33    49  ******************************
 171    2017-03-08 05:34    50  *******************************
 172    2017-03-08 05:35    49  ******************************
 ...    ..(  2 skipped).    ..  ******************************
 175    2017-03-08 05:38    49  ******************************
 176    2017-03-08 05:39    50  *******************************
 177    2017-03-08 05:40    49  ******************************
 ...    ..( 59 skipped).    ..  ******************************
 237    2017-03-08 06:40    49  ******************************
 238    2017-03-08 06:41    50  *******************************
 ...    ..( 28 skipped).    ..  *******************************
 267    2017-03-08 07:10    50  *******************************
 268    2017-03-08 07:11    51  ********************************
 269    2017-03-08 07:12    50  *******************************
 ...    ..(  2 skipped).    ..  *******************************
 272    2017-03-08 07:15    50  *******************************
 273    2017-03-08 07:16    51  ********************************
 274    2017-03-08 07:17    51  ********************************
 275    2017-03-08 07:18    50  *******************************
 276    2017-03-08 07:19    50  *******************************
 277    2017-03-08 07:20    50  *******************************
 278    2017-03-08 07:21    51  ********************************
 279    2017-03-08 07:22    50  *******************************
 ...    ..(  2 skipped).    ..  *******************************
 282    2017-03-08 07:25    50  *******************************
 283    2017-03-08 07:26    51  ********************************
 284    2017-03-08 07:27    51  ********************************
 285    2017-03-08 07:28    50  *******************************
 286    2017-03-08 07:29    50  *******************************
 287    2017-03-08 07:30    51  ********************************
 288    2017-03-08 07:31    50  *******************************
 289    2017-03-08 07:32    51  ********************************
 290    2017-03-08 07:33    50  *******************************
 291    2017-03-08 07:34    51  ********************************
 292    2017-03-08 07:35    50  *******************************
 ...    ..( 10 skipped).    ..  *******************************
 303    2017-03-08 07:46    50  *******************************
 304    2017-03-08 07:47    51  ********************************
 ...    ..(  9 skipped).    ..  ********************************
 314    2017-03-08 07:57    51  ********************************
 315    2017-03-08 07:58    50  *******************************
 316    2017-03-08 07:59    50  *******************************
 317    2017-03-08 08:00    47  ****************************
 318    2017-03-08 08:01    47  ****************************
 319    2017-03-08 08:02    48  *****************************
 320    2017-03-08 08:03    47  ****************************
 ...    ..(  4 skipped).    ..  ****************************
 325    2017-03-08 08:08    47  ****************************
 326    2017-03-08 08:09    48  *****************************
 ...    ..( 13 skipped).    ..  *****************************
 340    2017-03-08 08:23    48  *****************************
 341    2017-03-08 08:24    47  ****************************
 342    2017-03-08 08:25    48  *****************************
 ...    ..(  7 skipped).    ..  *****************************
 350    2017-03-08 08:33    48  *****************************
 351    2017-03-08 08:34    47  ****************************
 352    2017-03-08 08:35    48  *****************************
 ...    ..( 14 skipped).    ..  *****************************
 367    2017-03-08 08:50    48  *****************************
 368    2017-03-08 08:51    47  ****************************
 ...    ..(  2 skipped).    ..  ****************************
 371    2017-03-08 08:54    47  ****************************
 372    2017-03-08 08:55    48  *****************************
 373    2017-03-08 08:56    48  *****************************
 374    2017-03-08 08:57    47  ****************************
 375    2017-03-08 08:58    47  ****************************
 376    2017-03-08 08:59    47  ****************************
 377    2017-03-08 09:00    48  *****************************
 378    2017-03-08 09:01    48  *****************************
 379    2017-03-08 09:02    47  ****************************
 380    2017-03-08 09:03    47  ****************************
 381    2017-03-08 09:04    47  ****************************
 382    2017-03-08 09:05    48  *****************************
 383    2017-03-08 09:06    47  ****************************
 ...    ..(  2 skipped).    ..  ****************************
 386    2017-03-08 09:09    47  ****************************
 387    2017-03-08 09:10    48  *****************************
 388    2017-03-08 09:11    47  ****************************
 ...    ..(  2 skipped).    ..  ****************************
 391    2017-03-08 09:14    47  ****************************
 392    2017-03-08 09:15    48  *****************************
 393    2017-03-08 09:16    48  *****************************
 394    2017-03-08 09:17    47  ****************************
 ...    ..(  2 skipped).    ..  ****************************
 397    2017-03-08 09:20    47  ****************************
 398    2017-03-08 09:21    48  *****************************
 399    2017-03-08 09:22    47  ****************************
 ...    ..(  2 skipped).    ..  ****************************
 402    2017-03-08 09:25    47  ****************************
 403    2017-03-08 09:26    48  *****************************
 404    2017-03-08 09:27    47  ****************************
 ...    ..(  2 skipped).    ..  ****************************
 407    2017-03-08 09:30    47  ****************************
 408    2017-03-08 09:31    48  *****************************
 409    2017-03-08 09:32    48  *****************************
 410    2017-03-08 09:33    48  *****************************
 411    2017-03-08 09:34    47  ****************************
 412    2017-03-08 09:35    47  ****************************
 413    2017-03-08 09:36    48  *****************************
 ...    ..( 23 skipped).    ..  *****************************
 437    2017-03-08 10:00    48  *****************************
 438    2017-03-08 10:01    49  ******************************
 439    2017-03-08 10:02    49  ******************************
 440    2017-03-08 10:03    48  *****************************
 441    2017-03-08 10:04    48  *****************************
 442    2017-03-08 10:05    48  *****************************
 443    2017-03-08 10:06    49  ******************************
 444    2017-03-08 10:07    49  ******************************
 445    2017-03-08 10:08    48  *****************************
 ...    ..(  2 skipped).    ..  *****************************
 448    2017-03-08 10:11    48  *****************************
 449    2017-03-08 10:12    49  ******************************
 ...    ..( 48 skipped).    ..  ******************************
  20    2017-03-08 11:01    49  ******************************
  21    2017-03-08 11:02    50  *******************************
 ...    ..(  9 skipped).    ..  *******************************
  31    2017-03-08 11:12    50  *******************************
  32    2017-03-08 11:13    51  ********************************
  33    2017-03-08 11:14    51  ********************************
  34    2017-03-08 11:15    50  *******************************
 ...    ..(  6 skipped).    ..  *******************************
  41    2017-03-08 11:22    50  *******************************
  42    2017-03-08 11:23    51  ********************************
  43    2017-03-08 11:24    51  ********************************
  44    2017-03-08 11:25    51  ********************************

SCT Error Recovery Control command not supported

Device Statistics (GP/SMART Log 0x04) not supported

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x000a  2           31  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x8000  4       645827  Vendor specific

j'ai relancé un mdadm --examine et c'est bien sdf qui n'est pas pris en compte dans le raid, alors que c'est celui qui a le moins d'erreur smart ...

pem@Serveur1:~$ sudo mdadm --examine /dev/sd[abcdfghi]
/dev/sda:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : d16cc947:fd09a995:2e903fab:f2fb8b45

Internal Bitmap : 8 sectors from superblock
    Update Time : Wed Mar  8 05:22:01 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 85fcf896 - correct
         Events : 574726

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AAAA.AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdb:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x9
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : d3bbc737:dc379f5e:34d67d03:2ace388f

Internal Bitmap : 8 sectors from superblock
    Update Time : Wed Mar  8 05:22:01 2017
  Bad Block Log : 512 entries available at offset 72 sectors - bad blocks present.
       Checksum : e0dc8dbd - correct
         Events : 574726

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AAAA.AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 9baf509e:d7fa2235:835b85de:92c2e599

Internal Bitmap : 8 sectors from superblock
    Update Time : Wed Mar  8 05:22:01 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 39dbe32 - correct
         Events : 574726

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAAA.AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdd:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x9
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 2900765e:fd41d45b:e1c95ca2:cfd3489f

Internal Bitmap : 8 sectors from superblock
    Update Time : Wed Mar  8 05:22:01 2017
  Bad Block Log : 512 entries available at offset 72 sectors - bad blocks present.
       Checksum : b3c1e679 - correct
         Events : 574726

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 3
   Array State : AAAA.AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdf:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x9
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 0fc6ae36:f4c1703b:af771451:84688e09

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Feb 28 21:30:01 2017
  Bad Block Log : 512 entries available at offset 72 sectors - bad blocks present.
       Checksum : 8471b88b - correct
         Events : 573761

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 4
   Array State : AAA.AAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdg:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : f79b9e44:62ab7da9:90751c22:0fb87eed

Internal Bitmap : 8 sectors from superblock
    Update Time : Wed Mar  8 05:22:01 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : b5766aa5 - correct
         Events : 574726

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 5
   Array State : AAAA.AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdh:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 9396e427:56cb25e9:ac8e5301:cd13b662

Internal Bitmap : 8 sectors from superblock
    Update Time : Wed Mar  8 05:22:01 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 2cd2fa10 - correct
         Events : 574726

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 6
   Array State : AAAA.AAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdi:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 3caf7005:e986794f:618ba285:d439ffeb

Internal Bitmap : 8 sectors from superblock
    Update Time : Wed Mar  8 05:22:01 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 7e4af109 - correct
         Events : 574726

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 7
   Array State : AAAA.AAA ('A' == active, '.' == missing, 'R' == replacing)
pem@Serveur1:~$ 

et 

pem@Serveur1:~$ sudo cat /proc/mdstat 
Personalities : [raid6] [raid5] [raid4] 
md0 : active raid5 sda[0] sdi[7] sdh[6] sdg[5] sdd[3] sdc[2] sdb[1]
      13673683968 blocks super 1.2 level 5, 512k chunk, algorithm 2 [8/7] [UUUU_UUU]
      bitmap: 15/15 pages [60KB], 65536KB chunk

unused devices: <none>

la j'attend la fin du fsck et qui me sort des noms de fichiers que je connais du genre :

Le fichier /Telechargements/evolution-backup-20120605.tar.gz (i-noeud n°76614487, date de modification Tue Jun  5 21:55:35 2012)
  a 1 bloc(s) réclamé(s) plusieurs fois, partagés avec 0 fichier(s) :
Cloner les blocs réclamés plusieurs fois ? oui

clone_file_block: erreur interne : ne peut trouver dup_blk pour 748209481

Le fichier /Telechargements/zenbook_24Go.iso (i-noeud n°76614543, date de modification Wed Jan  2 20:32:43 2013)
  a 1 bloc(s) réclamé(s) plusieurs fois, partagés avec 0 fichier(s) :
Cloner les blocs réclamés plusieurs fois ? oui

ce ue j'aimerai arriver a faire aujourd'hui c'est remplacer déja le disque sdd qui semble etre le plus pourri, même si c'est celui ci qui a été monté, forcer a remonter le raid avec sdf, resynchroniser, puis quand la resynchro sera fini changer sdf et rebelotte...
Crois tu qu'il est possible histoire de préserver aux mieux les données de faire une copie bit a bit d'un des disques du raid pour le remplacer?
Merci pour ton aide et tes conseils smile


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#7 Le 08/03/2017, à 13:56

Bougron

Re : Raid 5 et mdadm [RESOLU]

Bonjour
Peut-être pourrait-tu faire un smartctl de tes 8 disques pour savoir si c'est bien SDD qui reste le prioritaire dans les remplacements

Si oui, on pourra le cloner bits à bits avec ddrescue à l'exception des secteurs illisibles!. qui sont actuellement 263

197 Current_Pending_Sector  -O--CK   200   199   000    -    263

Dernière modification par Bougron (Le 08/03/2017, à 14:34)


Ubuntu  BASH 16.04.1 sous windows10  et ubuntu-17.04-beta2 avec le noyau 4.10.0-13 et la future 17.10 depuis le 10 juillet avec le noyau 4.10.0-26
Lubuntu 14.04.4 en 32 bits  et  Lubuntu 16.06.3 en 32 bits noyau 4.10.0-33 pour un vaio pcg-k215s
Ubuntu 16.04.2 avec le noyau 4.4.0-71 et  le noyau 4.8.0.36
Faites votre  auto-dépannage en lisant  https://doc.ubuntu-fr.org/diagnostic.

Hors ligne

#8 Le 08/03/2017, à 14:51

Bougron

Re : Raid 5 et mdadm [RESOLU]

Comme je te l'ai dis, je ne suis pas expert en raids mais dans cette séquence tu écris
ce que j'aimerai arriver a faire aujourd'hui c'est remplacer déja le disque sdd qui semble être le plus pourri, même si c'est celui ci qui a été monté,

=> Je crois que tu as fais la commande de montage avec  les 8 disques. Que  cela a monté 7 disques et que tu es en train de faire un fsck.

A=> Il faudrait voir ce que cela donne.     Si cela te semble bon.
Je ne comprends pas la suite de ton action
forcer à  remonter le raid avec sdf, resynchroniser, puis quand la resynchro sera finie changer sdf et rebelotte...

Pour moi, cela consisterait à déclarer SDF en erreur.

mdadm --manage --set-faulty /dev/md0 /dev/sdf

puis démonter le disque SDF et le remplacer par un neuf  (SDF?) puis synchroniser.

sudo mdadm --manage /dev/md0 --add /dev/sdf

et suivre l'état de synchronisation avec cette commande ?
sudo mdadm -D /dev/md0 | egrep -i 'state :|Resync Status |Rebuild'


B=> Il faudrait voir ce que cela donne.     Si cela ne te semble pas bon: Je ne sais pas si ce que je vais écrire sera mieux comme solution.
- déclarer le disque SDD en faute comme il l'était initialement

mdadm --manage --set-faulty /dev/md0 /dev/sdd

- et Monter le raids sans ce disque SDD comme je l'ai dit    en essayant de trouver la bonne codif pour qu'il inclue le disque SDF

sudo mdadm -S /dev/md0
sudo mdadm -A -v -U resync -f  /dev/md0 /dev/sd[abcfghi]

De toute façon, lances la commande

cat /proc/mdstat 

afin de savoir l'état actuel après toutes tes opérations.

Dernière modification par Bougron (Le 09/03/2017, à 18:37)


Ubuntu  BASH 16.04.1 sous windows10  et ubuntu-17.04-beta2 avec le noyau 4.10.0-13 et la future 17.10 depuis le 10 juillet avec le noyau 4.10.0-26
Lubuntu 14.04.4 en 32 bits  et  Lubuntu 16.06.3 en 32 bits noyau 4.10.0-33 pour un vaio pcg-k215s
Ubuntu 16.04.2 avec le noyau 4.4.0-71 et  le noyau 4.8.0.36
Faites votre  auto-dépannage en lisant  https://doc.ubuntu-fr.org/diagnostic.

Hors ligne

#9 Le 09/03/2017, à 11:11

pem1664

Re : Raid 5 et mdadm [RESOLU]

Merci Bougron pour tes conseils, pour l'instant ca fait plus de 20h de fsck et c'est pas fini... faut dire qu'il y a de grosses img  de disques qui semblent etre altérées... je vais le laisser tourner et voir ce que ca donne et donne des nouvelles après smile


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#10 Le 12/03/2017, à 13:10

pem1664

Re : Raid 5 et mdadm [RESOLU]

Bonjour, bon au final impossible de faire une resync avec un nouveau disque y'en a toujours un qui flanche pendant la resync et c'est super long.. Pour l'instant je suis en train de faire une copie bit a bit d'un des disques défaillant puis j’essaierai de remonter le raid avec le nouveau disque


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#11 Le 12/03/2017, à 13:15

Bougron

Re : Raid 5 et mdadm [RESOLU]

Bougron a écrit :

Bonjour
Peut-être pourrait-tu faire un smartctl de tes 8 disques pour savoir si c'est bien SDD qui reste le prioritaire dans les remplacements

Si oui, on pourra le cloner bits à bits avec ddrescue à l'exception des secteurs illisibles!. qui sont actuellement 263

197 Current_Pending_Sector  -O--CK   200   199   000    -    263

Bonjour
Ce n'est pour rien que je t'avais demandé de vérifier l'état des disques avant t'entreprendre les actions.

Dernière modification par Bougron (Le 12/03/2017, à 13:15)


Ubuntu  BASH 16.04.1 sous windows10  et ubuntu-17.04-beta2 avec le noyau 4.10.0-13 et la future 17.10 depuis le 10 juillet avec le noyau 4.10.0-26
Lubuntu 14.04.4 en 32 bits  et  Lubuntu 16.06.3 en 32 bits noyau 4.10.0-33 pour un vaio pcg-k215s
Ubuntu 16.04.2 avec le noyau 4.4.0-71 et  le noyau 4.8.0.36
Faites votre  auto-dépannage en lisant  https://doc.ubuntu-fr.org/diagnostic.

Hors ligne

#12 Le 12/03/2017, à 13:20

pem1664

Re : Raid 5 et mdadm [RESOLU]

Bonjour, oui oui smile j'avais bien compris


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#13 Le 26/03/2017, à 08:49

pem1664

Re : Raid 5 et mdadm [RESOLU]

Bonjour a tous smile
Ca y est je m'en suis enfin sorti avec mon raid et récupéré une bonne partie des données... (lost+found contient 1.7To sur les 12To)!!
En pratique j'ai fait une copie bit a bit avec ddrescue du disque /dev/sdf qui avait l'état smart le moins pourrit, j'ai essayé de faire de même avec le disque sdd mais pour le coup après 4j de lancement de dd rescue et 10% d'effectué j'ai abandonné.
Ensuite j'ai remonté le raid avec le nouveau disque sdf fraichement recopié sans erreur et inséré un nouveau disque à la place de sdd.
J'ai du réinstaller mdadm au reboot car il me trouvait encore un raid0 à la place d'un raid5.
Après réinstall de mdadm, j'ai pu recrééer le raid5 et le monter en mode dégradé (sans le disque sdd) puis rajouter le disque sdd et le reconstruire (pour le coup vu qu'il n'y avait plus de disque défectueux c'est allé assez vite).
Et enfin j'ai pu lancer un fsck pour corriger toutes les erreurs d'inodes (et ca pour le coup ca a duré 15j.. et encore je l'ai arrêté plusieurs fois pour supprimer les images trop grosses comme des iso de 30GO ou plus)
Et la pour l'instant C'est nickel smile un beau raid avec la moitié des disques neufs.. j'ai plus qu'a en racheter pour changer les disques auu fur et a mesure qu'ils tomberont en rade...
Un grand merci a toi Bougron pour ton aide et tes conseils smile

Dernière modification par pem1664 (Le 26/03/2017, à 08:55)


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#14 Le 26/03/2017, à 08:56

Bougron

Re : Raid 5 et mdadm [RESOLU]

Bonjour.
Merci de ton retour. Tu n'y es pour rien mais je note une sacrée contradiction
RAIDS = haute disponibilité  et fsck = 15 jours    Donc probablement pas autorisé en lecture


Ubuntu  BASH 16.04.1 sous windows10  et ubuntu-17.04-beta2 avec le noyau 4.10.0-13 et la future 17.10 depuis le 10 juillet avec le noyau 4.10.0-26
Lubuntu 14.04.4 en 32 bits  et  Lubuntu 16.06.3 en 32 bits noyau 4.10.0-33 pour un vaio pcg-k215s
Ubuntu 16.04.2 avec le noyau 4.4.0-71 et  le noyau 4.8.0.36
Faites votre  auto-dépannage en lisant  https://doc.ubuntu-fr.org/diagnostic.

Hors ligne

#15 Le 26/03/2017, à 11:10

pem1664

Re : Raid 5 et mdadm [RESOLU]

Ben d'après iostat le raid tourne a en gros 50 a 60Mo/s mais lorsque le fsck copie les blocs réclamés plusieurs fois ca tombe a 0 et ca y reste le pc qui gère ce raid est un vieux AMD Athlon(tm) II X2 250 Processor × 2  et il y a 6 disques direct sur la CM et 2 qui sont sur une carte pci ->sata  le fsck prennait 100% des ressources d'un proc et 6% d'un autre ca doit pas aider...
pourquoi dis tu "pas autorisé en lecture"?

Dernière modification par pem1664 (Le 26/03/2017, à 11:11)


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#16 Le 26/03/2017, à 11:16

Bougron

Re : Raid 5 et mdadm [RESOLU]

C'était  juste une question   Pendant le fonctionnement du FSCK  , il me semble qu'on ne peut pas écrire dans la partition    et ni la lire...
Si tel n'est pas le cas, j'éliminerais ma remarque.


Ubuntu  BASH 16.04.1 sous windows10  et ubuntu-17.04-beta2 avec le noyau 4.10.0-13 et la future 17.10 depuis le 10 juillet avec le noyau 4.10.0-26
Lubuntu 14.04.4 en 32 bits  et  Lubuntu 16.06.3 en 32 bits noyau 4.10.0-33 pour un vaio pcg-k215s
Ubuntu 16.04.2 avec le noyau 4.4.0-71 et  le noyau 4.8.0.36
Faites votre  auto-dépannage en lisant  https://doc.ubuntu-fr.org/diagnostic.

Hors ligne

#17 Le 26/03/2017, à 11:18

pem1664

Re : Raid 5 et mdadm [RESOLU]

Ah oui pendant le fsck la partition doit etre impérativement démontée wink mais c'est vrai que j'ai trouvé ca super long par rapport au temps qu'il a fallu pour reconstruire le raid...


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#18 Le 28/03/2017, à 10:55

pem1664

Re : Raid 5 et mdadm [RESOLU]

En fait en lancant des copies j'ai encore un souci avec ce raid, décidément...
lors de la copie j'ai des erreurs d'entrée sortie et le dmesg me donne ca :

[  271.651994] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)
[  437.046633] EXT4-fs warning (device md0): ext4_end_bio:329: I/O error -5 writing to inode 344653976 (offset 8388608 size 7815168 starting block 235515648)
[  437.046640] Buffer I/O error on device md0, logical block 235515648
[  437.046644] Buffer I/O error on device md0, logical block 235515649
[  437.046646] Buffer I/O error on device md0, logical block 235515650
[  437.046648] Buffer I/O error on device md0, logical block 235515651
[  437.046650] Buffer I/O error on device md0, logical block 235515652
[  437.046652] Buffer I/O error on device md0, logical block 235515653
[  437.046655] Buffer I/O error on device md0, logical block 235515654
[  437.046656] Buffer I/O error on device md0, logical block 235515655
[  437.046658] Buffer I/O error on device md0, logical block 235515656
[  437.046660] Buffer I/O error on device md0, logical block 235515657
[  437.046703] EXT4-fs warning (device md0): ext4_end_bio:329: I/O error -5 writing to inode 344653976 (offset 8388608 size 7815168 starting block 235515392)
[  491.912906] EXT4-fs warning (device md0): ext4_end_bio:329: I/O error -5 writing to inode 344526235 (offset 2144755712 size 5246976 starting block 237301760)
[  491.912912] buffer_io_error: 362 callbacks suppressed
[  491.912915] Buffer I/O error on device md0, logical block 237301760
[  491.912924] Buffer I/O error on device md0, logical block 237301761
[  491.912926] Buffer I/O error on device md0, logical block 237301762
[  491.912929] Buffer I/O error on device md0, logical block 237301763
[  491.912931] Buffer I/O error on device md0, logical block 237301764
[  491.912933] Buffer I/O error on device md0, logical block 237301765
[  491.912935] Buffer I/O error on device md0, logical block 237301766
[  491.912937] Buffer I/O error on device md0, logical block 237301767
[  491.912939] Buffer I/O error on device md0, logical block 237301768
[  491.912941] Buffer I/O error on device md0, logical block 237301769
[  542.152128] EXT4-fs warning (device md0): ext4_end_bio:329: I/O error -5 writing to inode 344526184 (offset 947912704 size 8388608 starting block 255248640)
[  542.152140] buffer_io_error: 246 callbacks suppressed
[  542.152147] Buffer I/O error on device md0, logical block 255248640
[  542.152160] Buffer I/O error on device md0, logical block 255248641
[  542.152165] Buffer I/O error on device md0, logical block 255248642
[  542.152170] Buffer I/O error on device md0, logical block 255248643
[  542.152175] Buffer I/O error on device md0, logical block 255248644
[  542.152179] Buffer I/O error on device md0, logical block 255248645
[  542.152184] Buffer I/O error on device md0, logical block 255248646
[  542.152189] Buffer I/O error on device md0, logical block 255248647
[  542.152193] Buffer I/O error on device md0, logical block 255248648
[  542.152198] Buffer I/O error on device md0, logical block 255248649
[  542.152399] EXT4-fs warning (device md0): ext4_end_bio:329: I/O error -5 writing to inode 344526184 (offset 947912704 size 8388608 starting block 255248384)

j'ai lancé un fsck mais la partition est propre...

pem@Serveur1:~$ cat /proc/mdstat 
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10] 
md0 : active raid5 sdg[5] sdf[8] sdb[1] sdi[7] sdh[6] sdc[2] sdd[3] sda[0]
      13673683968 blocks super 1.2 level 5, 512k chunk, algorithm 2 [8/8] [UUUUUUUU]
      bitmap: 4/15 pages [16KB], 65536KB chunk

unused devices: <none>
pem@Serveur1:~$ 
pem@Serveur1:~$ sudo mdadm --examine /dev/sd[abcdefghi]
/dev/sda:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : d16cc947:fd09a995:2e903fab:f2fb8b45

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Mar 28 11:57:15 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 86172367 - correct
         Events : 607039

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AAAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdb:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x9
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : d3bbc737:dc379f5e:34d67d03:2ace388f

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Mar 28 11:57:15 2017
  Bad Block Log : 512 entries available at offset 72 sectors - bad blocks present.
       Checksum : e0f6b88e - correct
         Events : 607039

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AAAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 9baf509e:d7fa2235:835b85de:92c2e599

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Mar 28 11:57:15 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 3b7e903 - correct
         Events : 607039

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdd:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x9
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 2900765e:fd41d45b:e1c95ca2:cfd3489f

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Mar 28 11:57:15 2017
  Bad Block Log : 512 entries available at offset 72 sectors - bad blocks present.
       Checksum : b3dc114a - correct
         Events : 607039

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 3
   Array State : AAAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sde:
   MBR Magic : aa55
Partition[0] :    117184512 sectors at         2048 (type 83)
Partition[1] :     15624192 sectors at    117186560 (type 82)
Partition[2] :    179769344 sectors at    132810752 (type 83)
/dev/sdf:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x9
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 865a3ec3:27e0c236:d7781a28:046eca0f

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Mar 28 11:57:15 2017
  Bad Block Log : 512 entries available at offset 72 sectors - bad blocks present.
       Checksum : e9bf4210 - correct
         Events : 607039

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 4
   Array State : AAAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdg:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : f79b9e44:62ab7da9:90751c22:0fb87eed

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Mar 28 11:57:15 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : b5909576 - correct
         Events : 607039

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 5
   Array State : AAAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdh:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 9396e427:56cb25e9:ac8e5301:cd13b662

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Mar 28 11:57:15 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 2ced24e1 - correct
         Events : 607039

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 6
   Array State : AAAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdi:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x1
     Array UUID : 28d825f1:156a6ed1:8e94696c:b5762cb5
           Name : Serveur1:0  (local to host Serveur1)
  Creation Time : Tue Nov  8 16:18:56 2016
     Raid Level : raid5
   Raid Devices : 8

 Avail Dev Size : 3906767024 (1862.89 GiB 2000.26 GB)
     Array Size : 13673683968 (13040.24 GiB 14001.85 GB)
  Used Dev Size : 3906766848 (1862.89 GiB 2000.26 GB)
    Data Offset : 262144 sectors
   Super Offset : 8 sectors
   Unused Space : before=262056 sectors, after=176 sectors
          State : clean
    Device UUID : 3caf7005:e986794f:618ba285:d439ffeb

Internal Bitmap : 8 sectors from superblock
    Update Time : Tue Mar 28 11:57:15 2017
  Bad Block Log : 512 entries available at offset 72 sectors
       Checksum : 7e651bda - correct
         Events : 607039

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 7
   Array State : AAAAAAAA ('A' == active, '.' == missing, 'R' == replacing)
pem@Serveur1:~$ 

je ne comprend pas...

Dernière modification par pem1664 (Le 28/03/2017, à 10:58)


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#19 Le 28/03/2017, à 11:21

Bougron

Re : Raid 5 et mdadm [RESOLU]

pem1664 a écrit :

En fait en lançant des copies j'ai encore un souci avec ce raid, décidément...
lors de la copie j'ai des erreurs d'entrée sortie et le dmesg me donne ca :

[  271.651994] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)
[  437.046633] EXT4-fs warning (device md0): ext4_end_bio:329: I/O error -5 writing to inode 344653976 (offset 8388608 size 7815168 starting block 235515648)
[  437.046640] Buffer I/O error on device md0, logical block 235515648
[  437.046644] Buffer I/O error on device md0, logical block 235515649
[  437.046646] Buffer I/O error on device md0, logical block 235515650
[  437.046648] Buffer I/O error on device md0, logical block 235515651
[  437.046650] Buffer I/O error on device md0, logical block 235515652
[  437.046652] Buffer I/O error on device md0, logical block 235515653
[  437.046655] Buffer I/O error on device md0, logical block 235515654
[  437.046656] Buffer I/O error on device md0, logical block 235515655
[  437.046658] Buffer I/O error on device md0, logical block 235515656
[  437.046660] Buffer I/O error on device md0, logical block 235515657
[  437.046703] EXT4-fs warning (device md0): ext4_end_bio:329: I/O error -5 writing to inode 344653976 (offset 8388608 size 7815168 starting block 235515392)
[  491.912906] EXT4-fs warning (device md0): ext4_end_bio:329: I/O error -5 writing to inode 344526235 (offset 2144755712 size 5246976 starting block 237301760)
[  491.912912] buffer_io_error: 362 callbacks suppressed
[  491.912915] Buffer I/O error on device md0, logical block 237301760
[  491.912924] Buffer I/O error on device md0, logical block 237301761
[  491.912926] Buffer I/O error on device md0, logical block 237301762
[  491.912929] Buffer I/O error on device md0, logical block 237301763
[  491.912931] Buffer I/O error on device md0, logical block 237301764
[  491.912933] Buffer I/O error on device md0, logical block 237301765
[  491.912935] Buffer I/O error on device md0, logical block 237301766
[  491.912937] Buffer I/O error on device md0, logical block 237301767
[  491.912939] Buffer I/O error on device md0, logical block 237301768
[  491.912941] Buffer I/O error on device md0, logical block 237301769
[  542.152128] EXT4-fs warning (device md0): ext4_end_bio:329: I/O error -5 writing to inode 344526184 (offset 947912704 size 8388608 starting block 255248640)
[  542.152140] buffer_io_error: 246 callbacks suppressed
[  542.152147] Buffer I/O error on device md0, logical block 255248640
[  542.152160] Buffer I/O error on device md0, logical block 255248641
[  542.152165] Buffer I/O error on device md0, logical block 255248642
[  542.152170] Buffer I/O error on device md0, logical block 255248643
[  542.152175] Buffer I/O error on device md0, logical block 255248644
[  542.152179] Buffer I/O error on device md0, logical block 255248645
[  542.152184] Buffer I/O error on device md0, logical block 255248646
[  542.152189] Buffer I/O error on device md0, logical block 255248647
[  542.152193] Buffer I/O error on device md0, logical block 255248648
[  542.152198] Buffer I/O error on device md0, logical block 255248649
[  542.152399] EXT4-fs warning (device md0): ext4_end_bio:329: I/O error -5 writing to inode 344526184 (offset 947912704 size 8388608 starting block 255248384)

Je ne comprend pas...

Bonjour
Je ne suis pas sur de l'explication que je vais te donner.
Tout d'abord, la copie du fichier se passe-t-elle bien malgré ce message d'erreur
Ma question est liée au fait que si un secteur sur un disque est inécrivable  le RAIDS, doit  faire en sorte d'utiliser d'utiliser des secteurs de secours.
Mais les commandes de contrôle fsck ne vérifient pas le contenu des fichiers, seulement le contenu  des zones  stockant les noms de fichiers

Il faudrait que tu refasses un smartctl de tous tes disques

Mais, il serait possible que cela soit un bug?  https://bugs.launchpad.net/ubuntu/+sour … ug/1359706
                                                                                 https://lists.debian.org/debian-kernel/ … 00233.html

Dernière modification par Bougron (Le 28/03/2017, à 11:38)


Ubuntu  BASH 16.04.1 sous windows10  et ubuntu-17.04-beta2 avec le noyau 4.10.0-13 et la future 17.10 depuis le 10 juillet avec le noyau 4.10.0-26
Lubuntu 14.04.4 en 32 bits  et  Lubuntu 16.06.3 en 32 bits noyau 4.10.0-33 pour un vaio pcg-k215s
Ubuntu 16.04.2 avec le noyau 4.4.0-71 et  le noyau 4.8.0.36
Faites votre  auto-dépannage en lisant  https://doc.ubuntu-fr.org/diagnostic.

Hors ligne

#20 Le 28/03/2017, à 11:24

pem1664

Re : Raid 5 et mdadm [RESOLU]

Hello merci encore pour tes lumières smile
Je ne pense pas que la copie se termine je suis obligé de cliquer sur ignorer mais ca ne me dit pas si il ignore l'erreur et continue ou bien si ca ignore la fin du fichier a copier..

EDIT smartctl de tous les disques...

pem@Serveur1:~$ sudo smartctl -x /dev/sda
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-70-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD20EFRX-68EUZN0
Serial Number:    WD-WCC4M5ANA1YU
LU WWN Device Id: 5 0014ee 2b876c4d8
Firmware Version: 82.00A82
User Capacity:    2 000 398 934 016 bytes [2,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Tue Mar 28 12:25:59 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: 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: 		(25680) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 260) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x703d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0
  3 Spin_Up_Time            POS--K   175   173   021    -    4216
  4 Start_Stop_Count        -O--CK   100   100   000    -    28
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
  9 Power_On_Hours          -O--CK   096   096   000    -    3374
 10 Spin_Retry_Count        -O--CK   100   253   000    -    0
 11 Calibration_Retry_Count -O--CK   100   253   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    28
192 Power-Off_Retract_Count -O--CK   200   200   000    -    17
193 Load_Cycle_Count        -O--CK   200   200   000    -    2593
194 Temperature_Celsius     -O---K   105   088   000    -    42
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--CK   200   200   000    -    0
198 Offline_Uncorrectable   ----CK   100   253   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   ---R--   100   253   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      6  Ext. Comprehensive SMART error log
0x04       GPL,SL  R/O      8  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x0c       GPL     R/O   2048  Pending Defects log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x21       GPL     R/O      1  Write stream error log
0x22       GPL     R/O      1  Read stream error log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb7  GPL,SL  VS       1  Device vendor specific log
0xbd       GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.

SCT Status Version:                  3
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    41 Celsius
Power Cycle Min/Max Temperature:     32/47 Celsius
Lifetime    Min/Max Temperature:      9/59 Celsius
Under/Over Temperature Limit Count:   0/0
Vendor specific:
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (41)

Index    Estimated Time   Temperature Celsius
  42    2017-03-28 04:28    37  ******************
 ...    ..( 10 skipped).    ..  ******************
  53    2017-03-28 04:39    37  ******************
  54    2017-03-28 04:40    38  *******************
 ...    ..(  7 skipped).    ..  *******************
  62    2017-03-28 04:48    38  *******************
  63    2017-03-28 04:49    39  ********************
 ...    ..( 20 skipped).    ..  ********************
  84    2017-03-28 05:10    39  ********************
  85    2017-03-28 05:11    40  *********************
 ...    ..( 25 skipped).    ..  *********************
 111    2017-03-28 05:37    40  *********************
 112    2017-03-28 05:38    41  **********************
 ...    ..( 78 skipped).    ..  **********************
 191    2017-03-28 06:57    41  **********************
 192    2017-03-28 06:58    37  ******************
 ...    ..(  7 skipped).    ..  ******************
 200    2017-03-28 07:06    37  ******************
 201    2017-03-28 07:07    38  *******************
 ...    ..(  7 skipped).    ..  *******************
 209    2017-03-28 07:15    38  *******************
 210    2017-03-28 07:16    37  ******************
 ...    ..(108 skipped).    ..  ******************
 319    2017-03-28 09:05    37  ******************
 320    2017-03-28 09:06    36  *****************
 ...    ..( 39 skipped).    ..  *****************
 360    2017-03-28 09:46    36  *****************
 361    2017-03-28 09:47    35  ****************
 362    2017-03-28 09:48    35  ****************
 363    2017-03-28 09:49    36  *****************
 ...    ..( 36 skipped).    ..  *****************
 400    2017-03-28 10:26    36  *****************
 401    2017-03-28 10:27    35  ****************
 ...    ..( 27 skipped).    ..  ****************
 429    2017-03-28 10:55    35  ****************
 430    2017-03-28 10:56    36  *****************
 ...    ..( 22 skipped).    ..  *****************
 453    2017-03-28 11:19    36  *****************
 454    2017-03-28 11:20    35  ****************
 ...    ..( 27 skipped).    ..  ****************
   4    2017-03-28 11:48    35  ****************
   5    2017-03-28 11:49    36  *****************
 ...    ..( 28 skipped).    ..  *****************
  34    2017-03-28 12:18    36  *****************
  35    2017-03-28 12:19    37  ******************
 ...    ..(  5 skipped).    ..  ******************
  41    2017-03-28 12:25    37  ******************

SCT Error Recovery Control:
           Read:     70 (7,0 seconds)
          Write:     70 (7,0 seconds)

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 2) ==
0x01  0x008  4              28  ---  Lifetime Power-On Resets
0x01  0x010  4            3374  ---  Power-on Hours
0x01  0x018  6      4125550077  ---  Logical Sectors Written
0x01  0x020  6         7269087  ---  Number of Write Commands
0x01  0x028  6      6050068387  ---  Logical Sectors Read
0x01  0x030  6        13151079  ---  Number of Read Commands
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4            3293  ---  Spindle Motor Power-on Hours
0x03  0x010  4            1886  ---  Head Flying Hours
0x03  0x018  4            2611  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4               0  ---  Read Recovery Attempts
0x03  0x030  4               0  ---  Number of Mechanical Start Failures
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4               0  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              41  ---  Current Temperature
0x05  0x010  1              38  ---  Average Short Term Temperature
0x05  0x018  1              41  ---  Average Long Term Temperature
0x05  0x020  1              58  ---  Highest Temperature
0x05  0x028  1              23  ---  Lowest Temperature
0x05  0x030  1              55  ---  Highest Average Short Term Temperature
0x05  0x038  1              32  ---  Lowest Average Short Term Temperature
0x05  0x040  1              47  ---  Highest Average Long Term Temperature
0x05  0x048  1              41  ---  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              60  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               0  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4             435  ---  Number of Hardware Resets
0x06  0x010  4            1549  ---  Number of ASR Events
0x06  0x018  4               0  ---  Number of Interface CRC Errors
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x0008  2            0  Device-to-host non-data FIS retries
0x0009  2           51  Transition from drive PhyRdy to drive PhyNRdy
0x000a  2           50  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x000f  2            0  R_ERR response for host-to-device data FIS, CRC
0x0012  2            0  R_ERR response for host-to-device non-data FIS, CRC
0x8000  4      1038026  Vendor specific

pem@Serveur1:~$ sudo smartctl -x /dev/sdb
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-70-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (AF)
Device Model:     WDC WD20EARS-00MVWB0
Serial Number:    WD-WCAZA2027998
LU WWN Device Id: 5 0014ee 2afd3589e
Firmware Version: 51.0AB51
User Capacity:    2 000 398 934 016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Tue Mar 28 12:26:03 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Disabled
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
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: 		(38880) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 375) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0
  3 Spin_Up_Time            POS--K   253   253   021    -    1058
  4 Start_Stop_Count        -O--CK   100   100   000    -    344
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
  9 Power_On_Hours          -O--CK   077   077   000    -    17286
 10 Spin_Retry_Count        -O--CK   100   100   000    -    0
 11 Calibration_Retry_Count -O--CK   100   100   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    343
192 Power-Off_Retract_Count -O--CK   200   200   000    -    266
193 Load_Cycle_Count        -O--CK   071   071   000    -    389837
194 Temperature_Celsius     -O---K   107   075   000    -    43
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--CK   200   200   000    -    5
198 Offline_Uncorrectable   ----CK   200   200   000    -    5
199 UDMA_CRC_Error_Count    -O--CK   200   191   000    -    59526
200 Multi_Zone_Error_Rate   ---R--   200   200   000    -    5
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      6  Ext. Comprehensive SMART error log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb7  GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
Device Error Count: 6
	CR     = Command Register
	FEATR  = Features Register
	COUNT  = Count (was: Sector Count) Register
	LBA_48 = Upper bytes of LBA High/Mid/Low Registers ]  ATA-8
	LH     = LBA High (was: Cylinder High) Register    ]   LBA
	LM     = LBA Mid (was: Cylinder Low) Register      ] Register
	LL     = LBA Low (was: Sector Number) Register     ]
	DV     = Device (was: Device/Head) Register
	DC     = Device Control Register
	ER     = Error register
	ST     = Status register
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 6 [5] occurred at disk power-on lifetime: 14589 hours (607 days + 21 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 b3 ba dc b0 40 00  Error: UNC at LBA = 0xb3badcb0 = 3015367856

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 00 28 00 28 00 00 b3 ba dc b0 40 08 27d+03:43:30.423  READ FPDMA QUEUED
  ea 00 00 00 00 00 00 00 00 00 00 e0 08 27d+03:43:30.386  FLUSH CACHE EXT
  61 00 01 00 18 00 00 00 00 00 08 40 08 27d+03:43:30.385  WRITE FPDMA QUEUED
  ea 00 00 00 00 00 00 00 00 00 00 e0 08 27d+03:43:30.385  FLUSH CACHE EXT
  ea 00 00 00 00 00 00 00 00 00 00 e0 08 27d+03:43:30.365  FLUSH CACHE EXT

Error 5 [4] occurred at disk power-on lifetime: 14589 hours (607 days + 21 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 b3 ba dc b0 40 00  Error: UNC at LBA = 0xb3badcb0 = 3015367856

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 00 28 00 78 00 00 b3 ba dc d8 40 08 27d+03:43:27.346  READ FPDMA QUEUED
  60 00 38 00 70 00 00 b3 ba dc a0 40 08 27d+03:43:27.346  READ FPDMA QUEUED
  60 00 10 00 68 00 00 b3 ba dc 88 40 08 27d+03:43:27.346  READ FPDMA QUEUED
  60 00 10 00 60 00 00 b3 ba dc 68 40 08 27d+03:43:27.346  READ FPDMA QUEUED
  60 00 60 00 58 00 00 b3 ba dc 08 40 08 27d+03:43:27.346  READ FPDMA QUEUED

Error 4 [3] occurred at disk power-on lifetime: 14566 hours (606 days + 22 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 b3 ba dc 98 40 00  Error: UNC at LBA = 0xb3badc98 = 3015367832

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 00 08 00 90 00 00 b3 ba dc 98 40 08 26d+04:25:44.355  READ FPDMA QUEUED
  61 00 08 00 88 00 00 00 00 00 10 40 08 26d+04:25:44.355  WRITE FPDMA QUEUED
  ea 00 00 00 00 00 00 00 00 00 00 e0 08 26d+04:25:44.355  FLUSH CACHE EXT
  ea 00 00 00 00 00 00 00 00 00 00 e0 08 26d+04:25:44.280  FLUSH CACHE EXT
  61 00 01 00 70 00 00 00 00 00 08 40 08 26d+04:25:44.280  WRITE FPDMA QUEUED

Error 3 [2] occurred at disk power-on lifetime: 14566 hours (606 days + 22 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 b3 ba dc 98 40 00  Error: UNC at LBA = 0xb3badc98 = 3015367832

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 00 08 00 68 00 00 b3 ba dc 98 40 08 26d+04:25:41.282  READ FPDMA QUEUED
  60 00 08 00 60 00 00 b3 ba dc a0 40 08 26d+04:25:41.282  READ FPDMA QUEUED
  60 00 08 00 58 00 00 b3 ba dc 90 40 08 26d+04:25:41.282  READ FPDMA QUEUED
  60 00 08 00 50 00 00 b3 ba dc 88 40 08 26d+04:25:41.282  READ FPDMA QUEUED
  ef 00 10 00 02 00 00 00 00 00 00 a0 08 26d+04:25:41.282  SET FEATURES [Enable SATA feature]

Error 2 [1] occurred at disk power-on lifetime: 14566 hours (606 days + 22 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 00 00 00 b3 ba dc 78 40 00  Error: UNC at LBA = 0xb3badc78 = 3015367800

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 00 10 00 f0 00 00 b3 ba dc 78 40 08 26d+04:25:38.333  READ FPDMA QUEUED
  60 00 08 00 e0 00 00 b3 ba dc 88 40 08 26d+04:25:38.333  READ FPDMA QUEUED
  60 00 08 00 d8 00 00 b3 ba dc 90 40 08 26d+04:25:38.333  READ FPDMA QUEUED
  60 00 08 00 d0 00 00 b3 ba dc a0 40 08 26d+04:25:38.333  READ FPDMA QUEUED
  60 00 08 00 c8 00 00 b3 ba dc 98 40 08 26d+04:25:38.333  READ FPDMA QUEUED

Error 1 [0] occurred at disk power-on lifetime: 14566 hours (606 days + 22 hours)
  When the command that caused the error occurred, the device was doing SMART Offline or Self-test.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 fe 00 00 b3 ba dc 78 40 00  Error: UNC at LBA = 0xb3badc78 = 3015367800

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 00 08 00 b0 00 00 b3 ba dc 98 40 08 26d+04:25:35.392  READ FPDMA QUEUED
  60 00 08 00 a8 00 00 b3 ba dc a0 40 08 26d+04:25:35.392  READ FPDMA QUEUED
  60 00 08 00 a0 00 00 b3 ba dc 90 40 08 26d+04:25:35.391  READ FPDMA QUEUED
  60 00 08 00 98 00 00 b3 ba dc 88 40 08 26d+04:25:35.391  READ FPDMA QUEUED
  60 00 18 00 90 00 00 b3 ba dc 70 40 08 26d+04:25:35.391  READ FPDMA QUEUED

SMART Extended Self-test Log Version: 1 (1 sectors)
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.

SCT Status Version:                  3
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    43 Celsius
Power Cycle Min/Max Temperature:     28/50 Celsius
Lifetime    Min/Max Temperature:     28/75 Celsius
Under/Over Temperature Limit Count:   0/0

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (258)

Index    Estimated Time   Temperature Celsius
 259    2017-03-28 04:29    32  *************
 ...    ..(  8 skipped).    ..  *************
 268    2017-03-28 04:38    32  *************
 269    2017-03-28 04:39    31  ************
 270    2017-03-28 04:40    31  ************
 271    2017-03-28 04:41    32  *************
 272    2017-03-28 04:42    32  *************
 273    2017-03-28 04:43    31  ************
 ...    ..(  2 skipped).    ..  ************
 276    2017-03-28 04:46    31  ************
 277    2017-03-28 04:47    32  *************
 278    2017-03-28 04:48    31  ************
 ...    ..(  8 skipped).    ..  ************
 287    2017-03-28 04:57    31  ************
 288    2017-03-28 04:58    30  ***********
 289    2017-03-28 04:59    30  ***********
 290    2017-03-28 05:00    30  ***********
 291    2017-03-28 05:01    31  ************
 ...    ..(  4 skipped).    ..  ************
 296    2017-03-28 05:06    31  ************
 297    2017-03-28 05:07    30  ***********
 298    2017-03-28 05:08    31  ************
 ...    ..( 31 skipped).    ..  ************
 330    2017-03-28 05:40    31  ************
 331    2017-03-28 05:41    32  *************
 332    2017-03-28 05:42    31  ************
 ...    ..(  7 skipped).    ..  ************
 340    2017-03-28 05:50    31  ************
 341    2017-03-28 05:51    32  *************
 342    2017-03-28 05:52    31  ************
 343    2017-03-28 05:53    31  ************
 344    2017-03-28 05:54    32  *************
 345    2017-03-28 05:55    32  *************
 346    2017-03-28 05:56    31  ************
 347    2017-03-28 05:57    31  ************
 348    2017-03-28 05:58    31  ************
 349    2017-03-28 05:59    32  *************
 ...    ..( 20 skipped).    ..  *************
 370    2017-03-28 06:20    32  *************
 371    2017-03-28 06:21    33  **************
 372    2017-03-28 06:22    32  *************
 ...    ..(  2 skipped).    ..  *************
 375    2017-03-28 06:25    32  *************
 376    2017-03-28 06:26    33  **************
 ...    ..(  4 skipped).    ..  **************
 381    2017-03-28 06:31    33  **************
 382    2017-03-28 06:32    34  ***************
 383    2017-03-28 06:33    34  ***************
 384    2017-03-28 06:34    34  ***************
 385    2017-03-28 06:35    33  **************
 386    2017-03-28 06:36    34  ***************
 387    2017-03-28 06:37    33  **************
 388    2017-03-28 06:38    33  **************
 389    2017-03-28 06:39    33  **************
 390    2017-03-28 06:40    34  ***************
 391    2017-03-28 06:41    35  ****************
 392    2017-03-28 06:42    34  ***************
 393    2017-03-28 06:43    35  ****************
 394    2017-03-28 06:44    35  ****************
 395    2017-03-28 06:45    35  ****************
 396    2017-03-28 06:46    36  *****************
 ...    ..( 11 skipped).    ..  *****************
 408    2017-03-28 06:58    36  *****************
 409    2017-03-28 06:59    37  ******************
 410    2017-03-28 07:00    36  *****************
 411    2017-03-28 07:01    36  *****************
 412    2017-03-28 07:02    37  ******************
 413    2017-03-28 07:03    36  *****************
 414    2017-03-28 07:04    37  ******************
 ...    ..(  6 skipped).    ..  ******************
 421    2017-03-28 07:11    37  ******************
 422    2017-03-28 07:12    38  *******************
 ...    ..(  6 skipped).    ..  *******************
 429    2017-03-28 07:19    38  *******************
 430    2017-03-28 07:20    39  ********************
 ...    ..(  6 skipped).    ..  ********************
 437    2017-03-28 07:27    39  ********************
 438    2017-03-28 07:28    40  *********************
 ...    ..(  5 skipped).    ..  *********************
 444    2017-03-28 07:34    40  *********************
 445    2017-03-28 07:35    41  **********************
 446    2017-03-28 07:36    40  *********************
 ...    ..( 11 skipped).    ..  *********************
 458    2017-03-28 07:48    40  *********************
 459    2017-03-28 07:49    41  **********************
 ...    ..( 21 skipped).    ..  **********************
   3    2017-03-28 08:11    41  **********************
   4    2017-03-28 08:12    42  ***********************
   5    2017-03-28 08:13    41  **********************
 ...    ..( 25 skipped).    ..  **********************
  31    2017-03-28 08:39    41  **********************
  32    2017-03-28 08:40    42  ***********************
 ...    ..( 17 skipped).    ..  ***********************
  50    2017-03-28 08:58    42  ***********************
  51    2017-03-28 08:59    43  ************************
  52    2017-03-28 09:00    43  ************************
  53    2017-03-28 09:01    40  *********************
 ...    ..( 13 skipped).    ..  *********************
  67    2017-03-28 09:15    40  *********************
  68    2017-03-28 09:16    41  **********************
  69    2017-03-28 09:17    40  *********************
 ...    ..(  2 skipped).    ..  *********************
  72    2017-03-28 09:20    40  *********************
  73    2017-03-28 09:21    41  **********************
  74    2017-03-28 09:22    40  *********************
 ...    ..(  2 skipped).    ..  *********************
  77    2017-03-28 09:25    40  *********************
  78    2017-03-28 09:26    41  **********************
  79    2017-03-28 09:27    40  *********************
  80    2017-03-28 09:28    40  *********************
  81    2017-03-28 09:29    40  *********************
  82    2017-03-28 09:30    41  **********************
  83    2017-03-28 09:31    40  *********************
 ...    ..( 26 skipped).    ..  *********************
 110    2017-03-28 09:58    40  *********************
 111    2017-03-28 09:59    39  ********************
 112    2017-03-28 10:00    39  ********************
 113    2017-03-28 10:01    40  *********************
 114    2017-03-28 10:02    40  *********************
 115    2017-03-28 10:03    40  *********************
 116    2017-03-28 10:04    39  ********************
 117    2017-03-28 10:05    39  ********************
 118    2017-03-28 10:06    39  ********************
 119    2017-03-28 10:07    40  *********************
 ...    ..(  3 skipped).    ..  *********************
 123    2017-03-28 10:11    40  *********************
 124    2017-03-28 10:12    39  ********************
 125    2017-03-28 10:13    39  ********************
 126    2017-03-28 10:14    38  *******************
 ...    ..(  3 skipped).    ..  *******************
 130    2017-03-28 10:18    38  *******************
 131    2017-03-28 10:19    37  ******************
 ...    ..(  2 skipped).    ..  ******************
 134    2017-03-28 10:22    37  ******************
 135    2017-03-28 10:23    36  *****************
 ...    ..( 14 skipped).    ..  *****************
 150    2017-03-28 10:38    36  *****************
 151    2017-03-28 10:39    35  ****************
 ...    ..(  5 skipped).    ..  ****************
 157    2017-03-28 10:45    35  ****************
 158    2017-03-28 10:46    34  ***************
 159    2017-03-28 10:47    34  ***************
 160    2017-03-28 10:48    35  ****************
 161    2017-03-28 10:49    35  ****************
 162    2017-03-28 10:50    35  ****************
 163    2017-03-28 10:51    34  ***************
 ...    ..(  9 skipped).    ..  ***************
 173    2017-03-28 11:01    34  ***************
 174    2017-03-28 11:02    33  **************
 175    2017-03-28 11:03    34  ***************
 176    2017-03-28 11:04    34  ***************
 177    2017-03-28 11:05    34  ***************
 178    2017-03-28 11:06    33  **************
 ...    ..( 34 skipped).    ..  **************
 213    2017-03-28 11:41    33  **************
 214    2017-03-28 11:42    32  *************
 ...    ..(  8 skipped).    ..  *************
 223    2017-03-28 11:51    32  *************
 224    2017-03-28 11:52    31  ************
 225    2017-03-28 11:53    31  ************
 226    2017-03-28 11:54    32  *************
 227    2017-03-28 11:55    32  *************
 228    2017-03-28 11:56    32  *************
 229    2017-03-28 11:57    31  ************
 230    2017-03-28 11:58    31  ************
 231    2017-03-28 11:59    32  *************
 ...    ..( 26 skipped).    ..  *************
 258    2017-03-28 12:26    32  *************

SCT Error Recovery Control command not supported

Device Statistics (GP/SMART Log 0x04) not supported

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x000a  2           40  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x8000  4      1038032  Vendor specific

pem@Serveur1:~$ sudo smartctl -x /dev/sdc
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-70-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD20EFRX-68EUZN0
Serial Number:    WD-WCC4M6JVEC2Z
LU WWN Device Id: 5 0014ee 20dcbc7a2
Firmware Version: 82.00A82
User Capacity:    2 000 398 934 016 bytes [2,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Tue Mar 28 12:26:06 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: 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: 		(25680) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 260) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x703d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0
  3 Spin_Up_Time            POS--K   172   172   021    -    4366
  4 Start_Stop_Count        -O--CK   100   100   000    -    15
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
  9 Power_On_Hours          -O--CK   096   096   000    -    3349
 10 Spin_Retry_Count        -O--CK   100   253   000    -    0
 11 Calibration_Retry_Count -O--CK   100   253   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    15
192 Power-Off_Retract_Count -O--CK   200   200   000    -    7
193 Load_Cycle_Count        -O--CK   200   200   000    -    2493
194 Temperature_Celsius     -O---K   111   092   000    -    36
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--CK   200   200   000    -    0
198 Offline_Uncorrectable   ----CK   100   253   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   ---R--   100   253   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      6  Ext. Comprehensive SMART error log
0x04       GPL,SL  R/O      8  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x0c       GPL     R/O   2048  Pending Defects log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x21       GPL     R/O      1  Write stream error log
0x22       GPL     R/O      1  Read stream error log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb7  GPL,SL  VS       1  Device vendor specific log
0xbd       GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.

SCT Status Version:                  3
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    36 Celsius
Power Cycle Min/Max Temperature:     24/41 Celsius
Lifetime    Min/Max Temperature:      2/55 Celsius
Under/Over Temperature Limit Count:   0/0
Vendor specific:
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (474)

Index    Estimated Time   Temperature Celsius
 475    2017-03-28 04:29    29  **********
 476    2017-03-28 04:30    29  **********
 477    2017-03-28 04:31    29  **********
   0    2017-03-28 04:32    30  ***********
 ...    ..(  7 skipped).    ..  ***********
   8    2017-03-28 04:40    30  ***********
   9    2017-03-28 04:41    31  ************
 ...    ..( 22 skipped).    ..  ************
  32    2017-03-28 05:04    31  ************
  33    2017-03-28 05:05    32  *************
 ...    ..( 14 skipped).    ..  *************
  48    2017-03-28 05:20    32  *************
  49    2017-03-28 05:21    33  **************
 ...    ..( 15 skipped).    ..  **************
  65    2017-03-28 05:37    33  **************
  66    2017-03-28 05:38    34  ***************
 ...    ..( 14 skipped).    ..  ***************
  81    2017-03-28 05:53    34  ***************
  82    2017-03-28 05:54    35  ****************
 ...    ..( 38 skipped).    ..  ****************
 121    2017-03-28 06:33    35  ****************
 122    2017-03-28 06:34    36  *****************
 ...    ..( 23 skipped).    ..  *****************
 146    2017-03-28 06:58    36  *****************
 147    2017-03-28 06:59    30  ***********
 148    2017-03-28 07:00    31  ************
 ...    ..( 29 skipped).    ..  ************
 178    2017-03-28 07:30    31  ************
 179    2017-03-28 07:31    30  ***********
 ...    ..( 28 skipped).    ..  ***********
 208    2017-03-28 08:00    30  ***********
 209    2017-03-28 08:01    31  ************
 ...    ..(  3 skipped).    ..  ************
 213    2017-03-28 08:05    31  ************
 214    2017-03-28 08:06    30  ***********
 ...    ..( 18 skipped).    ..  ***********
 233    2017-03-28 08:25    30  ***********
 234    2017-03-28 08:26    29  **********
 ...    ..( 53 skipped).    ..  **********
 288    2017-03-28 09:20    29  **********
 289    2017-03-28 09:21    28  *********
 ...    ..(177 skipped).    ..  *********
 467    2017-03-28 12:19    28  *********
 468    2017-03-28 12:20    29  **********
 ...    ..(  5 skipped).    ..  **********
 474    2017-03-28 12:26    29  **********

SCT Error Recovery Control:
           Read:     70 (7,0 seconds)
          Write:     70 (7,0 seconds)

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 2) ==
0x01  0x008  4              15  ---  Lifetime Power-On Resets
0x01  0x010  4            3349  ---  Power-on Hours
0x01  0x018  6      4160473959  ---  Logical Sectors Written
0x01  0x020  6         6909766  ---  Number of Write Commands
0x01  0x028  6      5402683043  ---  Logical Sectors Read
0x01  0x030  6         9054929  ---  Number of Read Commands
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4            3267  ---  Spindle Motor Power-on Hours
0x03  0x010  4            1846  ---  Head Flying Hours
0x03  0x018  4            2501  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4               0  ---  Read Recovery Attempts
0x03  0x030  4               0  ---  Number of Mechanical Start Failures
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4               1  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              35  ---  Current Temperature
0x05  0x010  1              32  ---  Average Short Term Temperature
0x05  0x018  1              36  ---  Average Long Term Temperature
0x05  0x020  1              54  ---  Highest Temperature
0x05  0x028  1              18  ---  Lowest Temperature
0x05  0x030  1              52  ---  Highest Average Short Term Temperature
0x05  0x038  1              22  ---  Lowest Average Short Term Temperature
0x05  0x040  1              43  ---  Highest Average Long Term Temperature
0x05  0x048  1              36  ---  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              60  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               0  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4             294  ---  Number of Hardware Resets
0x06  0x010  4            1730  ---  Number of ASR Events
0x06  0x018  4               0  ---  Number of Interface CRC Errors
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x0008  2            0  Device-to-host non-data FIS retries
0x0009  2           51  Transition from drive PhyRdy to drive PhyNRdy
0x000a  2           51  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x000f  2            0  R_ERR response for host-to-device data FIS, CRC
0x0012  2            0  R_ERR response for host-to-device non-data FIS, CRC
0x8000  4      1038019  Vendor specific

pem@Serveur1:~$ sudo smartctl -x /dev/sdd
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-70-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD20EFRX-68EUZN0
Serial Number:    WD-WCC4M6TF9EF5
LU WWN Device Id: 5 0014ee 263210163
Firmware Version: 82.00A82
User Capacity:    2 000 398 934 016 bytes [2,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Tue Mar 28 12:26:09 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: 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: 		(27240) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 275) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x703d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0
  3 Spin_Up_Time            POS--K   100   253   021    -    0
  4 Start_Stop_Count        -O--CK   100   100   000    -    2
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
  9 Power_On_Hours          -O--CK   100   100   000    -    381
 10 Spin_Retry_Count        -O--CK   100   253   000    -    0
 11 Calibration_Retry_Count -O--CK   100   253   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    2
192 Power-Off_Retract_Count -O--CK   200   200   000    -    0
193 Load_Cycle_Count        -O--CK   200   200   000    -    365
194 Temperature_Celsius     -O---K   103   096   000    -    44
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--CK   200   200   000    -    0
198 Offline_Uncorrectable   ----CK   100   253   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   ---R--   100   253   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      6  Ext. Comprehensive SMART error log
0x04       GPL,SL  R/O      8  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x0c       GPL     R/O   2048  Pending Defects log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x21       GPL     R/O      1  Write stream error log
0x22       GPL     R/O      1  Read stream error log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb7  GPL,SL  VS       1  Device vendor specific log
0xbd       GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%       380         -

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.

SCT Status Version:                  3
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    44 Celsius
Power Cycle Min/Max Temperature:     29/52 Celsius
Lifetime    Min/Max Temperature:     14/52 Celsius
Under/Over Temperature Limit Count:   0/0
Vendor specific:
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (385)

Index    Estimated Time   Temperature Celsius
 386    2017-03-28 04:29    39  ********************
 ...    ..( 31 skipped).    ..  ********************
 418    2017-03-28 05:01    39  ********************
 419    2017-03-28 05:02    38  *******************
 ...    ..( 14 skipped).    ..  *******************
 434    2017-03-28 05:17    38  *******************
 435    2017-03-28 05:18    39  ********************
 436    2017-03-28 05:19    38  *******************
 ...    ..(  2 skipped).    ..  *******************
 439    2017-03-28 05:22    38  *******************
 440    2017-03-28 05:23    39  ********************
 ...    ..( 18 skipped).    ..  ********************
 459    2017-03-28 05:42    39  ********************
 460    2017-03-28 05:43    38  *******************
 ...    ..( 12 skipped).    ..  *******************
 473    2017-03-28 05:56    38  *******************
 474    2017-03-28 05:57    37  ******************
 ...    ..( 44 skipped).    ..  ******************
  41    2017-03-28 06:42    37  ******************
  42    2017-03-28 06:43    36  *****************
 ...    ..( 25 skipped).    ..  *****************
  68    2017-03-28 07:09    36  *****************
  69    2017-03-28 07:10    35  ****************
 ...    ..( 12 skipped).    ..  ****************
  82    2017-03-28 07:23    35  ****************
  83    2017-03-28 07:24    36  *****************
 ...    ..( 29 skipped).    ..  *****************
 113    2017-03-28 07:54    36  *****************
 114    2017-03-28 07:55    35  ****************
 ...    ..( 15 skipped).    ..  ****************
 130    2017-03-28 08:11    35  ****************
 131    2017-03-28 08:12    34  ***************
 ...    ..(  4 skipped).    ..  ***************
 136    2017-03-28 08:17    34  ***************
 137    2017-03-28 08:18    35  ****************
 ...    ..( 48 skipped).    ..  ****************
 186    2017-03-28 09:07    35  ****************
 187    2017-03-28 09:08    34  ***************
 ...    ..(  8 skipped).    ..  ***************
 196    2017-03-28 09:17    34  ***************
 197    2017-03-28 09:18    35  ****************
 ...    ..(  9 skipped).    ..  ****************
 207    2017-03-28 09:28    35  ****************
 208    2017-03-28 09:29    36  *****************
 ...    ..( 13 skipped).    ..  *****************
 222    2017-03-28 09:43    36  *****************
 223    2017-03-28 09:44    35  ****************
 ...    ..(  4 skipped).    ..  ****************
 228    2017-03-28 09:49    35  ****************
 229    2017-03-28 09:50    36  *****************
 ...    ..( 15 skipped).    ..  *****************
 245    2017-03-28 10:06    36  *****************
 246    2017-03-28 10:07    37  ******************
 ...    ..(  3 skipped).    ..  ******************
 250    2017-03-28 10:11    37  ******************
 251    2017-03-28 10:12    38  *******************
 ...    ..(  8 skipped).    ..  *******************
 260    2017-03-28 10:21    38  *******************
 261    2017-03-28 10:22    39  ********************
 ...    ..( 13 skipped).    ..  ********************
 275    2017-03-28 10:36    39  ********************
 276    2017-03-28 10:37    40  *********************
 ...    ..( 11 skipped).    ..  *********************
 288    2017-03-28 10:49    40  *********************
 289    2017-03-28 10:50    41  **********************
 ...    ..( 29 skipped).    ..  **********************
 319    2017-03-28 11:20    41  **********************
 320    2017-03-28 11:21    42  ***********************
 ...    ..( 38 skipped).    ..  ***********************
 359    2017-03-28 12:00    42  ***********************
 360    2017-03-28 12:01    43  ************************
 ...    ..( 17 skipped).    ..  ************************
 378    2017-03-28 12:19    43  ************************
 379    2017-03-28 12:20    44  *************************
 ...    ..(  5 skipped).    ..  *************************
 385    2017-03-28 12:26    44  *************************

SCT Error Recovery Control:
           Read:     70 (7,0 seconds)
          Write:     70 (7,0 seconds)

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 2) ==
0x01  0x008  4               2  ---  Lifetime Power-On Resets
0x01  0x010  4             381  ---  Power-on Hours
0x01  0x018  6       520398581  ---  Logical Sectors Written
0x01  0x020  6         1061175  ---  Number of Write Commands
0x01  0x028  6      3938889751  ---  Logical Sectors Read
0x01  0x030  6         3936972  ---  Number of Read Commands
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4             376  ---  Spindle Motor Power-on Hours
0x03  0x010  4             212  ---  Head Flying Hours
0x03  0x018  4             365  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4               0  ---  Read Recovery Attempts
0x03  0x030  4               0  ---  Number of Mechanical Start Failures
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4               0  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              43  ---  Current Temperature
0x05  0x010  1              39  ---  Average Short Term Temperature
0x05  0x018  1               -  ---  Average Long Term Temperature
0x05  0x020  1              51  ---  Highest Temperature
0x05  0x028  1              21  ---  Lowest Temperature
0x05  0x030  1              41  ---  Highest Average Short Term Temperature
0x05  0x038  1              33  ---  Lowest Average Short Term Temperature
0x05  0x040  1               -  ---  Highest Average Long Term Temperature
0x05  0x048  1               -  ---  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              60  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               0  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4              54  ---  Number of Hardware Resets
0x06  0x010  4              79  ---  Number of ASR Events
0x06  0x018  4               0  ---  Number of Interface CRC Errors
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x0008  2            0  Device-to-host non-data FIS retries
0x0009  2           50  Transition from drive PhyRdy to drive PhyNRdy
0x000a  2           51  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x000f  2            0  R_ERR response for host-to-device data FIS, CRC
0x0012  2            0  R_ERR response for host-to-device non-data FIS, CRC
0x8000  4      1037997  Vendor specific

pem@Serveur1:~$ sudo smartctl -x /dev/sde
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-70-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Maxtor DiamondMax 10 (ATA/133 and SATA/150)
Device Model:     Maxtor 6L160P0
Serial Number:    L30SHRCH
Firmware Version: BAJ41G10
User Capacity:    160 041 885 696 bytes [160 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7 T13/1532D revision 0
Local Time is:    Tue Mar 28 12:26:11 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM level is:     254 (maximum performance), recommended: 192
APM level is:     254 (maximum performance)
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: Unavailable

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
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: 		( 1202) seconds.
Offline data collection
capabilities: 			 (0x5b) 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.
					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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  61) minutes.
SCT capabilities: 	       (0x0021)	SCT Status supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  3 Spin_Up_Time            POS--K   207   207   063    -    15626
  4 Start_Stop_Count        -O--CK   253   253   000    -    633
  5 Reallocated_Sector_Ct   PO--CK   253   253   063    -    0
  6 Read_Channel_Margin     P-----   253   253   100    -    0
  7 Seek_Error_Rate         -O-R--   253   252   000    -    0
  8 Seek_Time_Performance   POS--K   245   233   187    -    43498
  9 Power_On_Minutes        -O--CK   132   132   000    -    585h+56m
 10 Spin_Retry_Count        PO-R-K   253   252   157    -    0
 11 Calibration_Retry_Count PO-R-K   253   252   223    -    0
 12 Power_Cycle_Count       -O--CK   251   251   000    -    810
192 Power-Off_Retract_Count -O--CK   253   253   000    -    0
193 Load_Cycle_Count        -O--CK   253   253   000    -    0
194 Temperature_Celsius     -O--CK   043   253   000    -    44
195 Hardware_ECC_Recovered  -O-R--   253   252   000    -    13973
196 Reallocated_Event_Count ---R--   253   253   000    -    0
197 Current_Pending_Sector  ---R--   253   253   000    -    0
198 Offline_Uncorrectable   ---R--   253   253   000    -    0
199 UDMA_CRC_Error_Count    ---R--   001   001   000    -    1825
200 Multi_Zone_Error_Rate   -O-R--   253   252   000    -    0
201 Soft_Read_Error_Rate    -O-R--   253   252   000    -    0
202 Data_Address_Mark_Errs  -O-R--   253   252   000    -    0
203 Run_Out_Cancel          PO-R--   253   252   180    -    0
204 Soft_ECC_Correction     -O-R--   253   252   000    -    0
205 Thermal_Asperity_Rate   -O-R--   253   252   000    -    0
207 Spin_High_Current       -O-R-K   253   252   000    -    0
208 Spin_Buzz               -O-R-K   253   252   000    -    0
209 Offline_Seek_Performnce --S--K   234   234   000    -    232
210 Unknown_Attribute       -O--CK   253   252   000    -    0
211 Unknown_Attribute       -O--CK   253   252   000    -    0
212 Unknown_Attribute       -O--CK   253   252   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01       GPL,SL  R/O      1  Summary SMART error log
0x02       GPL,SL  R/O      1  Comprehensive SMART error log
0x03       GPL,SL  R/O      4  Ext. Comprehensive SMART error log
0x06       GPL,SL  R/O      1  SMART self-test log
0x09       GPL,SL  R/W      1  Selective self-test log
0x10       GPL,SL  R/O      1  SATA NCQ Queued Error log
0x20       GPL,SL  R/O      1  Streaming performance log [OBS-8]
0x21       GPL,SL  R/O      1  Write stream error log
0x22       GPL,SL  R/O      1  Read stream error log

SMART Extended Comprehensive Error Log Version: 1 (4 sectors)
No Errors Logged

SMART Extended Self-test Log (GP Log 0x07) not supported

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.

SCT Status Version:                  2
SCT Version (vendor specific):       1 (0x0001)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                 44 Celsius
Power Cycle Max Temperature:         49 Celsius
Lifetime    Max Temperature:         65 Celsius

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:            0/71 Celsius
Temperature History Size (Index):    478 (477)

Index    Estimated Time   Temperature Celsius
   0    2017-03-28 04:29    40  *********************
 ...    ..( 65 skipped).    ..  *********************
  66    2017-03-28 05:35    40  *********************
  67    2017-03-28 05:36    39  ********************
  68    2017-03-28 05:37    40  *********************
  69    2017-03-28 05:38    39  ********************
  70    2017-03-28 05:39    40  *********************
  71    2017-03-28 05:40    39  ********************
 ...    ..( 66 skipped).    ..  ********************
 138    2017-03-28 06:47    39  ********************
 139    2017-03-28 06:48    38  *******************
 140    2017-03-28 06:49    39  ********************
 ...    ..(  7 skipped).    ..  ********************
 148    2017-03-28 06:57    39  ********************
 149    2017-03-28 06:58    38  *******************
 150    2017-03-28 06:59    39  ********************
 151    2017-03-28 07:00    39  ********************
 152    2017-03-28 07:01    38  *******************
 153    2017-03-28 07:02    39  ********************
 154    2017-03-28 07:03    38  *******************
 ...    ..(131 skipped).    ..  *******************
 286    2017-03-28 09:15    38  *******************
 287    2017-03-28 09:16    39  ********************
 288    2017-03-28 09:17    38  *******************
 289    2017-03-28 09:18    39  ********************
 290    2017-03-28 09:19    38  *******************
 291    2017-03-28 09:20    39  ********************
 292    2017-03-28 09:21    38  *******************
 293    2017-03-28 09:22    39  ********************
 ...    ..( 24 skipped).    ..  ********************
 318    2017-03-28 09:47    39  ********************
 319    2017-03-28 09:48    40  *********************
 320    2017-03-28 09:49    39  ********************
 ...    ..(  3 skipped).    ..  ********************
 324    2017-03-28 09:53    39  ********************
 325    2017-03-28 09:54    40  *********************
 326    2017-03-28 09:55    39  ********************
 327    2017-03-28 09:56    40  *********************
 ...    ..( 14 skipped).    ..  *********************
 342    2017-03-28 10:11    40  *********************
 343    2017-03-28 10:12    41  **********************
 ...    ..( 38 skipped).    ..  **********************
 382    2017-03-28 10:51    41  **********************
 383    2017-03-28 10:52    42  ***********************
 ...    ..( 21 skipped).    ..  ***********************
 405    2017-03-28 11:14    42  ***********************
 406    2017-03-28 11:15    43  ************************
 ...    ..( 55 skipped).    ..  ************************
 462    2017-03-28 12:11    43  ************************
 463    2017-03-28 12:12    44  *************************
 464    2017-03-28 12:13    44  *************************
 465    2017-03-28 12:14    43  ************************
 466    2017-03-28 12:15    43  ************************
 467    2017-03-28 12:16    44  *************************
 ...    ..(  9 skipped).    ..  *************************
 477    2017-03-28 12:26    44  *************************

SCT Error Recovery Control command not supported

Device Statistics (GP/SMART Log 0x04) not supported

SATA Phy Event Counters (GP Log 0x11) not supported

pem@Serveur1:~$ sudo smartctl -x /dev/sdf
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-70-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Red
Device Model:     WDC WD20EFRX-68EUZN0
Serial Number:    WD-WCC4M6JVE6ZH
LU WWN Device Id: 5 0014ee 2b876baed
Firmware Version: 82.00A82
User Capacity:    2 000 398 934 016 bytes [2,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Tue Mar 28 12:26:19 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: 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: 		(26280) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 266) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x703d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0
  3 Spin_Up_Time            POS--K   173   172   021    -    4333
  4 Start_Stop_Count        -O--CK   100   100   000    -    9
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
  9 Power_On_Hours          -O--CK   100   100   000    -    400
 10 Spin_Retry_Count        -O--CK   100   253   000    -    0
 11 Calibration_Retry_Count -O--CK   100   253   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    9
192 Power-Off_Retract_Count -O--CK   200   200   000    -    4
193 Load_Cycle_Count        -O--CK   200   200   000    -    455
194 Temperature_Celsius     -O---K   104   095   000    -    43
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--CK   200   200   000    -    0
198 Offline_Uncorrectable   ----CK   100   253   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   ---R--   100   253   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      6  Ext. Comprehensive SMART error log
0x04       GPL,SL  R/O      8  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x0c       GPL     R/O   2048  Pending Defects log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x21       GPL     R/O      1  Write stream error log
0x22       GPL     R/O      1  Read stream error log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb7  GPL,SL  VS       1  Device vendor specific log
0xbd       GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.

SCT Status Version:                  3
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    43 Celsius
Power Cycle Min/Max Temperature:     24/52 Celsius
Lifetime    Min/Max Temperature:     18/52 Celsius
Under/Over Temperature Limit Count:   0/0
Vendor specific:
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (83)

Index    Estimated Time   Temperature Celsius
  84    2017-03-28 04:29    41  **********************
 ...    ..( 19 skipped).    ..  **********************
 104    2017-03-28 04:49    41  **********************
 105    2017-03-28 04:50    40  *********************
 ...    ..( 22 skipped).    ..  *********************
 128    2017-03-28 05:13    40  *********************
 129    2017-03-28 05:14    39  ********************
 ...    ..(  3 skipped).    ..  ********************
 133    2017-03-28 05:18    39  ********************
 134    2017-03-28 05:19    40  *********************
 ...    ..( 25 skipped).    ..  *********************
 160    2017-03-28 05:45    40  *********************
 161    2017-03-28 05:46    39  ********************
 ...    ..( 21 skipped).    ..  ********************
 183    2017-03-28 06:08    39  ********************
 184    2017-03-28 06:09    38  *******************
 ...    ..( 14 skipped).    ..  *******************
 199    2017-03-28 06:24    38  *******************
 200    2017-03-28 06:25    39  ********************
 201    2017-03-28 06:26    39  ********************
 202    2017-03-28 06:27    38  *******************
 ...    ..( 20 skipped).    ..  *******************
 223    2017-03-28 06:48    38  *******************
 224    2017-03-28 06:49    37  ******************
 ...    ..( 80 skipped).    ..  ******************
 305    2017-03-28 08:10    37  ******************
 306    2017-03-28 08:11    36  *****************
 ...    ..( 66 skipped).    ..  *****************
 373    2017-03-28 09:18    36  *****************
 374    2017-03-28 09:19    37  ******************
 ...    ..( 46 skipped).    ..  ******************
 421    2017-03-28 10:06    37  ******************
 422    2017-03-28 10:07    38  *******************
 ...    ..(  4 skipped).    ..  *******************
 427    2017-03-28 10:12    38  *******************
 428    2017-03-28 10:13    39  ********************
 ...    ..(  8 skipped).    ..  ********************
 437    2017-03-28 10:22    39  ********************
 438    2017-03-28 10:23    40  *********************
 ...    ..( 17 skipped).    ..  *********************
 456    2017-03-28 10:41    40  *********************
 457    2017-03-28 10:42    41  **********************
 ...    ..( 30 skipped).    ..  **********************
  10    2017-03-28 11:13    41  **********************
  11    2017-03-28 11:14    42  ***********************
 ...    ..( 26 skipped).    ..  ***********************
  38    2017-03-28 11:41    42  ***********************
  39    2017-03-28 11:42    43  ************************
 ...    ..( 43 skipped).    ..  ************************
  83    2017-03-28 12:26    43  ************************

SCT Error Recovery Control:
           Read:     70 (7,0 seconds)
          Write:     70 (7,0 seconds)

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 2) ==
0x01  0x008  4               9  ---  Lifetime Power-On Resets
0x01  0x010  4             400  ---  Power-on Hours
0x01  0x018  6      8083982900  ---  Logical Sectors Written
0x01  0x020  6        11079922  ---  Number of Write Commands
0x01  0x028  6        30862644  ---  Logical Sectors Read
0x01  0x030  6          268242  ---  Number of Read Commands
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4             396  ---  Spindle Motor Power-on Hours
0x03  0x010  4             160  ---  Head Flying Hours
0x03  0x018  4             460  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4               0  ---  Read Recovery Attempts
0x03  0x030  4               0  ---  Number of Mechanical Start Failures
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4               0  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              42  ---  Current Temperature
0x05  0x010  1              40  ---  Average Short Term Temperature
0x05  0x018  1               -  ---  Average Long Term Temperature
0x05  0x020  1              51  ---  Highest Temperature
0x05  0x028  1              18  ---  Lowest Temperature
0x05  0x030  1              41  ---  Highest Average Short Term Temperature
0x05  0x038  1              20  ---  Lowest Average Short Term Temperature
0x05  0x040  1               -  ---  Highest Average Long Term Temperature
0x05  0x048  1               -  ---  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              60  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               0  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4              72  ---  Number of Hardware Resets
0x06  0x010  4             329  ---  Number of ASR Events
0x06  0x018  4               0  ---  Number of Interface CRC Errors
                                |||_ C monitored condition met
                                ||__ D supports DSN
                                |___ N normalized value

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x0008  2            0  Device-to-host non-data FIS retries
0x0009  2           25  Transition from drive PhyRdy to drive PhyNRdy
0x000a  2           25  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x000f  2            0  R_ERR response for host-to-device data FIS, CRC
0x0012  2            0  R_ERR response for host-to-device non-data FIS, CRC
0x8000  4      1038044  Vendor specific

pem@Serveur1:~$ sudo smartctl -x /dev/sdg
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-70-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (AF)
Device Model:     WDC WD20EARS-00J2GB0
Serial Number:    WD-WCAYY0028606
LU WWN Device Id: 5 0014ee 2045d3744
Firmware Version: 80.00A80
User Capacity:    2 000 398 934 016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Tue Mar 28 12:26:22 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Disabled
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, frozen [SEC2]
Wt Cache Reorder: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
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: 		(38760) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 442) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3031)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0
  3 Spin_Up_Time            POS--K   158   152   021    -    9066
  4 Start_Stop_Count        -O--CK   100   100   000    -    251
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -OSR-K   100   253   000    -    0
  9 Power_On_Hours          -O--CK   077   077   000    -    17221
 10 Spin_Retry_Count        -O--CK   100   100   000    -    0
 11 Calibration_Retry_Count -O--CK   100   100   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    249
192 Power-Off_Retract_Count -O--CK   200   200   000    -    174
193 Load_Cycle_Count        -O--CK   061   061   000    -    417903
194 Temperature_Celsius     -O---K   104   082   000    -    48
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--CK   200   200   000    -    0
198 Offline_Uncorrectable   ----CK   200   200   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   ---R--   200   200   000    -    0
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      6  Ext. Comprehensive SMART error log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb7  GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

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.

SCT Status Version:                  2
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    48 Celsius
Power Cycle Min/Max Temperature:     35/56 Celsius
Lifetime    Min/Max Temperature:     44/70 Celsius
Under/Over Temperature Limit Count:   0/0

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (236)

Index    Estimated Time   Temperature Celsius
 237    2017-03-28 04:29    39  ********************
 ...    ..( 33 skipped).    ..  ********************
 271    2017-03-28 05:03    39  ********************
 272    2017-03-28 05:04    38  *******************
 273    2017-03-28 05:05    39  ********************
 ...    ..(  9 skipped).    ..  ********************
 283    2017-03-28 05:15    39  ********************
 284    2017-03-28 05:16    38  *******************
 285    2017-03-28 05:17    38  *******************
 286    2017-03-28 05:18    39  ********************
 ...    ..(  4 skipped).    ..  ********************
 291    2017-03-28 05:23    39  ********************
 292    2017-03-28 05:24    38  *******************
 293    2017-03-28 05:25    39  ********************
 294    2017-03-28 05:26    38  *******************
 295    2017-03-28 05:27    38  *******************
 296    2017-03-28 05:28    39  ********************
 ...    ..( 12 skipped).    ..  ********************
 309    2017-03-28 05:41    39  ********************
 310    2017-03-28 05:42    38  *******************
 311    2017-03-28 05:43    39  ********************
 ...    ..(  5 skipped).    ..  ********************
 317    2017-03-28 05:49    39  ********************
 318    2017-03-28 05:50    38  *******************
 319    2017-03-28 05:51    38  *******************
 320    2017-03-28 05:52    39  ********************
 321    2017-03-28 05:53    38  *******************
 322    2017-03-28 05:54    38  *******************
 323    2017-03-28 05:55    38  *******************
 324    2017-03-28 05:56    39  ********************
 325    2017-03-28 05:57    39  ********************
 326    2017-03-28 05:58    38  *******************
 327    2017-03-28 05:59    39  ********************
 328    2017-03-28 06:00    39  ********************
 329    2017-03-28 06:01    39  ********************
 330    2017-03-28 06:02    38  *******************
 331    2017-03-28 06:03    39  ********************
 ...    ..( 23 skipped).    ..  ********************
 355    2017-03-28 06:27    39  ********************
 356    2017-03-28 06:28    40  *********************
 ...    ..(  2 skipped).    ..  *********************
 359    2017-03-28 06:31    40  *********************
 360    2017-03-28 06:32    41  **********************
 361    2017-03-28 06:33    40  *********************
 362    2017-03-28 06:34    40  *********************
 363    2017-03-28 06:35    40  *********************
 364    2017-03-28 06:36    41  **********************
 365    2017-03-28 06:37    40  *********************
 ...    ..(  2 skipped).    ..  *********************
 368    2017-03-28 06:40    40  *********************
 369    2017-03-28 06:41    41  **********************
 ...    ..(  5 skipped).    ..  **********************
 375    2017-03-28 06:47    41  **********************
 376    2017-03-28 06:48    42  ***********************
 377    2017-03-28 06:49    42  ***********************
 378    2017-03-28 06:50    42  ***********************
 379    2017-03-28 06:51    41  **********************
 380    2017-03-28 06:52    42  ***********************
 ...    ..(  4 skipped).    ..  ***********************
 385    2017-03-28 06:57    42  ***********************
 386    2017-03-28 06:58    43  ************************
 387    2017-03-28 06:59    43  ************************
 388    2017-03-28 07:00    42  ***********************
 389    2017-03-28 07:01    43  ************************
 390    2017-03-28 07:02    42  ***********************
 391    2017-03-28 07:03    43  ************************
 ...    ..(  2 skipped).    ..  ************************
 394    2017-03-28 07:06    43  ************************
 395    2017-03-28 07:07    44  *************************
 396    2017-03-28 07:08    43  ************************
 397    2017-03-28 07:09    44  *************************
 ...    ..(  6 skipped).    ..  *************************
 404    2017-03-28 07:16    44  *************************
 405    2017-03-28 07:17    45  **************************
 406    2017-03-28 07:18    44  *************************
 407    2017-03-28 07:19    44  *************************
 408    2017-03-28 07:20    44  *************************
 409    2017-03-28 07:21    45  **************************
 ...    ..(  5 skipped).    ..  **************************
 415    2017-03-28 07:27    45  **************************
 416    2017-03-28 07:28    46  ***************************
 417    2017-03-28 07:29    45  **************************
 418    2017-03-28 07:30    46  ***************************
 ...    ..( 12 skipped).    ..  ***************************
 431    2017-03-28 07:43    46  ***************************
 432    2017-03-28 07:44    47  ****************************
 ...    ..(  3 skipped).    ..  ****************************
 436    2017-03-28 07:48    47  ****************************
 437    2017-03-28 07:49    46  ***************************
 438    2017-03-28 07:50    47  ****************************
 ...    ..( 17 skipped).    ..  ****************************
 456    2017-03-28 08:08    47  ****************************
 457    2017-03-28 08:09    48  *****************************
 458    2017-03-28 08:10    48  *****************************
 459    2017-03-28 08:11    48  *****************************
 460    2017-03-28 08:12    47  ****************************
 ...    ..(  5 skipped).    ..  ****************************
 466    2017-03-28 08:18    47  ****************************
 467    2017-03-28 08:19    46  ***************************
 ...    ..(  4 skipped).    ..  ***************************
 472    2017-03-28 08:24    46  ***************************
 473    2017-03-28 08:25    47  ****************************
 ...    ..(  8 skipped).    ..  ****************************
   4    2017-03-28 08:34    47  ****************************
   5    2017-03-28 08:35    48  *****************************
   6    2017-03-28 08:36    48  *****************************
   7    2017-03-28 08:37    48  *****************************
   8    2017-03-28 08:38    47  ****************************
   9    2017-03-28 08:39    48  *****************************
 ...    ..( 16 skipped).    ..  *****************************
  26    2017-03-28 08:56    48  *****************************
  27    2017-03-28 08:57    49  ******************************
  28    2017-03-28 08:58    48  *****************************
  29    2017-03-28 08:59    49  ******************************
  30    2017-03-28 09:00    48  *****************************
  31    2017-03-28 09:01    48  *****************************
  32    2017-03-28 09:02    47  ****************************
 ...    ..( 34 skipped).    ..  ****************************
  67    2017-03-28 09:37    47  ****************************
  68    2017-03-28 09:38    46  ***************************
  69    2017-03-28 09:39    47  ****************************
 ...    ..(  6 skipped).    ..  ****************************
  76    2017-03-28 09:46    47  ****************************
  77    2017-03-28 09:47    46  ***************************
  78    2017-03-28 09:48    46  ***************************
  79    2017-03-28 09:49    47  ****************************
  80    2017-03-28 09:50    46  ***************************
 ...    ..(  4 skipped).    ..  ***************************
  85    2017-03-28 09:55    46  ***************************
  86    2017-03-28 09:56    47  ****************************
  87    2017-03-28 09:57    46  ***************************
 ...    ..(  2 skipped).    ..  ***************************
  90    2017-03-28 10:00    46  ***************************
  91    2017-03-28 10:01    47  ****************************
  92    2017-03-28 10:02    46  ***************************
 ...    ..( 30 skipped).    ..  ***************************
 123    2017-03-28 10:33    46  ***************************
 124    2017-03-28 10:34    45  **************************
 125    2017-03-28 10:35    45  **************************
 126    2017-03-28 10:36    46  ***************************
 127    2017-03-28 10:37    46  ***************************
 128    2017-03-28 10:38    45  **************************
 129    2017-03-28 10:39    46  ***************************
 130    2017-03-28 10:40    45  **************************
 131    2017-03-28 10:41    45  **************************
 132    2017-03-28 10:42    45  **************************
 133    2017-03-28 10:43    46  ***************************
 134    2017-03-28 10:44    45  **************************
 ...    ..( 34 skipped).    ..  **************************
 169    2017-03-28 11:19    45  **************************
 170    2017-03-28 11:20    44  *************************
 171    2017-03-28 11:21    44  *************************
 172    2017-03-28 11:22    45  **************************
 ...    ..(  6 skipped).    ..  **************************
 179    2017-03-28 11:29    45  **************************
 180    2017-03-28 11:30    44  *************************
 181    2017-03-28 11:31    44  *************************
 182    2017-03-28 11:32    43  ************************
 ...    ..(  4 skipped).    ..  ************************
 187    2017-03-28 11:37    43  ************************
 188    2017-03-28 11:38    42  ***********************
 ...    ..(  4 skipped).    ..  ***********************
 193    2017-03-28 11:43    42  ***********************
 194    2017-03-28 11:44    41  **********************
 ...    ..( 14 skipped).    ..  **********************
 209    2017-03-28 11:59    41  **********************
 210    2017-03-28 12:00    40  *********************
 ...    ..(  2 skipped).    ..  *********************
 213    2017-03-28 12:03    40  *********************
 214    2017-03-28 12:04    41  **********************
 215    2017-03-28 12:05    40  *********************
 ...    ..( 14 skipped).    ..  *********************
 230    2017-03-28 12:20    40  *********************
 231    2017-03-28 12:21    39  ********************
 ...    ..(  4 skipped).    ..  ********************
 236    2017-03-28 12:26    39  ********************

SCT Error Recovery Control command not supported

Device Statistics (GP/SMART Log 0x04) not supported

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x000a  2           25  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x8000  4      1038013  Vendor specific

pem@Serveur1:~$ sudo smartctl -x /dev/sdh
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-70-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Green
Device Model:     WDC WD20EARX-00PASB0
Serial Number:    WD-WMAZA5280732
LU WWN Device Id: 5 0014ee 002ca250c
Firmware Version: 51.0AB51
User Capacity:    2 000 398 934 016 bytes [2,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 1.5 Gb/s)
Local Time is:    Tue Mar 28 12:26:24 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
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: 		(37680) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 363) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0
  3 Spin_Up_Time            POS--K   169   158   021    -    6541
  4 Start_Stop_Count        -O--CK   100   100   000    -    154
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
  9 Power_On_Hours          -O--CK   084   084   000    -    12110
 10 Spin_Retry_Count        -O--CK   100   100   000    -    0
 11 Calibration_Retry_Count -O--CK   100   100   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    152
192 Power-Off_Retract_Count -O--CK   200   200   000    -    116
193 Load_Cycle_Count        -O--CK   122   122   000    -    235897
194 Temperature_Celsius     -O---K   108   088   000    -    42
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--CK   200   200   000    -    0
198 Offline_Uncorrectable   ----CK   200   200   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   ---R--   200   200   000    -    2
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      6  Ext. Comprehensive SMART error log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb7  GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      2992         -
# 2  Short offline       Completed without error       00%       435         -

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.

SCT Status Version:                  3
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    41 Celsius
Power Cycle Min/Max Temperature:     28/49 Celsius
Lifetime    Min/Max Temperature:     28/62 Celsius
Under/Over Temperature Limit Count:   0/0

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (339)

Index    Estimated Time   Temperature Celsius
 340    2017-03-28 04:29    41  **********************
 ...    ..( 24 skipped).    ..  **********************
 365    2017-03-28 04:54    41  **********************
 366    2017-03-28 04:55    40  *********************
 ...    ..( 26 skipped).    ..  *********************
 393    2017-03-28 05:22    40  *********************
 394    2017-03-28 05:23    41  **********************
 ...    ..( 16 skipped).    ..  **********************
 411    2017-03-28 05:40    41  **********************
 412    2017-03-28 05:41    34  ***************
 413    2017-03-28 05:42    34  ***************
 414    2017-03-28 05:43    35  ****************
 ...    ..(  2 skipped).    ..  ****************
 417    2017-03-28 05:46    35  ****************
 418    2017-03-28 05:47    34  ***************
 419    2017-03-28 05:48    35  ****************
 420    2017-03-28 05:49    34  ***************
 ...    ..(  2 skipped).    ..  ***************
 423    2017-03-28 05:52    34  ***************
 424    2017-03-28 05:53    35  ****************
 425    2017-03-28 05:54    34  ***************
 ...    ..( 12 skipped).    ..  ***************
 438    2017-03-28 06:07    34  ***************
 439    2017-03-28 06:08    35  ****************
 440    2017-03-28 06:09    34  ***************
 ...    ..( 21 skipped).    ..  ***************
 462    2017-03-28 06:31    34  ***************
 463    2017-03-28 06:32    33  **************
 464    2017-03-28 06:33    33  **************
 465    2017-03-28 06:34    34  ***************
 466    2017-03-28 06:35    33  **************
 467    2017-03-28 06:36    33  **************
 468    2017-03-28 06:37    33  **************
 469    2017-03-28 06:38    34  ***************
 470    2017-03-28 06:39    34  ***************
 471    2017-03-28 06:40    33  **************
 ...    ..(  2 skipped).    ..  **************
 474    2017-03-28 06:43    33  **************
 475    2017-03-28 06:44    34  ***************
 476    2017-03-28 06:45    33  **************
 ...    ..(  7 skipped).    ..  **************
   6    2017-03-28 06:53    33  **************
   7    2017-03-28 06:54    34  ***************
   8    2017-03-28 06:55    33  **************
 ...    ..(104 skipped).    ..  **************
 113    2017-03-28 08:40    33  **************
 114    2017-03-28 08:41    32  *************
 115    2017-03-28 08:42    33  **************
 116    2017-03-28 08:43    33  **************
 117    2017-03-28 08:44    33  **************
 118    2017-03-28 08:45    32  *************
 119    2017-03-28 08:46    32  *************
 120    2017-03-28 08:47    33  **************
 121    2017-03-28 08:48    33  **************
 122    2017-03-28 08:49    32  *************
 123    2017-03-28 08:50    32  *************
 124    2017-03-28 08:51    32  *************
 125    2017-03-28 08:52    33  **************
 126    2017-03-28 08:53    32  *************
 ...    ..( 27 skipped).    ..  *************
 154    2017-03-28 09:21    32  *************
 155    2017-03-28 09:22    33  **************
 156    2017-03-28 09:23    32  *************
 ...    ..( 61 skipped).    ..  *************
 218    2017-03-28 10:25    32  *************
 219    2017-03-28 10:26    33  **************
 220    2017-03-28 10:27    32  *************
 ...    ..(  7 skipped).    ..  *************
 228    2017-03-28 10:35    32  *************
 229    2017-03-28 10:36    33  **************
 230    2017-03-28 10:37    32  *************
 ...    ..(  5 skipped).    ..  *************
 236    2017-03-28 10:43    32  *************
 237    2017-03-28 10:44    33  **************
 238    2017-03-28 10:45    32  *************
 239    2017-03-28 10:46    33  **************
 240    2017-03-28 10:47    32  *************
 ...    ..(  7 skipped).    ..  *************
 248    2017-03-28 10:55    32  *************
 249    2017-03-28 10:56    33  **************
 250    2017-03-28 10:57    32  *************
 251    2017-03-28 10:58    32  *************
 252    2017-03-28 10:59    32  *************
 253    2017-03-28 11:00    33  **************
 ...    ..( 15 skipped).    ..  **************
 269    2017-03-28 11:16    33  **************
 270    2017-03-28 11:17    34  ***************
 ...    ..(  4 skipped).    ..  ***************
 275    2017-03-28 11:22    34  ***************
 276    2017-03-28 11:23    35  ****************
 277    2017-03-28 11:24    35  ****************
 278    2017-03-28 11:25    36  *****************
 279    2017-03-28 11:26    36  *****************
 280    2017-03-28 11:27    36  *****************
 281    2017-03-28 11:28    35  ****************
 282    2017-03-28 11:29    36  *****************
 ...    ..( 12 skipped).    ..  *****************
 295    2017-03-28 11:42    36  *****************
 296    2017-03-28 11:43    37  ******************
 ...    ..(  7 skipped).    ..  ******************
 304    2017-03-28 11:51    37  ******************
 305    2017-03-28 11:52    38  *******************
 ...    ..(  6 skipped).    ..  *******************
 312    2017-03-28 11:59    38  *******************
 313    2017-03-28 12:00    39  ********************
 ...    ..(  8 skipped).    ..  ********************
 322    2017-03-28 12:09    39  ********************
 323    2017-03-28 12:10    40  *********************
 ...    ..( 14 skipped).    ..  *********************
 338    2017-03-28 12:25    40  *********************
 339    2017-03-28 12:26    41  **********************

SCT Error Recovery Control command not supported

Device Statistics (GP/SMART Log 0x04) not supported

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x000a  2           25  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x8000  4      1038068  Vendor specific

pem@Serveur1:~$ sudo smartctl -x /dev/sdi
smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-70-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (AF)
Device Model:     WDC WD20EARS-00MVWB0
Serial Number:    WD-WCAZA0693841
LU WWN Device Id: 5 0014ee 2af98f74f
Firmware Version: 51.0AB51
User Capacity:    2 000 398 934 016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Tue Mar 28 12:26:29 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Disabled
APM feature is:   Unavailable
Rd look-ahead is: Enabled
Write cache is:   Enabled
ATA Security is:  Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x84)	Offline data collection activity
					was suspended by an interrupting command from host.
					Auto Offline Data Collection: Enabled.
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: 		(38580) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					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.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 372) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x3035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
  1 Raw_Read_Error_Rate     POSR-K   200   200   051    -    0
  3 Spin_Up_Time            POS--K   253   253   021    -    1016
  4 Start_Stop_Count        -O--CK   100   100   000    -    184
  5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0
  7 Seek_Error_Rate         -OSR-K   200   200   000    -    0
  9 Power_On_Hours          -O--CK   083   083   000    -    12898
 10 Spin_Retry_Count        -O--CK   100   100   000    -    0
 11 Calibration_Retry_Count -O--CK   100   100   000    -    0
 12 Power_Cycle_Count       -O--CK   100   100   000    -    182
192 Power-Off_Retract_Count -O--CK   200   200   000    -    136
193 Load_Cycle_Count        -O--CK   108   108   000    -    276372
194 Temperature_Celsius     -O---K   105   084   000    -    45
196 Reallocated_Event_Count -O--CK   200   200   000    -    0
197 Current_Pending_Sector  -O--CK   200   200   000    -    0
198 Offline_Uncorrectable   ----CK   200   200   000    -    0
199 UDMA_CRC_Error_Count    -O--CK   200   200   000    -    0
200 Multi_Zone_Error_Rate   ---R--   200   197   000    -    4
                            ||||||_ K auto-keep
                            |||||__ C event count
                            ||||___ R error rate
                            |||____ S speed/performance
                            ||_____ O updated online
                            |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      6  Ext. Comprehensive SMART error log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa0-0xa7  GPL,SL  VS      16  Device vendor specific log
0xa8-0xb7  GPL,SL  VS       1  Device vendor specific log
0xc0       GPL,SL  VS       1  Device vendor specific log
0xc1       GPL     VS      93  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
Device Error Count: 6
	CR     = Command Register
	FEATR  = Features Register
	COUNT  = Count (was: Sector Count) Register
	LBA_48 = Upper bytes of LBA High/Mid/Low Registers ]  ATA-8
	LH     = LBA High (was: Cylinder High) Register    ]   LBA
	LM     = LBA Mid (was: Cylinder Low) Register      ] Register
	LL     = LBA Low (was: Sector Number) Register     ]
	DV     = Device (was: Device/Head) Register
	DC     = Device Control Register
	ER     = Error register
	ST     = Status register
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 6 [5] occurred at disk power-on lifetime: 517 hours (21 days + 13 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 08 00 00 15 8d 99 ef e0 00  Error: UNC 8 sectors at LBA = 0x158d99ef = 361601519

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  25 00 00 00 08 00 00 15 8d 99 ef e0 00     00:23:15.510  READ DMA EXT
  27 00 00 00 00 00 00 00 00 00 00 e0 00     00:23:15.510  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 00 00 00 00 00 a0 00     00:23:15.489  IDENTIFY DEVICE
  ef 00 03 00 46 00 00 00 00 00 00 a0 00     00:23:15.489  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 00 00 00 00 00 e0 00     00:23:15.489  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 5 [4] occurred at disk power-on lifetime: 517 hours (21 days + 13 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 08 00 00 15 8d 99 ef e0 00  Error: UNC 8 sectors at LBA = 0x158d99ef = 361601519

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  25 00 00 00 08 00 00 15 8d 99 ef e0 00     00:23:12.812  READ DMA EXT
  27 00 00 00 00 00 00 00 00 00 00 e0 00     00:23:12.812  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 00 00 00 00 00 a0 00     00:23:12.792  IDENTIFY DEVICE
  ef 00 03 00 46 00 00 00 00 00 00 a0 00     00:23:12.792  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 00 00 00 00 00 e0 00     00:23:12.792  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 4 [3] occurred at disk power-on lifetime: 517 hours (21 days + 13 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 08 00 00 15 8d 99 ef e0 00  Error: UNC 8 sectors at LBA = 0x158d99ef = 361601519

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  25 00 00 00 08 00 00 15 8d 99 ef e0 00     00:23:10.115  READ DMA EXT
  27 00 00 00 00 00 00 00 00 00 00 e0 00     00:23:10.115  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 00 00 00 00 00 a0 00     00:23:10.094  IDENTIFY DEVICE
  ef 00 03 00 46 00 00 00 00 00 00 a0 00     00:23:10.094  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 00 00 00 00 00 e0 00     00:23:10.094  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 3 [2] occurred at disk power-on lifetime: 517 hours (21 days + 13 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 08 00 00 15 8d 99 ef e0 00  Error: UNC 8 sectors at LBA = 0x158d99ef = 361601519

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  25 00 00 00 08 00 00 15 8d 99 ef e0 00     00:23:07.407  READ DMA EXT
  27 00 00 00 00 00 00 00 00 00 00 e0 00     00:23:07.407  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 00 00 00 00 00 a0 00     00:23:07.387  IDENTIFY DEVICE
  ef 00 03 00 46 00 00 00 00 00 00 a0 00     00:23:07.387  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 00 00 00 00 00 e0 00     00:23:07.387  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 2 [1] occurred at disk power-on lifetime: 517 hours (21 days + 13 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 08 00 00 15 8d 99 ef e0 00  Error: UNC 8 sectors at LBA = 0x158d99ef = 361601519

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  25 00 00 00 08 00 00 15 8d 99 ef e0 00     00:23:04.700  READ DMA EXT
  27 00 00 00 00 00 00 00 00 00 00 e0 00     00:23:04.700  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
  ec 00 00 00 00 00 00 00 00 00 00 a0 00     00:23:04.679  IDENTIFY DEVICE
  ef 00 03 00 46 00 00 00 00 00 00 a0 00     00:23:04.679  SET FEATURES [Set transfer mode]
  27 00 00 00 00 00 00 00 00 00 00 e0 00     00:23:04.679  READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]

Error 1 [0] occurred at disk power-on lifetime: 517 hours (21 days + 13 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 51 00 08 00 00 15 8d 99 ef e0 00  Error: UNC 8 sectors at LBA = 0x158d99ef = 361601519

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  25 00 00 00 08 00 00 15 8d 99 ef e0 00     00:23:02.001  READ DMA EXT
  25 00 00 00 08 00 00 15 80 ab 2f e0 00     00:23:01.995  READ DMA EXT
  25 00 00 00 08 00 00 14 cc a4 3f e0 00     00:23:01.991  READ DMA EXT
  25 00 00 00 08 00 00 14 35 3b bf e0 00     00:23:01.982  READ DMA EXT
  ca 00 00 00 08 00 00 0d b0 fd e7 ed 00     00:23:01.777  WRITE DMA

SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      3745         -

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.

SCT Status Version:                  3
SCT Version (vendor specific):       258 (0x0102)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    45 Celsius
Power Cycle Min/Max Temperature:     30/52 Celsius
Lifetime    Min/Max Temperature:     30/66 Celsius
Under/Over Temperature Limit Count:   0/0

SCT Temperature History Version:     2
Temperature Sampling Period:         1 minute
Temperature Logging Interval:        1 minute
Min/Max recommended Temperature:      0/60 Celsius
Min/Max Temperature Limit:           -41/85 Celsius
Temperature History Size (Index):    478 (172)

Index    Estimated Time   Temperature Celsius
 173    2017-03-28 04:29    43  ************************
 ...    ..( 11 skipped).    ..  ************************
 185    2017-03-28 04:41    43  ************************
 186    2017-03-28 04:42    44  *************************
 ...    ..( 10 skipped).    ..  *************************
 197    2017-03-28 04:53    44  *************************
 198    2017-03-28 04:54    45  **************************
 ...    ..(  2 skipped).    ..  **************************
 201    2017-03-28 04:57    45  **************************
 202    2017-03-28 04:58    44  *************************
 ...    ..( 26 skipped).    ..  *************************
 229    2017-03-28 05:25    44  *************************
 230    2017-03-28 05:26    45  **************************
 ...    ..( 13 skipped).    ..  **************************
 244    2017-03-28 05:40    45  **************************
 245    2017-03-28 05:41    39  ********************
 ...    ..(  2 skipped).    ..  ********************
 248    2017-03-28 05:44    39  ********************
 249    2017-03-28 05:45    38  *******************
 250    2017-03-28 05:46    38  *******************
 251    2017-03-28 05:47    38  *******************
 252    2017-03-28 05:48    39  ********************
 253    2017-03-28 05:49    38  *******************
 ...    ..(  2 skipped).    ..  *******************
 256    2017-03-28 05:52    38  *******************
 257    2017-03-28 05:53    39  ********************
 258    2017-03-28 05:54    38  *******************
 ...    ..( 29 skipped).    ..  *******************
 288    2017-03-28 06:24    38  *******************
 289    2017-03-28 06:25    37  ******************
 290    2017-03-28 06:26    37  ******************
 291    2017-03-28 06:27    38  *******************
 ...    ..(  2 skipped).    ..  *******************
 294    2017-03-28 06:30    38  *******************
 295    2017-03-28 06:31    37  ******************
 296    2017-03-28 06:32    37  ******************
 297    2017-03-28 06:33    37  ******************
 298    2017-03-28 06:34    38  *******************
 299    2017-03-28 06:35    37  ******************
 300    2017-03-28 06:36    37  ******************
 301    2017-03-28 06:37    37  ******************
 302    2017-03-28 06:38    38  *******************
 303    2017-03-28 06:39    37  ******************
 ...    ..( 13 skipped).    ..  ******************
 317    2017-03-28 06:53    37  ******************
 318    2017-03-28 06:54    38  *******************
 319    2017-03-28 06:55    37  ******************
 ...    ..(  2 skipped).    ..  ******************
 322    2017-03-28 06:58    37  ******************
 323    2017-03-28 06:59    38  *******************
 324    2017-03-28 07:00    37  ******************
 ...    ..( 19 skipped).    ..  ******************
 344    2017-03-28 07:20    37  ******************
 345    2017-03-28 07:21    36  *****************
 ...    ..(  4 skipped).    ..  *****************
 350    2017-03-28 07:26    36  *****************
 351    2017-03-28 07:27    37  ******************
 352    2017-03-28 07:28    37  ******************
 353    2017-03-28 07:29    36  *****************
 354    2017-03-28 07:30    37  ******************
 355    2017-03-28 07:31    37  ******************
 356    2017-03-28 07:32    36  *****************
 ...    ..( 21 skipped).    ..  *****************
 378    2017-03-28 07:54    36  *****************
 379    2017-03-28 07:55    37  ******************
 380    2017-03-28 07:56    36  *****************
 ...    ..(  2 skipped).    ..  *****************
 383    2017-03-28 07:59    36  *****************
 384    2017-03-28 08:00    37  ******************
 385    2017-03-28 08:01    36  *****************
 ...    ..( 47 skipped).    ..  *****************
 433    2017-03-28 08:49    36  *****************
 434    2017-03-28 08:50    35  ****************
 ...    ..(  4 skipped).    ..  ****************
 439    2017-03-28 08:55    35  ****************
 440    2017-03-28 08:56    36  *****************
 441    2017-03-28 08:57    35  ****************
 ...    ..(  7 skipped).    ..  ****************
 449    2017-03-28 09:05    35  ****************
 450    2017-03-28 09:06    36  *****************
 451    2017-03-28 09:07    35  ****************
 ...    ..(  7 skipped).    ..  ****************
 459    2017-03-28 09:15    35  ****************
 460    2017-03-28 09:16    36  *****************
 461    2017-03-28 09:17    35  ****************
 ...    ..(  3 skipped).    ..  ****************
 465    2017-03-28 09:21    35  ****************
 466    2017-03-28 09:22    36  *****************
 467    2017-03-28 09:23    35  ****************
 468    2017-03-28 09:24    35  ****************
 469    2017-03-28 09:25    35  ****************
 470    2017-03-28 09:26    36  *****************
 471    2017-03-28 09:27    35  ****************
 ...    ..( 13 skipped).    ..  ****************
   7    2017-03-28 09:41    35  ****************
   8    2017-03-28 09:42    34  ***************
   9    2017-03-28 09:43    35  ****************
 ...    ..( 17 skipped).    ..  ****************
  27    2017-03-28 10:01    35  ****************
  28    2017-03-28 10:02    34  ***************
  29    2017-03-28 10:03    35  ****************
  30    2017-03-28 10:04    35  ****************
  31    2017-03-28 10:05    34  ***************
  32    2017-03-28 10:06    35  ****************
 ...    ..(  3 skipped).    ..  ****************
  36    2017-03-28 10:10    35  ****************
  37    2017-03-28 10:11    34  ***************
  38    2017-03-28 10:12    34  ***************
  39    2017-03-28 10:13    34  ***************
  40    2017-03-28 10:14    35  ****************
 ...    ..(  8 skipped).    ..  ****************
  49    2017-03-28 10:23    35  ****************
  50    2017-03-28 10:24    34  ***************
  51    2017-03-28 10:25    35  ****************
 ...    ..( 16 skipped).    ..  ****************
  68    2017-03-28 10:42    35  ****************
  69    2017-03-28 10:43    34  ***************
  70    2017-03-28 10:44    35  ****************
  71    2017-03-28 10:45    35  ****************
  72    2017-03-28 10:46    36  *****************
  73    2017-03-28 10:47    35  ****************
 ...    ..( 10 skipped).    ..  ****************
  84    2017-03-28 10:58    35  ****************
  85    2017-03-28 10:59    36  *****************
  86    2017-03-28 11:00    36  *****************
  87    2017-03-28 11:01    35  ****************
  88    2017-03-28 11:02    35  ****************
  89    2017-03-28 11:03    36  *****************
  90    2017-03-28 11:04    35  ****************
  91    2017-03-28 11:05    36  *****************
 ...    ..( 13 skipped).    ..  *****************
 105    2017-03-28 11:19    36  *****************
 106    2017-03-28 11:20    37  ******************
 107    2017-03-28 11:21    37  ******************
 108    2017-03-28 11:22    37  ******************
 109    2017-03-28 11:23    38  *******************
 ...    ..(  4 skipped).    ..  *******************
 114    2017-03-28 11:28    38  *******************
 115    2017-03-28 11:29    39  ********************
 116    2017-03-28 11:30    39  ********************
 117    2017-03-28 11:31    39  ********************
 118    2017-03-28 11:32    38  *******************
 119    2017-03-28 11:33    39  ********************
 120    2017-03-28 11:34    39  ********************
 121    2017-03-28 11:35    39  ********************
 122    2017-03-28 11:36    40  *********************
 123    2017-03-28 11:37    39  ********************
 ...    ..(  2 skipped).    ..  ********************
 126    2017-03-28 11:40    39  ********************
 127    2017-03-28 11:41    40  *********************
 ...    ..( 14 skipped).    ..  *********************
 142    2017-03-28 11:56    40  *********************
 143    2017-03-28 11:57    41  **********************
 ...    ..(  8 skipped).    ..  **********************
 152    2017-03-28 12:06    41  **********************
 153    2017-03-28 12:07    42  ***********************
 ...    ..( 11 skipped).    ..  ***********************
 165    2017-03-28 12:19    42  ***********************
 166    2017-03-28 12:20    43  ************************
 ...    ..(  5 skipped).    ..  ************************
 172    2017-03-28 12:26    43  ************************

SCT Error Recovery Control command not supported

Device Statistics (GP/SMART Log 0x04) not supported

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x0001  2            0  Command failed due to ICRC error
0x0002  2            0  R_ERR response for data FIS
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0005  2            0  R_ERR response for non-data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
0x000a  2           25  Device-to-host register FISes sent due to a COMRESET
0x000b  2            0  CRC errors within host-to-device FIS
0x8000  4      1038052  Vendor specific

pem@Serveur1:~$

Peut etre que j'ai mal vu mais tous les disques présentent 0 secteurs réalloués :

 5 Reallocated_Sector_Ct   PO--CK   200   200   140    -    0

Dernière modification par pem1664 (Le 28/03/2017, à 11:33)


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#21 Le 28/03/2017, à 11:35

pem1664

Re : Raid 5 et mdadm [RESOLU]

Bougron a écrit :

Mais, il serait possible que cela soit un bug?  https://bugs.launchpad.net/ubuntu/+sour … ug/1359706

Je viens de voir ton lien, pourquoi pas mais je suis sous ubuntu 16.04 ca n'aurait pas été corrigé depuis?


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#22 Le 28/03/2017, à 11:52

pem1664

Re : Raid 5 et mdadm [RESOLU]

C'était interressant cette discussion https://up-community.org/forum/public-u … mcblk0rpmb
je suis en train de lancer un

badblocks -b 4096 -c 4096 -s /dev/md0

en revanche je ne suis pas sur des valeurs de clusters
webmin me dit : Chunk size     512 kB je dois remplacer 4096 par 512k alors?


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#23 Le 28/03/2017, à 12:06

Bougron

Re : Raid 5 et mdadm [RESOLU]

fais badblock --help
Tu va voir qu'il s'agit de la taille physique des blocks des disques   Sans mettre l'option la valeur par défault est 1024   or tes disques sont certainement tous en 4096 (voir le smartcl)

Je viens de voir une autre piste  https://forums.resin.io/t/beaglebone-gr … lockup/560
qui n'est pas sur du RAIDS, Mais il est dit
"This causes the kernel to more aggressively reclaim memory and reduce fragmentation. "
C'est une piste possible et qui n'aurait donc rien a voir avec la qualité du RAIDS mais son remplissage.. resterait a trouver le paramétrage pour le RAIDS et pas  pour du EMMC.
Je continue de chercher.    Mais tu pourrais te préparer à ouvrir un bug dans launchpad si  cela se renouvelle

et une trace semblable pour un simple disque dur en bon état.  https://ubuntuforums.org/showthread.php?t=2326700 Je crois plus en plus à un problème logiciel

Il reste aussi la piste des secteurs de remplacement du RAID totalement pleine et plus d'espace pour ajouter une nouvelle entrée. Je ne sais pas trop comment on peut regarder cela

Dernière modification par Bougron (Le 28/03/2017, à 12:23)


Ubuntu  BASH 16.04.1 sous windows10  et ubuntu-17.04-beta2 avec le noyau 4.10.0-13 et la future 17.10 depuis le 10 juillet avec le noyau 4.10.0-26
Lubuntu 14.04.4 en 32 bits  et  Lubuntu 16.06.3 en 32 bits noyau 4.10.0-33 pour un vaio pcg-k215s
Ubuntu 16.04.2 avec le noyau 4.4.0-71 et  le noyau 4.8.0.36
Faites votre  auto-dépannage en lisant  https://doc.ubuntu-fr.org/diagnostic.

Hors ligne

#24 Le 28/03/2017, à 12:18

pem1664

Re : Raid 5 et mdadm [RESOLU]

Merci Bougron pour ton aide, j'ai lancé badblocks comme cité dessus et pour l'instant il trouve bel et bien des erreurs...
pour l'instant

4.24% effectué, 27:52 écoulé. (38452/0/0 erreurs)

J'ai comme l'impression que c'est pas prêt d'etre fini...
En revanche comme il est dit dans ton lien il faudrait que je crée un nouveau fichier fix-mmc-bbb.conf ?

You can try the following to fix it:

add the following contents in /etc/sysctl.d/fix-mmc-bbb.conf

vm.min_free_kbytes=8192
vm.dirty_ratio=5
vm.dirty_background_ratio=10

Then reboot the device.

Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne

#25 Le 28/03/2017, à 12:28

pem1664

Re : Raid 5 et mdadm [RESOLU]

Bougron a écrit :

Il reste aussi la piste des secteurs de remplacement du RAID totalement pleine et plus d'espace pour ajouter une nouvelle entrée. Je ne sais pas trop comment on peut regarder cela

Ah non ca je ne crois pas

/dev/md0                     13T    9,7T  2,4T  81% /media/Serveur1

donc normalement il me reste 2,4To dessus et en plus la copie que je suis en train de faire remplace et fusionne les dossiers et fichiers existants donc normalement je devrais pas trop remplir le raid

EDIT
Ah j'avais pas compris tu parles des secteurs de remplacement, pas des secteurs du raid en général, pardon, j'avais mal lu et mal compris

Dernière modification par pem1664 (Le 28/03/2017, à 12:30)


Pas de problème sans solutions, mettre [résolu] dans son premier post permet de rechercher plus facilement une solution... ;)

Hors ligne