Je reconfirme que j'ai essayé chaque ports usb de plusieurs machines avec plusieurs cables. Un disque externe autoalimenté n'a pas d'alimentation externe, seul le cable usb l'alimente. C'est un modèle usb 3, le cable a une connectique en détrompeur coté disque, obligeant l'usage d'un cable usb 3.
J'ai continué à diagnostiquer, et j'ai finis par avoir d'autres messages, uniquement en le branchant à une prise usb 2. Le système finis par lui associé un sdX mais les données ne sont pas positives. L'utilitaire Disques le voit mais impossible d'agir dessus "périphérique bloc vide".
$ dmesg
...
[ 74.812770] usb 2-1.5: device descriptor read/64, error -71
[ 75.029579] usb 2-1.5: New USB device found, idVendor=1058, idProduct=10a8
[ 75.029581] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 75.029582] usb 2-1.5: Product: Elements 10A8
[ 75.029583] usb 2-1.5: Manufacturer: Western Digital
[ 75.029584] usb 2-1.5: SerialNumber: 575844314536334C45484B39
[ 75.045208] usb-storage 2-1.5:1.0: USB Mass Storage device detected
[ 75.045575] scsi host6: usb-storage 2-1.5:1.0
[ 75.045672] usbcore: registered new interface driver usb-storage
[ 75.047235] usbcore: registered new interface driver uas
[ 76.059930] scsi 6:0:0:0: Direct-Access WD Elements 10A8 1042 PQ: 0 ANSI: 6
[ 76.060234] sd 6:0:0:0: Attached scsi generic sg4 type 0
[ 76.066505] sd 6:0:0:0: [sdd] Spinning up disk...
...
[ 316.846001] usb 2-1.5: reset high-speed USB device number 4 using ehci-pci
[ 505.248060] usb 2-1.5: reset high-speed USB device number 4 using ehci-pci
[ 505.360856] sd 6:0:0:0: [sdd] Read Capacity(10) failed: Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK
[ 505.360860] sd 6:0:0:0: [sdd] Sense not available.
[ 599.456916] usb 2-1.5: reset high-speed USB device number 4 using ehci-pci
[ 599.565770] sd 6:0:0:0: [sdd] Attached SCSI disk
$ sudo smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device
...
/dev/sdd -d sat # /dev/sdd [SAT], ATA device # le disk en panne
$ sudo fdisk /dev/sdd
Bienvenue dans fdisk (util-linux 2.31.1).
Les modifications resteront en mémoire jusqu'à écriture.
Soyez prudent avant d'utiliser la commande d'écriture.
fdisk: impossible d'ouvrir /dev/sdd: Aucun fichier ou dossier de ce type
$ sudo smartctl -s on -a /dev/sdd
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-43-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: empty IDENTIFY data
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
$ sudo dd if=/dev/zero of=/dev/sdd bs=512 count=1
dd: erreur d'écriture dans '/dev/sdd': Aucun espace disponible sur le périphérique
1+0 enregistrements lus
0+0 enregistrements écrits
0 bytes copied, 0,000207412 s, 0,0 kB/s
@moko, retour de la commande demandée :
luke:~$ dmesg | tail -1 > ~/tail.txt; sleep 45 && echo -e "\n\tLes 2 derniers systèmes de fichiers montés :"; mount -l | tail -2 ; echo -e "\n\tUSB, les puces :"; lsusb | sort; echo -e "\n\tUSB, les modules :"; lsusb -t; echo -e "\n\tDMESG :"; dmesg | grep -A999 "$(sed -r 's/([].[])/\\\1/g' ~/tail.txt)" | grep -Evi "80211|associate|authenticat|dhclient|dhcp|forcedeth|ipv6|link is not ready|network|no link during initialization|phy[0-9]|tx/rx|tx status|ufw|wlan"; echo -e "\n\tContenu de /media :"; ls -la /media; echo -e "\n\tContenu de /media/moi :"; ls -la "/media/$USER"; echo -e "\n\tGestionnaire de fichiers :"; dpkg -l | grep -i "file manager" | awk '!/plugin|profile/{print $1,$2,$3,$4}' ; echo -e "\n\tNombre d'éléments de /home/moi appartenant à root :"; find ~ -user root | wc -l; echo -e "\n\tDésignation STABLE des périphériques :"; ls -l /dev/disk/by-id | grep -Ev "\-part[2-9]|\-part1[0-9]|\-part2[0-9]" | sort -k 10 | grep -iv total; echo; lsb_release -d; uname -mr; echo; whoami
Les 2 derniers systèmes de fichiers montés :
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=810224k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
USB, les puces :
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 045e:0719 Microsoft Corp. Xbox 360 Wireless Adapter
Bus 001 Device 004: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 001 Device 005: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet K-2024 Multimedia Keyboard
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 002 Device 004: ID 1058:10a8 Western Digital Technologies, Inc. Elements Portable (WDBUZG)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 002: ID 05e3:0612 Genesys Logic, Inc.
Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp.
USB, les modules :
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
|__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
|__ Port 5: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 6: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 6: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
|__ Port 1: Dev 3, If 6, Class=Vendor Specific Class, Driver=xpad, 12M
|__ Port 1: Dev 3, If 4, Class=Vendor Specific Class, Driver=xpad, 12M
|__ Port 1: Dev 3, If 2, Class=Vendor Specific Class, Driver=xpad, 12M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=xpad, 12M
|__ Port 1: Dev 3, If 7, Class=Vendor Specific Class, Driver=, 12M
|__ Port 1: Dev 3, If 5, Class=Vendor Specific Class, Driver=, 12M
|__ Port 1: Dev 3, If 3, Class=Vendor Specific Class, Driver=, 12M
|__ Port 1: Dev 3, If 1, Class=Vendor Specific Class, Driver=, 12M
|__ Port 5: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 6: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 6: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
DMESG :
[ 64.281059] usb 2-1.5: new high-speed USB device number 4 using ehci-pci
[ 64.829444] usb 2-1.5: device descriptor read/64, error -71
[ 65.046642] usb 2-1.5: New USB device found, idVendor=1058, idProduct=10a8
[ 65.046646] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 65.046648] usb 2-1.5: Product: Elements 10A8
[ 65.046651] usb 2-1.5: Manufacturer: Western Digital
[ 65.046653] usb 2-1.5: SerialNumber: 575844314536334C45484B39
[ 65.073347] usb-storage 2-1.5:1.0: USB Mass Storage device detected
[ 65.073553] scsi host6: usb-storage 2-1.5:1.0
[ 65.073700] usbcore: registered new interface driver usb-storage
[ 65.074969] usbcore: registered new interface driver uas
[ 66.087090] scsi 6:0:0:0: Direct-Access WD Elements 10A8 1042 PQ: 0 ANSI: 6
[ 66.087534] sd 6:0:0:0: Attached scsi generic sg4 type 0
[ 66.091514] sd 6:0:0:0: [sdd] Spinning up disk...
[ 67.110316] .
[ 68.133771] .
[ 69.157275] .
[ 70.180795] .
[ 71.204346] .
[ 72.227921] .
[ 73.251519] .
[ 74.275143] .
[ 75.298783] .
[ 76.322434] .
[ 77.346119] .
[ 78.369819] .
[ 79.393555] .
[ 80.417243] .
[ 81.440979] .
Contenu de /media :
total 16
drwxr-xr-x 4 root root 4096 mai 18 07:48 .
drwxr-xr-x 24 root root 4096 août 13 21:15 ..
drwxr-x---+ 9 root root 4096 sept. 1 20:02 home
drwxr-x---+ 2 root root 4096 mai 5 09:46 root
Contenu de /media/moi :
total 36
drwxr-x---+ 9 root root 4096 sept. 1 20:02 .
drwxr-xr-x 4 root root 4096 mai 18 07:48 ..
drwxr-xr-x 2 root root 4096 déc. 9 2018 Data1
drwxr-xr-x 2 root root 4096 avril 27 2018 Data2
drwxr-xr-x 2 root root 4096 avril 27 2018 Data3
drwxr-xr-x 2 root root 4096 déc. 9 2018 Data4
drwxr-xr-x 2 root root 4096 avril 6 19:34 Data5
drwxr-xr-x 2 root root 4096 avril 27 2018 Data6
drwxr-xr-x 2 root root 4096 déc. 9 2018 Data7
Gestionnaire de fichiers :
ii caja 1.20.2-4ubuntu1 amd64
ii caja-common 1.20.2-4ubuntu1 all
ii caja-sendto 1.20.0-1 amd64
Nombre d'éléments de /home/moi appartenant à root :
26
Désignation STABLE des périphériques :
lrwxrwxrwx 1 root root 9 sept. 2 16:30 ata-Corsair_Force_LS_SSD_170179400001226601A0 -> ../../sda
lrwxrwxrwx 1 root root 9 sept. 2 16:30 wwn-0x5000000000000000 -> ../../sda
lrwxrwxrwx 1 root root 10 sept. 2 16:30 ata-Corsair_Force_LS_SSD_170179400001226601A0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 sept. 2 16:30 wwn-0x5000000000000000-part1 -> ../../sda1
lrwxrwxrwx 1 root root 9 sept. 2 16:30 ata-WDC_WD3200AAKX-00ERMA0_WD-WCC2EZ895093 -> ../../sdb
lrwxrwxrwx 1 root root 9 sept. 2 16:30 wwn-0x50014ee2082fff19 -> ../../sdb
lrwxrwxrwx 1 root root 9 sept. 2 16:30 ata-Crucial_CT525MX300SSD1_17491A025DE4 -> ../../sdc
lrwxrwxrwx 1 root root 9 sept. 2 16:30 wwn-0x500a07511a025de4 -> ../../sdc
lrwxrwxrwx 1 root root 10 sept. 2 16:30 ata-Crucial_CT525MX300SSD1_17491A025DE4-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 sept. 2 16:30 wwn-0x500a07511a025de4-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 9 sept. 2 16:30 ata-ASUS_DRW-24F1MT_S1AI6YCG50026Z -> ../../sr0
Description: Ubuntu 18.04.3 LTS
4.15.0-43-generic x86_64
luke
luke:~$