Résolu le 10-10-20 Erreur lors de l'obtention des informations du fichier : Erreur d'entrée/sortie

Questions concernant les composants
Avatar du membre
Linuxing
Messages : 1484
Enregistré le : mar. 25 août 2015 01:28

Re: Erreur lors de l'obtention des informations du fichier : Erreur d'entrée/sortie

Message par Linuxing »

Dernier message de la page précédente :

Salut cyrille :)

Je n'ai pas recopié tout le détail rendu par la commande, mais voici où se trouve ce que tu évoquais :

Code : Tout sélectionner

[27902.405979] sd 5:0:0:0: Attached scsi generic sg2 type 0
[27902.407329] sd 5:0:0:0: [sdb] 121610240 512-byte logical blocks: (62.3 GB/58.0 GiB)
[27902.408566] sd 5:0:0:0: [sdb] Write Protect is off
[27902.408573] sd 5:0:0:0: [sdb] Mode Sense: 23 00 00 00
[27902.409666] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[27902.416550]  sdb: sdb1
[27902.419803] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[27902.989880] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[27938.783324] [UFW BLOCK] IN=wlp1s0 OUT= MAC=01:00:5e:00:00:01:20:0c:c8:0e:85:8a:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=0 PROTO=2 
On y voit bien Write Protect is off


Copier tout était fastidieux :-o
Modifié en dernier par Linuxing le jeu. 3 sept. 2020 21:47, modifié 1 fois.
Laptop depuis le 16 juillet 2021 : Tuxedo Polaris 17 - Processeur Intel® Core I7 - 10750H / NVIDIA GeForce RTX 1650Ti / Full-HD IPS mat 144Hz / DDR4 SO-DIMM : 16 GB (1x 16GB) 3200Mhz CL22 Samsung / SSD: 1000 GB Samsung 860 EVO (M.2 SATAIII) / WLAN & Bluetooth: Intel Wi-Fi 6 AX200 & Bluetooth 5.1 (up to 2400Mbps). OS : Linux Mint 20.3 (Una) Mate depuis ce 16 janvier 2022

Périphériques : 2 HD Western Digital - Imprimante HP Deskjet 2540 Tout-en-un / Scanner Canon Lide 110 - Navigateur : Firefox

Avatar du membre
cyrille
Administrateur du site
Messages : 12400
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: Erreur lors de l'obtention des informations du fichier : Erreur d'entrée/sortie

Message par cyrille »

Juste pour info, pour limiter la sortie

Code : Tout sélectionner

sudo dmesg | tail -n 10
Avec n le nombre de ligne à afficher

Essaie de la reformater de la tester avec smartools ou badblock ;)
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Avatar du membre
Linuxing
Messages : 1484
Enregistré le : mar. 25 août 2015 01:28

Re: Erreur lors de l'obtention des informations du fichier : Erreur d'entrée/sortie

Message par Linuxing »

Salut cyrille ;)

Voici, mais j'ai effacé une partie de la Mac address :

Code : Tout sélectionner

linuxing@linuxing-Satellite-Pro-S300:~$ sudo dmesg | tail -n 10
[sudo] Mot de passe de linuxing :         
[29654.652579] [UFW BLOCK] IN=wlp1s0 OUT= MAC= SRC=2a02:278 DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=401156 PROTO=UDP SPT=8612 DPT=8610 LEN=24 
[29655.490422] scsi 5:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
[29655.491472] sd 5:0:0:0: Attached scsi generic sg2 type 0
[29655.495658] sd 5:0:0:0: [sdb] 121610240 512-byte logical blocks: (62.3 GB/58.0 GiB)
[29655.497039] sd 5:0:0:0: [sdb] Write Protect is off
[29655.497044] sd 5:0:0:0: [sdb] Mode Sense: 23 00 00 00
[29655.498151] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[29655.505928]  sdb: sdb1
[29655.509601] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[29657.551340] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
linuxing@linuxing-Satellite-Pro-S300:~$ 
Laptop depuis le 16 juillet 2021 : Tuxedo Polaris 17 - Processeur Intel® Core I7 - 10750H / NVIDIA GeForce RTX 1650Ti / Full-HD IPS mat 144Hz / DDR4 SO-DIMM : 16 GB (1x 16GB) 3200Mhz CL22 Samsung / SSD: 1000 GB Samsung 860 EVO (M.2 SATAIII) / WLAN & Bluetooth: Intel Wi-Fi 6 AX200 & Bluetooth 5.1 (up to 2400Mbps). OS : Linux Mint 20.3 (Una) Mate depuis ce 16 janvier 2022

Périphériques : 2 HD Western Digital - Imprimante HP Deskjet 2540 Tout-en-un / Scanner Canon Lide 110 - Navigateur : Firefox

Avatar du membre
cyrille
Administrateur du site
Messages : 12400
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: Erreur lors de l'obtention des informations du fichier : Erreur d'entrée/sortie

Message par cyrille »

Il te donne une piste de remède à ton soucis (démontage sauvage de la clef)

Code : Tout sélectionner

[code][29657.551340] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[/code]

Pour rappel, fsck s'execute sur des periph non monté
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Avatar du membre
Linuxing
Messages : 1484
Enregistré le : mar. 25 août 2015 01:28

Re: Erreur lors de l'obtention des informations du fichier : Erreur d'entrée/sortie

Message par Linuxing »

Salut cyrille ;)

Un pas constructif supplémentaire a été fait ;) Mais il faut que tu saches qu'au départ j'avais essayé de démonter le volume avec une commande, sans savoir si c'était «sdb» ou «sdb1», sans correctement y arrivé, je crois :oops:

Alors cette fois, j'ai utilisé l'utilitaire «Disques» pour démonter la partition et là, pas de doute, l'interface affiche clairement que tout est bien démonté :)

Cette fois la fameuse commande qui rata au début, probablement à cause du cafouillage expliqué ci-dessus, a parfaitement réussi, mais je l'ai appliquée aux 2 : sdb et sdb1 :l

Code : Tout sélectionner

linuxing@linuxing-Satellite-Pro-S300:~$ sudo fsck /dev/sdb
[sudo] Mot de passe de linuxing :         
fsck de util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
ext2fs_open2: Numéro magique invalide dans le super-bloc
fsck.ext2 : Superbloc invalide, tentons d'utiliser les blocs de sauvetage...
fsck.ext2: Numéro magique invalide dans le super-bloc lors de la tentative d'ouverture de /dev/sdb

Le superbloc n'a pu être lu ou ne contient pas un système de fichiers
ext2/ext3/ext4 correct. Si le périphérique est valide et qu'il contient réellement
un système de fichiers ext2/ext3/ext4 (et non pas de type swap, ufs ou autre),
alors le superbloc est corrompu, et vous pourriez tenter d'exécuter
e2fsck avec un autre superbloc :
    e2fsck -b 8193 <périphérique>
 ou
    e2fsck -b 32768 <périphérique>

Trouvé une table de partitions dos dans /dev/sdb
linuxing@linuxing-Satellite-Pro-S300:~$ sudo fsck /dev/sdb1
fsck de util-linux 2.31.1
fsck.fat 4.1 (2017-01-24)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Perform changes ? (y/n) y
/dev/sdb1: 1 files, 1/1899693 clusters
linuxing@linuxing-Satellite-Pro-S300:~$ 
Est-ce bien fait ? Et finalement, c'est «sdb» ou «sdb 1» ? :?
Laptop depuis le 16 juillet 2021 : Tuxedo Polaris 17 - Processeur Intel® Core I7 - 10750H / NVIDIA GeForce RTX 1650Ti / Full-HD IPS mat 144Hz / DDR4 SO-DIMM : 16 GB (1x 16GB) 3200Mhz CL22 Samsung / SSD: 1000 GB Samsung 860 EVO (M.2 SATAIII) / WLAN & Bluetooth: Intel Wi-Fi 6 AX200 & Bluetooth 5.1 (up to 2400Mbps). OS : Linux Mint 20.3 (Una) Mate depuis ce 16 janvier 2022

Périphériques : 2 HD Western Digital - Imprimante HP Deskjet 2540 Tout-en-un / Scanner Canon Lide 110 - Navigateur : Firefox

Avatar du membre
arghlub
Administrateur du site
Messages : 10421
Enregistré le : dim. 21 mai 2017 08:19
Localisation : Provence
Contact :

Re: Erreur lors de l'obtention des informations du fichier : Erreur d'entrée/sortie

Message par arghlub »

salut,

"sdb" est ton disque et "sdb1" ta partition ;)
Tour1 (custom)CM MSI Z270 M3 | CPU Intel I7-7700K | CG Nvidia GTX 1080 | RAM 16Go | tripleBoot : Debian 11 | MXlinux 21 | LMint 19.3 | XFCE
Tour2 (custom)CM Gigabyte | CPU AMD Athlon 5200+ | CG Nvidia GTX 560 | RAM 6Go | FreeBSD 12.1 XFCE
Portable1 MSI GF75 Thin 9SC | CPU Intel I7-9750H | CG Nvidia GTX 1650 | RAM 32Go | dualBoot : LMint 20.2 | MXlinux 21 | XFCE
Portable2 MacBook Air A1466 (2015) | CPU Intel I5-5250U | CG Intel HD Graphics 6000 | RAM 8Go | dualBoot : macOS Sierra | MXlinux 21 XFCE
─────( pour une informatique libre ! -membre en stand-by de l' April.org────────────────

Avatar du membre
cyrille
Administrateur du site
Messages : 12400
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: Erreur lors de l'obtention des informations du fichier : Erreur d'entrée/sortie

Message par cyrille »

Comme dit plus huat pour démonter en CLI : c'est umount et non unmount (utilise l'autocompletion , ça aide ;)
Et fsck oui c'est sur périphérique non monté ;)

C'est bon donc, ça passe ? Résolu ?
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Avatar du membre
Linuxing
Messages : 1484
Enregistré le : mar. 25 août 2015 01:28

Re: Erreur lors de l'obtention des informations du fichier : Erreur d'entrée/sortie

Message par Linuxing »

Salut arghlub et cyrille ;)

Si j'ai bien compris, c'est «sdb» qu'il faut selon le cas monter ou démonter et pas la partition «sdb1» :)
A ce stade, c'est résolu dans le cadre de la dernière commande exécutée plus haut et qui a établi l'existence d'un bit défectueux ; ceci serait réparé, mais il paraît qu'un secteur défectueux repose tôt ou tard le même problème :?

J'ai toutefois utilisé smartmontools, mais je me suis emmêlé les pinceaux avec les commandes que je ne maîtrise pas totalement car j'ai du mal à trouver la syntaxe correcte, même avec leur «notice explicative» :lol: En voici le résultat :

Code : Tout sélectionner

linuxing@linuxing-Satellite-Pro-S300:~$ smartctl -i /dev/sda
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.15.0-115-generic] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sda failed: Permission denied
linuxing@linuxing-Satellite-Pro-S300:~$ smartctl -i /dev/sdb
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.15.0-115-generic] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdb: Unknown USB bridge [0x058f:0x6387 (0x100)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

linuxing@linuxing-Satellite-Pro-S300:~$ sudo -s
root@linuxing-Satellite-Pro-S300:~# lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0          7:0    0    97M  1 loop /snap/core/9665
loop1          7:1    0  96,6M  1 loop /snap/core/9804
loop2          7:2    0  17,9M  1 loop /snap/pdftk/9
loop3          7:3    0    80G  0 loop 
└─veracrypt1 253:0    0    80G  0 dm   /media/veracrypt1
sda            8:0    0 149,1G  0 disk 
└─sda1         8:1    0 149,1G  0 part /
sdb            8:16   1    58G  0 disk 
└─sdb1         8:17   1    58G  0 part 
sr0           11:0    1  1024M  0 rom  
root@linuxing-Satellite-Pro-S300:~# smartctl -a /dev/sdb
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.15.0-115-generic] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdb: Unknown USB bridge [0x058f:0x6387 (0x100)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

root@linuxing-Satellite-Pro-S300:~# smartctl -h
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.15.0-115-generic] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

Usage: smartctl [options] device

============================================ SHOW INFORMATION OPTIONS =====

  -h, --help, --usage
         Display this help and exit

  -V, --version, --copyright, --license
         Print license, copyright, and version information and exit

  -i, --info
         Show identity information for device

  --identify[=[w][nvb]]
         Show words and bits from IDENTIFY DEVICE data                (ATA)

  -g NAME, --get=NAME
        Get device setting: all, aam, apm, dsn, lookahead, security,
        wcache, rcache, wcreorder, wcache-sct

  -a, --all
         Show all SMART information for device

  -x, --xall
         Show all information for device

  --scan
         Scan for devices

  --scan-open
         Scan for devices and try to open each device

================================== SMARTCTL RUN-TIME BEHAVIOR OPTIONS =====

  -j, --json[=[cgiosuv]]
         Print output in JSON format

  -q TYPE, --quietmode=TYPE                                           (ATA)
         Set smartctl quiet mode to one of: errorsonly, silent, noserial

  -d TYPE, --device=TYPE
         Specify device type to one of:
         ata, scsi[+TYPE], nvme[,NSID], sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, sntjmicron[,NSID], intelliprop,N[+TYPE], marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, cciss,N, auto, test

  -T TYPE, --tolerance=TYPE                                           (ATA)
         Tolerance: normal, conservative, permissive, verypermissive

  -b TYPE, --badsum=TYPE                                              (ATA)
         Set action on bad checksum to one of: warn, exit, ignore

  -r TYPE, --report=TYPE
         Report transactions (see man page)

  -n MODE[,STATUS], --nocheck=MODE[,STATUS]                           (ATA)
         No check if: never, sleep, standby, idle (see man page)

============================== DEVICE FEATURE ENABLE/DISABLE COMMANDS =====

  -s VALUE, --smart=VALUE
        Enable/disable SMART on device (on/off)

  -o VALUE, --offlineauto=VALUE                                       (ATA)
        Enable/disable automatic offline testing on device (on/off)

  -S VALUE, --saveauto=VALUE                                          (ATA)
        Enable/disable Attribute autosave on device (on/off)

  -s NAME[,VALUE], --set=NAME[,VALUE]
        Enable/disable/change device setting: aam,[N|off], apm,[N|off],
        dsn,[on|off], lookahead,[on|off], security-freeze,
        standby,[N|off|now], wcache,[on|off], rcache,[on|off],
        wcreorder,[on|off[,p]], wcache-sct,[ata|on|off[,p]]

======================================= READ AND DISPLAY DATA OPTIONS =====

  -H, --health
        Show device SMART health status

  -c, --capabilities                                            (ATA, NVMe)
        Show device SMART capabilities

  -A, --attributes
        Show device SMART vendor-specific Attributes and values

  -f FORMAT, --format=FORMAT                                          (ATA)
        Set output format for attributes: old, brief, hex[,id|val]

  -l TYPE, --log=TYPE
        Show device log. TYPE: error, selftest, selective, directory[,g|s],
        xerror[,N][,error], xselftest[,N][,selftest], background,
        sasphy[,reset], sataphy[,reset], scttemp[sts,hist],
        scttempint,N[,p], scterc[,N,M], devstat[,N], defects[,N], ssd,
        gplog,N[,RANGE], smartlog,N[,RANGE], nvmelog,N,SIZE

  -v N,OPTION , --vendorattribute=N,OPTION                            (ATA)
        Set display OPTION for vendor Attribute N (see man page)

  -F TYPE, --firmwarebug=TYPE                                         (ATA)
        Use firmware bug workaround:
        none, nologdir, samsung, samsung2, samsung3, xerrorlba, swapid

  -P TYPE, --presets=TYPE                                             (ATA)
        Drive-specific presets: use, ignore, show, showall

  -B [+]FILE, --drivedb=[+]FILE                                       (ATA)
        Read and replace [add] drive database from FILE
        [default is +/etc/smart_drivedb.h
         and then    /var/lib/smartmontools/drivedb/drivedb.h]

============================================ DEVICE SELF-TEST OPTIONS =====

  -t TEST, --test=TEST
        Run test. TEST: offline, short, long, conveyance, force, vendor,N,
                        select,M-N, pending,N, afterselect,[on|off]

  -C, --captive
        Do test in captive mode (along with -t)

  -X, --abort
        Abort any non-captive test on device

=================================================== SMARTCTL EXAMPLES =====

  smartctl --all /dev/sda                    (Prints all SMART information)

  smartctl --smart=on --offlineauto=on --saveauto=on /dev/sda
                                              (Enables SMART on first disk)

  smartctl --test=long /dev/sda          (Executes extended disk self-test)

  smartctl --attributes --log=selftest --quietmode=errorsonly /dev/sda
                                      (Prints Self-Test & Attribute errors)
  smartctl --all --device=3ware,2 /dev/sda
  smartctl --all --device=3ware,2 /dev/twe0
  smartctl --all --device=3ware,2 /dev/twa0
  smartctl --all --device=3ware,2 /dev/twl0
          (Prints all SMART info for 3rd ATA disk on 3ware RAID controller)
  smartctl --all --device=hpt,1/1/3 /dev/sda
          (Prints all SMART info for the SATA disk attached to the 3rd PMPort
           of the 1st channel on the 1st HighPoint RAID controller)
  smartctl --all --device=areca,3/1 /dev/sg2
          (Prints all SMART info for 3rd ATA disk of the 1st enclosure
           on Areca RAID controller)

root@linuxing-Satellite-Pro-S300:~# smartctl -d /dev/sdb
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.15.0-115-generic] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

ERROR: smartctl requires a device name as the final command-line argument.


Use smartctl -h to get a usage summary

root@linuxing-Satellite-Pro-S300:~# smartctl -d /dev/USB mauve
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.15.0-115-generic] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

mauve: Unknown device type '/dev/USB'
=======> VALID ARGUMENTS ARE: ata, scsi[+TYPE], nvme[,NSID], sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, sntjmicron[,NSID], intelliprop,N[+TYPE], marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, cciss,N, auto, test <=======

Use smartctl -h to get a usage summary

root@linuxing-Satellite-Pro-S300:~# 
:| 8-)
Laptop depuis le 16 juillet 2021 : Tuxedo Polaris 17 - Processeur Intel® Core I7 - 10750H / NVIDIA GeForce RTX 1650Ti / Full-HD IPS mat 144Hz / DDR4 SO-DIMM : 16 GB (1x 16GB) 3200Mhz CL22 Samsung / SSD: 1000 GB Samsung 860 EVO (M.2 SATAIII) / WLAN & Bluetooth: Intel Wi-Fi 6 AX200 & Bluetooth 5.1 (up to 2400Mbps). OS : Linux Mint 20.3 (Una) Mate depuis ce 16 janvier 2022

Périphériques : 2 HD Western Digital - Imprimante HP Deskjet 2540 Tout-en-un / Scanner Canon Lide 110 - Navigateur : Firefox

Avatar du membre
cyrille
Administrateur du site
Messages : 12400
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: Erreur lors de l'obtention des informations du fichier : Erreur d'entrée/sortie

Message par cyrille »

tiens mon "mémo" pour smartmoontools
https://cbiot.fr/dokuwiki/freebsd-smartmontools
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Avatar du membre
Linuxing
Messages : 1484
Enregistré le : mar. 25 août 2015 01:28

Re: Erreur lors de l'obtention des informations du fichier : Erreur d'entrée/sortie

Message par Linuxing »

Merci pour le mémo, mais chez moi ça patine :shock:

Code : Tout sélectionner

linuxing@linuxing-Satellite-Pro-S300:~$ dmesg | grep disk
[    3.555418] sd 0:0:0:0: [sda] Attached SCSI disk
[13128.957947] sd 0:0:0:0: [sda] Stopping disk
[13129.605145] sd 0:0:0:0: [sda] Starting disk
[15574.961681] sd 5:0:0:0: [sdb] Attached SCSI removable disk
linuxing@linuxing-Satellite-Pro-S300:~$ clear

linuxing@linuxing-Satellite-Pro-S300:~$ history -c
linuxing@linuxing-Satellite-Pro-S300:~$ smartctl -i /dev/sdb
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.15.0-115-generic] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdb: Unknown USB bridge [0x058f:0x6387 (0x100)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

linuxing@linuxing-Satellite-Pro-S300:~$ smartctl -d /dev/sdb
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.15.0-115-generic] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

ERROR: smartctl requires a device name as the final command-line argument.


Use smartctl -h to get a usage summary

linuxing@linuxing-Satellite-Pro-S300:~$ smartctl -d /dev/sdb/USB mauve
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.15.0-115-generic] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

mauve: Unknown device type '/dev/sdb/USB'
=======> VALID ARGUMENTS ARE: ata, scsi[+TYPE], nvme[,NSID], sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, sntjmicron[,NSID], intelliprop,N[+TYPE], marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, cciss,N, auto, test <=======

Use smartctl -h to get a usage summary

linuxing@linuxing-Satellite-Pro-S300:~$ smartctl -d /dev/USB mauve
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.15.0-115-generic] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

mauve: Unknown device type '/dev/USB'
=======> VALID ARGUMENTS ARE: ata, scsi[+TYPE], nvme[,NSID], sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, sntjmicron[,NSID], intelliprop,N[+TYPE], marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, cciss,N, auto, test <=======

Use smartctl -h to get a usage summary

linuxing@linuxing-Satellite-Pro-S300:~$ 
:cry:

PS : le nom affiché dans le panneau latéral pour ma clé est : USB mauve
Laptop depuis le 16 juillet 2021 : Tuxedo Polaris 17 - Processeur Intel® Core I7 - 10750H / NVIDIA GeForce RTX 1650Ti / Full-HD IPS mat 144Hz / DDR4 SO-DIMM : 16 GB (1x 16GB) 3200Mhz CL22 Samsung / SSD: 1000 GB Samsung 860 EVO (M.2 SATAIII) / WLAN & Bluetooth: Intel Wi-Fi 6 AX200 & Bluetooth 5.1 (up to 2400Mbps). OS : Linux Mint 20.3 (Una) Mate depuis ce 16 janvier 2022

Périphériques : 2 HD Western Digital - Imprimante HP Deskjet 2540 Tout-en-un / Scanner Canon Lide 110 - Navigateur : Firefox

Avatar du membre
cyrille
Administrateur du site
Messages : 12400
Enregistré le : mar. 19 sept. 2017 08:49
Localisation : Nowhere
Contact :

Re: Erreur lors de l'obtention des informations du fichier : Erreur d'entrée/sortie

Message par cyrille »

smartctl necessite de préciser le device particulier des cles et periph USB
Tu l'obtiens par

Code : Tout sélectionner

sudo dmesg
après insertion du périphérique

Et en recherchant ​idVendor:idProduct ensuite dans cette page https://www.smartmontools.org/wiki/Supp ... ndor0x0500

Attention, tous les clefs USB ne sont pas compatibles avec les periph USB
?séuqartéd sel ruoP / sécnoféd sel ruoP / sreiruréB sel ruoP / ?étéicos elleuQ

https://crust.ovh

Répondre