Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#26 Le 22/12/2018, à 14:03

palikey

Re : DD Externe Iomega Ego Non Reconnu

sudo smartctl -s on -o on -a /dev/disk/by-id/wwn-0x50014ee205340884
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-140-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Scorpio Blue Serial ATA (AF)
Device Model:     WDC WD10TPVT-65HT5T0
Serial Number:    WD-WXF1AA0N9988
LU WWN Device Id: 5 0014ee 205340884
Firmware Version: 01.01A01
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5200 rpm
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:    Sat Dec 22 13:40:24 2018 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
SMART Automatic Offline Testing Enabled every four hours.

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

General SMART Values:
Offline data collection status:  (0x80)	Offline data collection activity
					was never started.
					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: 		(25200) 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: 	 ( 289) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x7031)	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   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   201   188   021    Pre-fail  Always       -       2941
  4 Start_Stop_Count        0x0032   096   096   000    Old_age   Always       -       4815
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   093   093   000    Old_age   Always       -       5600
 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   096   096   000    Old_age   Always       -       4288
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       126
193 Load_Cycle_Count        0x0032   176   176   000    Old_age   Always       -       73402
194 Temperature_Celsius     0x0022   111   084   000    Old_age   Always       -       39
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

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


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.
sudo smartctl -s on -o on -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-140-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/disk/by-id/usb-ST350062_0AS_0-0:0: Unknown USB bridge [0x067b:0x2506 (0x100)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

Hors ligne

#27 Le 22/12/2018, à 15:17

moko138

Re : DD Externe Iomega Ego Non Reconnu

(Ton Western Digital 
/dev/disk/by-id/wwn-0x50014ee205340884
n'a que 5.600 heures et va très bien ! )  big_smile

  - -

Pour le Seagate derrière ton adaptateur ata-usb "0x067b:0x2506", alias "067b:2506"
essaie déjà ces deux variantes :

sudo smartctl -s on -o on -d usbjmicron -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0

et

sudo smartctl -s on -o on -T verypermissive -d usbjmicron -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0

%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#28 Le 22/12/2018, à 15:38

palikey

Re : DD Externe Iomega Ego Non Reconnu

sudo smartctl -s on -o on -d usbjmicron -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-140-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/disk/by-id/usb-ST350062_0AS_0-0:0 [USB JMicron] failed: scsi error unsupported scsi opcode
sudo smartctl -s on -o on -T verypermissive -d usbjmicron -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-140-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/disk/by-id/usb-ST350062_0AS_0-0:0 [USB JMicron] failed: scsi error unsupported scsi opcode

Hors ligne

#29 Le 12/01/2019, à 14:04

palikey

Re : DD Externe Iomega Ego Non Reconnu

Pas d'avis par rapport à mon dernier message ?

Merci par avance

Hors ligne

#30 Le 12/01/2019, à 16:10

moko138

Re : DD Externe Iomega Ego Non Reconnu

Désolé, je n'avais pas vu ta réponse.

Suis retourné sur https://www.smartmontools.org/wiki/Supp … SB-Devices
ton adaptateur 0x067b:0x2506 (devant le Seagate 500 Go) est maintenant répertorié. Dans les périphériques pas encore pris en charge. sad


Ça n'empêche pas d'essayer.  En s'inspirant de

man smartctl

[NEW  EXPERIMENTAL  SMARTCTL  FEATURE]  The  Prolific  PL2507/3507  USB
bridges with older firmware support a pass-through command  similar  to
JMicron  and  work  with  ´-d  usbjmicron,0´.   Newer Prolific firmware
requires a modified command which can be selected by ´-d usbjmicron,p´.
Note that this does not yet support the SMART status command.

tenter :

sudo smartctl -s on -o on -d usbjmicron,0 -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0

et

sudo smartctl -s on -o on -T verypermissive -d usbjmicron,0 -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0

Et vu

man smartctl

usbprolific - [NEW EXPERIMENTAL SMARTCTL FEATURE] this  device  type  is  for  SATA
disks that are behind a Prolific PL2571/2771/2773/2775 USB to SATA bridge.

tenter :

sudo smartctl -s on -o on -d usbprolific -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0

et

sudo smartctl -s on -o on -T verypermissive -d usbprolific -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0

%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#31 Le 14/01/2019, à 19:33

palikey

Re : DD Externe Iomega Ego Non Reconnu

Alors voici les résultats:

sudo smartctl -s on -o on -d usbjmicron,0 -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-141-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported scsi opcode

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
sudo smartctl -s on -o on -T verypermissive -d usbjmicron,0 -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-141-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported scsi opcode

=== START OF INFORMATION SECTION ===
Device Model:     
Serial Number:    
Firmware Version: 
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   Unknown(0xfd00) (unknown minor revision code: 0x0065)
Local Time is:    Mon Jan 14 19:03:06 2019 CET
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
                  Checking to be sure by trying SMART RETURN STATUS command.
SMART support is: Unknown - Try option -s with argument 'on' to enable it.
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enable failed: scsi error unsupported scsi opcode

Read SMART Data failed: scsi error unsupported scsi opcode

SMART Automatic Timers not supported

SMART Enable Automatic Offline failed: scsi error unsupported scsi opcode


=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.

Read SMART Error Log failed: scsi error unsupported scsi opcode

Read SMART Self-test Log failed: scsi error unsupported scsi opcode

Selective Self-tests/Logging not supported
sudo smartctl -s on -o on -d usbprolific -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-141-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/disk/by-id/usb-ST350062_0AS_0-0:0: Unknown USB device type 'usbprolific'
=======> VALID ARGUMENTS ARE: ata, scsi, sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbsunplus, marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, cciss,N, auto, test <=======

Use smartctl -h to get a usage summary
sudo smartctl -s on -o on -T verypermissive -d usbprolific -a /dev/disk/by-id/usb-ST350062_0AS_0-0:0
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-141-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/disk/by-id/usb-ST350062_0AS_0-0:0: Unknown USB device type 'usbprolific'
=======> VALID ARGUMENTS ARE: ata, scsi, sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbsunplus, marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, cciss,N, auto, test <=======

Use smartctl -h to get a usage summary

Hors ligne

#32 Le 15/01/2019, à 07:30

moko138

Re : DD Externe Iomega Ego Non Reconnu

Récapitulatif :

Le Western Digital 1To, interne, en BON ÉTAT :
/dev/disk/by-id/ata-WDC_WD10TPVT-65HT5T0_WD-WXF1AA0N9988
/dev/disk/by-id/wwn-0x50014ee20534088


Le Seagate 500 Go, état INCONNU dans un boîtier LaCie à interface 067b:2506:
/dev/disk/by-id/usb-ST350062_0AS_0-0:0
En #18 : 465,8 Gio


Le boîtier Iomega contient le Samsung HM500JI
qui a le connecteur usb soudé : https://pix.toile-libre.org/?img=1544881573.jpg
Le Iomega "eGo USB", 500 Go en #1 et #3 :

Read Capacity(10) failed
[ 5351.721451] (...) idVendor=059b, idProduct=0070
[ 5352.887813] sd 6:0:0:0: [sdb] 975319088 512-byte logical blocks: (499 GB/465 GiB)
[ 5359.900295] blk_update_request: I/O error, dev sdb, sector 0
[ 5359.900302] Buffer I/O error on dev sdb, logical block 0, async page read

Et en #18 : 465,1 Gio
ls -l /dev/disk/by-id/  ?


Afin de cloner avec gddrescue le Iomega-Samsung,
on cherche un disque sain et ayant plus d'octets disponibles que le Iomega-Samsung.

Pour l'instant, on n'arrive pas à connaître l'état du Seagate, dont l'adaptateur Sata-usb n'est pas supporté par smartctl.


Contournements possibles :
  - brancher le Seagate à l'ordi via un autre adaptateur, supporté, lui ;
  - brancher le Seagate à l'ordi directement en Sata (s'il n'y a qu'un emplacement, cela implique de le substituer momentanément au WD 1To, et de démarrer en live) ;
  - brancher le Seagate en Sata à un autre ordi (une vieille tour est parfaite pour ça !) ;
  - Oublier le Seagate et utiliser un disque neuf.


Remarque :
On voit ici, une fois de plus, l'intérêt de choisir et d'acheter séparément
  - les disques (sans interface soudée ou exotique)
  - et les boîtiers (ou autres interfaces).


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#33 Le 17/01/2019, à 20:28

palikey

Re : DD Externe Iomega Ego Non Reconnu

Nouveau HDD Externe récupéré: Seagate 1To dans un boîtier MAXTOR

sudo parted -l
Modèle: ATA WDC WD10TPVT-65H (scsi)
Disque /dev/sda : 1000GB
Taille des secteurs (logiques/physiques): 512B/4096B
Table de partitions : msdos

Numéro  Début   Fin     Taille  Type      Système de fichiers  Fanions
 1      1049kB  996GB   996GB   primary   ext4                 démarrage
 2      996GB   1000GB  4224MB  extended
 5      996GB   1000GB  4224MB  logical   linux-swap(v1)


Erreur: Impossible d'ouvrir /dev/sdb - étiquette de disque non reconnue.  

Modèle: Seagate M3 Portable (scsi)
Disque /dev/sdc : 1000GB
Taille des secteurs (logiques/physiques): 512B/4096B
Table de partitions : msdos

Numéro  Début   Fin     Taille  Type     Système de fichiers  Fanions
 1      32,8kB  1000GB  1000GB  primary  ntfs                 démarrage


Avertissement: Impossible d'ouvrir /dev/sr1 en lecture-écriture (Système de
fichiers accessible en lecture seulement). /dev/sr1 a été ouvert en lecture
seule.
Erreur: Impossible d'ouvrir /dev/sr1 - étiquette de disque non reconnue.  
sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 têtes, 63 secteurs/piste, 121601 cylindres, total 1953525168 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets
Identifiant de disque : 0x0009dbc0

Périphérique Amorçage  Début         Fin      Blocs    Id. Système
/dev/sda1   *        2048  1945272319   972635136   83  Linux
/dev/sda2      1945274366  1953523711     4124673    5  Étendue
La partition 2 ne commence pas sur une frontière de cylindre physique.
/dev/sda5      1945274368  1953523711     4124672   82  partition d'échange Linux / Solaris

Disk /dev/sdb: 499.4 GB, 499363373056 bytes
255 têtes, 63 secteurs/piste, 60710 cylindres, total 975319088 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Identifiant de disque : 0xffff3fff

Le disque /dev/sdb ne contient pas une table de partitions valable

Disk /dev/sdc: 1000.2 GB, 1000204885504 bytes
255 têtes, 63 secteurs/piste, 121601 cylindres, total 1953525167 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 33553920 octets
Identifiant de disque : 0xd344cc4e

Périphérique Amorçage  Début         Fin      Blocs    Id. Système
/dev/sdc1   *          64  1953520128   976760032+   7  HPFS/NTFS/exFAT
df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
udev               1,9G    4,0K  1,9G   1% /dev
tmpfs              389M    872K  388M   1% /run
/dev/sda1          913G    346G  521G  40% /
none               4,0K       0  4,0K   0% /sys/fs/cgroup
none               5,0M       0  5,0M   0% /run/lock
none               1,9G     34M  1,9G   2% /run/shm
none               100M     56K  100M   1% /run/user
/dev/sdc1          932G    134M  932G   1% /media/julien/Maxtor
sudo lsblk | grep -v loop
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931,5G  0 disk 
├─sda1   8:1    0 927,6G  0 part /
├─sda2   8:2    0     1K  0 part 
└─sda5   8:5    0     4G  0 part [SWAP]
sdb      8:16   0 465,1G  0 disk 
sdc      8:32   0 931,5G  0 disk 
└─sdc1   8:33   0 931,5G  0 part /media/julien/Maxtor
sr0     11:0    1  1024M  0 rom  
sr1     11:1    1   700M  0 rom  

Hors ligne

#34 Le 18/01/2019, à 00:44

moko138

Re : DD Externe Iomega Ego Non Reconnu

.           Le nouveau HDD externe récupéré :
Seagate M3 1 To
état INCONNU
/dev/disk/by-id/   ?
dans un boîtier Maxtor.   ID ?
sd?1 en NTFS, presque vide (134 Mio utilisés).

Donc il faut montrer :

ls -l /dev/disk/by-id/
sudo lsblk -o name,fstype,label,size,mountpoint | grep -Ev "loop|sr[0-9]"
lsusb | sort ; echo ; lsusb -t
sudo smartctl --scan

Grâce à quoi on pourra regarder les données smart de ce "nouveau HDD externe récupéré"
et, s'il est sain, l'utiliser pour tenter de cloner le Samsung HM500JI


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#35 Le 18/01/2019, à 21:37

palikey

Re : DD Externe Iomega Ego Non Reconnu

ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root  9 janv. 18 21:00 ata-hp_DVDWBD_TS-LB23L_R4226GNZB78127 -> ../../sr0
lrwxrwxrwx 1 root root  9 janv. 18 21:00 ata-WDC_WD10TPVT-65HT5T0_WD-WXF1AA0N9988 -> ../../sda
lrwxrwxrwx 1 root root 10 janv. 18 21:00 ata-WDC_WD10TPVT-65HT5T0_WD-WXF1AA0N9988-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 janv. 18 21:00 ata-WDC_WD10TPVT-65HT5T0_WD-WXF1AA0N9988-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 janv. 18 21:00 ata-WDC_WD10TPVT-65HT5T0_WD-WXF1AA0N9988-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 janv. 18 21:00 usb-Seagate_M3_Portable_NM15G6CM-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 janv. 18 21:00 usb-Seagate_M3_Portable_NM15G6CM-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 janv. 18 21:00 wwn-0x50014ee205340884 -> ../../sda
lrwxrwxrwx 1 root root 10 janv. 18 21:00 wwn-0x50014ee205340884-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 janv. 18 21:00 wwn-0x50014ee205340884-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 janv. 18 21:00 wwn-0x50014ee205340884-part5 -> ../../sda5
sudo lsblk -o name,fstype,label,size,mountpoint | grep -Ev "loop|sr[0-9]"
NAME   FSTYPE  LABEL       SIZE MOUNTPOINT
sda                      931,5G 
├─sda1 ext4              927,6G /
├─sda2                       1K 
└─sda5 swap                  4G [SWAP]
sdb                      931,5G 
└─sdb1 ntfs    Maxtor    931,5G 
sdc                      465,1G 
lsusb | sort ; echo ; lsusb -t
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 004: ID 0bc2:61b6 Seagate RSS LLC 
Bus 001 Device 005: ID 148f:1000 Ralink Technology, Corp. Motorola BC4 Bluetooth 3.0+HS Adapter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 059b:0070 Iomega Corp. eGo Portable Hard Drive
Bus 002 Device 004: ID 138a:0005 Validity Sensors, Inc. VFS301 Fingerprint Reader
Bus 002 Device 005: ID 064e:f209 Suyin Corp. 

/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
        |__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 3: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 12M
        |__ Port 5: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 5: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
        |__ Port 3: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
        |__ Port 3: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M
        |__ Port 4: Dev 4, If 0, Class=Mass Storage, Driver=uas, 480M
sudo smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
/dev/sdc -d sat # /dev/sdc [SAT], ATA device

Hors ligne

#36 Le 19/01/2019, à 00:52

moko138

Re : DD Externe Iomega Ego Non Reconnu

Seagate M3 1 To
état INCONNU
/dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0
dans un boîtier non Maxtor mais (*) : 0bc2:61b6 Seagate

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 004: ID 0bc2:61b6 Seagate RSS LLC

/:  Bus 01 (...)  Class=root_hub, Driver=ehci-pci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
        |__ Port 4: Dev 4, If 0, Class=Mass Storage, Driver=uas, 480M

  - -

Zut, c'est de l'uas et ce n'est pas vu par sudo smartctl --scan

Essaie déjà :

sudo smartctl -s on -o on -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0

En fonction du retour,
on verra s'il faut ou non appliquer la procédure décrite pour l'uas dans la Doc smartmontools.


___
(*) Cela découle probablement du rachat de Maxtor par Seagate. Wikipedia dit :

Maxtor (...) rachetée par Seagate en décembre 2005. (...) C'est maintenant une filiale de Seagate.


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#37 Le 19/01/2019, à 08:32

palikey

Re : DD Externe Iomega Ego Non Reconnu

sudo smartctl -s on -o on -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-141-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0: Unknown USB bridge [0x0bc2:0x61b6 (0x710)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

Hors ligne

#38 Le 19/01/2019, à 09:53

moko138

Re : DD Externe Iomega Ego Non Reconnu

Essaie

sudo smartctl -s on -o on -d sat -T verypermissive -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0

mais il me semble que nous avons rencontré récemment cet adaptateur et qu'il n'est pas encore pris en charge.


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#39 Le 19/01/2019, à 10:20

palikey

Re : DD Externe Iomega Ego Non Reconnu

Je n'ai pas l'impression que ce soit mieux

sudo smartctl -s on -o on -d sat -T verypermissive -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-141-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported field in scsi command

=== START OF INFORMATION SECTION ===
Device Model:     [No Information Found]
Serial Number:    [No Information Found]
Firmware Version: [No Information Found]
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   [No Information Found]
Local Time is:    Sat Jan 19 10:18:49 2019 CET
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
                  Checking to be sure by trying SMART RETURN STATUS command.
SMART support is: Unknown - Try option -s with argument 'on' to enable it.
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enable failed: scsi error unsupported field in scsi command

Read SMART Data failed: scsi error unsupported field in scsi command

SMART Automatic Timers not supported

SMART Enable Automatic Offline failed: scsi error unsupported field in scsi command


=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.

Read SMART Error Log failed: scsi error unsupported field in scsi command

Read SMART Self-test Log failed: scsi error unsupported field in scsi command

Selective Self-tests/Logging not supported

Hors ligne

#40 Le 23/01/2019, à 20:13

palikey

Re : DD Externe Iomega Ego Non Reconnu

Un avis et/ou une action à faire suite à mon retour ?

Hors ligne

#41 Le 23/01/2019, à 20:36

Nuliel

Re : DD Externe Iomega Ego Non Reconnu

Si j'ai bien compris, c'est le boitier qui pose problème. On va essayer un truc avec le boitier maxtor (donne les retours)

sudo apt install subversion build-essential
svn co https://svn.code.sf.net/p/smartmontools/code/trunk/smartmontools smartmontools
cd smartmontools
./autogen.sh
mkdir res
./configure --prefix=$HOME/smartmontools/res
make
make install
cd res/sbin
sudo ./smartctl -s on -o on -d sat -T verypermissive -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0

(mets pas de sudo en plus)

[HS]Smartmontools supports NVMe starting from version 6.5[/HS]

Dernière modification par Nuliel (Le 23/01/2019, à 20:37)

Hors ligne

#42 Le 23/01/2019, à 22:22

palikey

Re : DD Externe Iomega Ego Non Reconnu

make
make  all-am
make[1]: entrant dans le répertoire « /home/julien/smartmontools »
 svn info | $(VERSION_FROM_SVN_INFO) > svnversion.h
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT smartctl.o -MD -MP -MF .deps/smartctl.Tpo -c -o smartctl.o smartctl.cpp
mv -f .deps/smartctl.Tpo .deps/smartctl.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT atacmdnames.o -MD -MP -MF .deps/atacmdnames.Tpo -c -o atacmdnames.o atacmdnames.cpp
mv -f .deps/atacmdnames.Tpo .deps/atacmdnames.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT atacmds.o -MD -MP -MF .deps/atacmds.Tpo -c -o atacmds.o atacmds.cpp
mv -f .deps/atacmds.Tpo .deps/atacmds.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT ataidentify.o -MD -MP -MF .deps/ataidentify.Tpo -c -o ataidentify.o ataidentify.cpp
mv -f .deps/ataidentify.Tpo .deps/ataidentify.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT ataprint.o -MD -MP -MF .deps/ataprint.Tpo -c -o ataprint.o ataprint.cpp
mv -f .deps/ataprint.Tpo .deps/ataprint.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT dev_ata_cmd_set.o -MD -MP -MF .deps/dev_ata_cmd_set.Tpo -c -o dev_ata_cmd_set.o dev_ata_cmd_set.cpp
mv -f .deps/dev_ata_cmd_set.Tpo .deps/dev_ata_cmd_set.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT dev_intelliprop.o -MD -MP -MF .deps/dev_intelliprop.Tpo -c -o dev_intelliprop.o dev_intelliprop.cpp
mv -f .deps/dev_intelliprop.Tpo .deps/dev_intelliprop.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT dev_interface.o -MD -MP -MF .deps/dev_interface.Tpo -c -o dev_interface.o dev_interface.cpp
mv -f .deps/dev_interface.Tpo .deps/dev_interface.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT json.o -MD -MP -MF .deps/json.Tpo -c -o json.o json.cpp
mv -f .deps/json.Tpo .deps/json.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT knowndrives.o -MD -MP -MF .deps/knowndrives.Tpo -c -o knowndrives.o knowndrives.cpp
mv -f .deps/knowndrives.Tpo .deps/knowndrives.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT nvmecmds.o -MD -MP -MF .deps/nvmecmds.Tpo -c -o nvmecmds.o nvmecmds.cpp
mv -f .deps/nvmecmds.Tpo .deps/nvmecmds.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT nvmeprint.o -MD -MP -MF .deps/nvmeprint.Tpo -c -o nvmeprint.o nvmeprint.cpp
mv -f .deps/nvmeprint.Tpo .deps/nvmeprint.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT scsicmds.o -MD -MP -MF .deps/scsicmds.Tpo -c -o scsicmds.o scsicmds.cpp
mv -f .deps/scsicmds.Tpo .deps/scsicmds.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT scsiata.o -MD -MP -MF .deps/scsiata.Tpo -c -o scsiata.o scsiata.cpp
mv -f .deps/scsiata.Tpo .deps/scsiata.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT scsinvme.o -MD -MP -MF .deps/scsinvme.Tpo -c -o scsinvme.o scsinvme.cpp
mv -f .deps/scsinvme.Tpo .deps/scsinvme.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT scsiprint.o -MD -MP -MF .deps/scsiprint.Tpo -c -o scsiprint.o scsiprint.cpp
mv -f .deps/scsiprint.Tpo .deps/scsiprint.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT utility.o -MD -MP -MF .deps/utility.Tpo -c -o utility.o utility.cpp
mv -f .deps/utility.Tpo .deps/utility.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT os_linux.o -MD -MP -MF .deps/os_linux.Tpo -c -o os_linux.o os_linux.cpp
mv -f .deps/os_linux.Tpo .deps/os_linux.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT cciss.o -MD -MP -MF .deps/cciss.Tpo -c -o cciss.o cciss.cpp
mv -f .deps/cciss.Tpo .deps/cciss.Po
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT dev_areca.o -MD -MP -MF .deps/dev_areca.Tpo -c -o dev_areca.o dev_areca.cpp
mv -f .deps/dev_areca.Tpo .deps/dev_areca.Po
g++  -g -O2 -Wall -W -Wformat=2 -fstack-protector   -o smartctl smartctl.o atacmdnames.o atacmds.o ataidentify.o ataprint.o dev_ata_cmd_set.o dev_intelliprop.o dev_interface.o json.o knowndrives.o nvmecmds.o nvmeprint.o scsicmds.o scsiata.o scsinvme.o scsiprint.o utility.o     os_linux.o cciss.o dev_areca.o    
g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/home/julien/smartmontools/res/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/home/julien/smartmontools/res/share/smartmontools"'        -g -O2 -Wall -W -Wformat=2 -fstack-protector -MT smartd.o -MD -MP -MF .deps/smartd.Tpo -c -o smartd.o smartd.cpp
mv -f .deps/smartd.Tpo .deps/smartd.Po
g++  -g -O2 -Wall -W -Wformat=2 -fstack-protector   -o smartd smartd.o atacmdnames.o atacmds.o dev_ata_cmd_set.o dev_intelliprop.o dev_interface.o knowndrives.o nvmecmds.o scsicmds.o scsiata.o scsinvme.o utility.o     os_linux.o cciss.o dev_areca.o      
/bin/bash ./config.status --file=update-smart-drivedb
config.status: creating update-smart-drivedb
chmod +x update-smart-drivedb
/bin/bash ./config.status --file=smartd_warning.sh
config.status: creating smartd_warning.sh
chmod +x smartd_warning.sh
 $(MAN_FILTER) < ./smartd.conf.5.in > smartd.conf.5
 $(MAN_FILTER) < ./smartctl.8.in > smartctl.8
 $(MAN_FILTER) < ./smartd.8.in > smartd.8
 $(MAN_FILTER) < ./update-smart-drivedb.8.in > update-smart-drivedb.8
make[1]: quittant le répertoire « /home/julien/smartmontools »
make install
make[1]: entrant dans le répertoire « /home/julien/smartmontools »
 /bin/mkdir -p '/home/julien/smartmontools/res/sbin'
  /usr/bin/install -c smartctl smartd '/home/julien/smartmontools/res/sbin'
 /bin/mkdir -p '/home/julien/smartmontools/res/sbin'
 /usr/bin/install -c update-smart-drivedb '/home/julien/smartmontools/res/sbin'
/bin/mkdir -p '/home/julien/smartmontools/res/etc'
 /usr/bin/install -c -m 644 './smartd.conf' '/home/julien/smartmontools/res/etc/smartd.conf'
 /bin/mkdir -p '/home/julien/smartmontools/res/etc/smartd_warning.d'
 /bin/mkdir -p '/home/julien/smartmontools/res/share/doc/smartmontools'
 /usr/bin/install -c -m 644 AUTHORS ChangeLog ChangeLog-6.0-7.0 COPYING INSTALL NEWS README TODO smartd.conf '/home/julien/smartmontools/res/share/doc/smartmontools'
 /bin/mkdir -p '/home/julien/smartmontools/res/share/smartmontools'
 /usr/bin/install -c -m 644 drivedb.h '/home/julien/smartmontools/res/share/smartmontools'
 /bin/mkdir -p '/home/julien/smartmontools/res/share/doc/smartmontools/examplescripts'
 /usr/bin/install -c -m 644 examplescripts/README '/home/julien/smartmontools/res/share/doc/smartmontools/examplescripts'
 /bin/mkdir -p '/home/julien/smartmontools/res/share/doc/smartmontools/examplescripts'
 /usr/bin/install -c examplescripts/Example1 examplescripts/Example2 examplescripts/Example3 examplescripts/Example4 examplescripts/Example5 examplescripts/Example6 '/home/julien/smartmontools/res/share/doc/smartmontools/examplescripts'
 /bin/mkdir -p '/home/julien/smartmontools/res/share/man/man5'
 /usr/bin/install -c -m 644 smartd.conf.5 '/home/julien/smartmontools/res/share/man/man5'
 /bin/mkdir -p '/home/julien/smartmontools/res/share/man/man8'
 /usr/bin/install -c -m 644 smartctl.8 smartd.8 update-smart-drivedb.8 '/home/julien/smartmontools/res/share/man/man8'
 /bin/mkdir -p '/home/julien/smartmontools/res/etc'
 /usr/bin/install -c smartd_warning.sh '/home/julien/smartmontools/res/etc'
make[1]: quittant le répertoire « /home/julien/smartmontools »
sudo ./smartctl -s on -o on -d sat -T verypermissive -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0
smartctl 7.1 2019-01-11 r4891 [x86_64-linux-4.4.0-141-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported field in scsi command

=== START OF INFORMATION SECTION ===
Device Model:     [No Information Found]
Serial Number:    [No Information Found]
Firmware Version: [No Information Found]
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   [No Information Found]
Local Time is:    Wed Jan 23 22:15:08 2019 CET
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
                  Checking to be sure by trying SMART RETURN STATUS command.
SMART support is: Unknown - Try option -s with argument 'on' to enable it.
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enable failed: scsi error unsupported field in scsi command

Read SMART Data failed: scsi error unsupported field in scsi command

SMART Automatic Timers not supported

SMART Enable Automatic Offline failed: scsi error unsupported field in scsi command


=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error unsupported field in scsi command
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.

Read SMART Error Log failed: scsi error unsupported field in scsi command

Read SMART Self-test Log failed: scsi error unsupported field in scsi command

Selective Self-tests/Logging not supported

Hors ligne

#43 Le 23/01/2019, à 22:26

Nuliel

Re : DD Externe Iomega Ego Non Reconnu

J'espérais que le problème "scsi error unsupported field in scsi command" vienne de la version poussiéreuse de smartctl des dépôts mais visiblement ce n'est pas le cas puisque je t'ai fait essayer une version flambant neuve sad (le boitier est bien marqué comme supporté sur le site officiel de smartmontools)

Désolé mais je ne sais pas quoi proposer

Edit: corrigé

Dernière modification par Nuliel (Le 24/01/2019, à 06:17)

Hors ligne

#44 Le 23/01/2019, à 22:26

palikey

Re : DD Externe Iomega Ego Non Reconnu

Merci quand même Naziel

Hors ligne

#45 Le 23/01/2019, à 22:32

Nuliel

Re : DD Externe Iomega Ego Non Reconnu

Une dernière tentative:
débranche tous les bidules en usb, tu fais

sudo modprobe -r uas
sudo modprobe -r usb-storage
sudo modprobe usb-storage quirks=0bc2:61b6:u

puis rebranche le disque dur externe et donne

sudo smartctl -s on -o on -d sat -T verypermissive -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0
sudo smartctl -d sat -T verypermissive -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0
cd smartmontools/res/sbin
sudo ./smartctl -s on -o on -d sat -T verypermissive -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0

Hors ligne

#46 Le 24/01/2019, à 05:31

moko138

Re : DD Externe Iomega Ego Non Reconnu

+1 pour la manoeuvre "uas" (je l'avais évoquée en #36).

Et s'il y a un message d'erreur en retour à

sudo modprobe usb-storage quirks=0bc2:61b6:u

a) Le montrer ;
b) Essayer :

sudo modprobe usb-storage quirks=0x0bc2:0x61b6:u

qui me paraît plus logique (le préfixe "0x" servant à caractériser les nombres hexadécimaux).


= =

Naziel,
En #43 tu dis :

(le boitier est bien marqué comme supporté sur le site officiel de smartmontools)

Or le boitier 0x0bc2:0x61b6    du

/dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0: Unknown USB bridge [0x0bc2:0x61b6

est absent de la page https://www.smartmontools.org/wiki/Supp … SB-Devices

Alors de quel boitier parles-tu ? Ou bien à quelle page te réfères-tu ?


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#47 Le 24/01/2019, à 06:15

Nuliel

Re : DD Externe Iomega Ego Non Reconnu

J'ai vu

Samsung M3 Portable 1TB 	? 	0x04e8:0x61b6 	? 	-d sat 	Linux 	Chris Dennis 	"-d auto" will fail with "Unknown USB bridge" error, use "-d sat". 

en cherchant 0x61b6 , mais je croyais que c'était seagate mais non, effectivement il n'est pas dans la liste (on peut lire la fatigue parce que c'était écrit noir sur blanc smile )

Dernière modification par Nuliel (Le 24/01/2019, à 06:16)

Hors ligne

#48 Le 26/01/2019, à 14:52

palikey

Re : DD Externe Iomega Ego Non Reconnu

Pas de message d'erreur à

sudo modprobe usb-storage quirks=0bc2:61b6:u

du coup je fais

sudo modprobe usb-storage quirks=0x0bc2:0x61b6:u

puis je branche le HDD Seagate M3 et je fais

sudo smartctl -s on -o on -d sat -T verypermissive -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-141-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     ST1000LM035-1RK172
Serial Number:    WC01ZR17
LU WWN Device Id: 5 000c50 0bacb55b6
Firmware Version: SBM3
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Jan 26 14:45:28 2019 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
SMART Automatic Timers not supported

SMART Automatic Offline Testing Enabled every four hours.

=== 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: 		(    0) seconds.
Offline data collection
capabilities: 			 (0x71) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No 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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 169) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x3035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   064   064   006    Pre-fail  Always       -       2582417
  3 Spin_Up_Time            0x0003   098   098   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       10
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   100   253   045    Pre-fail  Always       -       2421
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       0 (212 9 0)
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       9
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   077   068   040    Old_age   Always       -       23 (Min/Max 23/23)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       25
194 Temperature_Celsius     0x0022   023   040   000    Old_age   Always       -       23 (0 18 0 0 0)
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       47128676139008
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       1152711
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       1429706
254 Free_Fall_Sensor        0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

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


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.

puis

sudo smartctl -d sat -T verypermissive -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.4.0-141-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     ST1000LM035-1RK172
Serial Number:    WC01ZR17
LU WWN Device Id: 5 000c50 0bacb55b6
Firmware Version: SBM3
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Jan 26 14:46:43 2019 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

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

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(    0) seconds.
Offline data collection
capabilities: 			 (0x71) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No 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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 169) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x3035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   064   064   006    Pre-fail  Always       -       2582417
  3 Spin_Up_Time            0x0003   098   098   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       10
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   100   253   045    Pre-fail  Always       -       2422
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       0 (246 73 0)
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       9
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   076   068   040    Old_age   Always       -       24 (Min/Max 23/24)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       25
194 Temperature_Celsius     0x0022   024   040   000    Old_age   Always       -       24 (0 18 0 0 0)
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       84769769521152
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       1152711
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       1429706
254 Free_Fall_Sensor        0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

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


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.

puis

cd smartmontools/res/sbin
sudo ./smartctl -s on -o on -d sat -T verypermissive -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0
julien@HP:~/smartmontools/res/sbin$ sudo ./smartctl -s on -o on -d sat -T verypermissive -a /dev/disk/by-id/usb-Seagate_M3_Portable_NM15G6CM-0:0
[sudo] password for julien: 
smartctl 7.1 2019-01-11 r4891 [x86_64-linux-4.4.0-141-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     ST1000LM035-1RK172
Serial Number:    WC01ZR17
LU WWN Device Id: 5 000c50 0bacb55b6
Firmware Version: SBM3
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-3 T13/2161-D revision 3b
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Jan 26 14:50:42 2019 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
SMART Automatic Timers not supported

SMART Automatic Offline Testing Enabled every four hours.

=== 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: 		(    0) seconds.
Offline data collection
capabilities: 			 (0x71) SMART execute Offline immediate.
					No Auto Offline data collection support.
					Suspend Offline collection upon new
					command.
					No 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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 ( 169) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x3035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   064   064   006    Pre-fail  Always       -       2582417
  3 Spin_Up_Time            0x0003   098   098   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       10
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   100   253   045    Pre-fail  Always       -       2422
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       0 (159 242 0)
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       9
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   075   068   040    Old_age   Always       -       25 (Min/Max 23/25)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       27
194 Temperature_Celsius     0x0022   025   040   000    Old_age   Always       -       25 (0 18 0 0 0)
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       0 (114 170 0)
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       1152711
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       1429706
254 Free_Fall_Sensor        0x0032   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

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

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.

Hors ligne

#49 Le 26/01/2019, à 15:17

Nuliel

Re : DD Externe Iomega Ego Non Reconnu

YESSSSSSSSSSSSSSSSSSSSS! On a enfin ce foutu rapport smart!
C'est le même sur les 3, mais comme j'avais pas envie de faire 3 messages différents si ça n'avait pas marché dans les deux autres cas j'ai tout mis en même temps.

L'attribut Head_Flying_Hours me pose question (c'est pas le même retour selon les commandes), j'aimerais bien avoir l'avis de moko138 là dessus

Les têtes de lecture seraient pas un peu fatiguées?

Dernière modification par Nuliel (Le 26/01/2019, à 15:18)

Hors ligne

#50 Le 26/01/2019, à 15:34

palikey

Re : DD Externe Iomega Ego Non Reconnu

@Naziel, juste pour être sûr, les commandes que l'on vient de faire l'ont été sur le nouveau HDD (Seagate Maxtor M3) qui est quasi neuf. Le HDD qui pose problème est bien le Iomega.

Hors ligne