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.

#1 Le 17/06/2018, à 18:20

ggedeon

[résolu] impossible d'ejecter clé USB

Bonjour,

suite à une tentative de création d'image Live pour ubuntu-18.04 sur une clé usb avec la commande dcfldd qui a eu l'air de fonctionner.
après l'exécution de la commande, je n'avais qu'une ancienne image sur la clé.
j'ai fait différente manips en console notamment umount sdf.
maintenant en voulant éjecter une autre clé sur le système  suivant :

Ecriture des données sur le périphérique
Des données doivent être écrites sur le périphérique ''DLEXAR_16G'' avant sa déconnexion. Veuillez ne pas retirer le support ou déconnecter le lecteur, 

et puis :

Error ejecting /dev/sdf: Command-line `eject "/dev/sdf"' exited with non-zero exit status 1: eject : tentative d'utilisation de `/dev/sdf' comme nom de périphérique mais il ne s'agit pas d'un périphérique
eject : tentative d'utilisation de `.//dev/sdf' comme nom de périphérique mais il ne s'agit pas d'un périphérique
eject: impossible de trouver ou d'ouvrir le périphérique pour: `/dev/sdf'

je ne sais pas quoi faire

Dernière modification par ggedeon (Le 17/06/2018, à 21:53)


1) ASUSPRO S340MF  Intel® Core™ i3-9100 CPU @ 3.60GHz × 4  carte Mesa Intel® UHD Graphics 630 (CFL GT2)
systèmes :  Ubuntu 20.04.2
2) ASUS X55W8 Intel Pentium 2020 RAM DDR3 4 Go - Intel HD - Ubuntu 20.04.02

Hors ligne

#2 Le 17/06/2018, à 18:48

moko138

Re : [résolu] impossible d'ejecter clé USB

Montre

df -Th

et tente

sudo umount /dev/sdf1

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

Hors ligne

#3 Le 17/06/2018, à 19:49

ggedeon

Re : [résolu] impossible d'ejecter clé USB

Merci pour la réponse !
voici le résultat :

gerard@gerard-M61PME-S2:~$ df -Th
Sys. de fichiers Type     Taille Utilisé Dispo Uti% Monté sur
udev             devtmpfs   1,5G       0  1,5G   0% /dev
tmpfs            tmpfs      294M    1,3M  293M   1% /run
/dev/sda2        ext4        16G    4,8G   11G  32% /
tmpfs            tmpfs      1,5G     24M  1,5G   2% /dev/shm
tmpfs            tmpfs      5,0M    4,0K  5,0M   1% /run/lock
tmpfs            tmpfs      1,5G       0  1,5G   0% /sys/fs/cgroup
/dev/loop0       squashfs   9,3M    9,3M     0 100% /snap/hashit/324
/dev/loop1       squashfs    87M     87M     0 100% /snap/core/4650
/dev/sda3        ext4       7,7G    2,4G  5,0G  33% /home
tmpfs            tmpfs      294M     16K  294M   1% /run/user/1000
/dev/sda7        ext4        10G    1,2G  8,4G  12% /media/gerard/data
gerard@gerard-M61PME-S2:~$ 
gerard@gerard-M61PME-S2:~$ sudo umount /dev/sdf1
[sudo] Mot de passe de gerard : 
umount: /dev/sdf1 : Aucun point de montage indiqué.
gerard@gerard-M61PME-S2:~$ 

j'ai aussi fait un ls-l sur le dossier dev =>

gerard@gerard-M61PME-S2:~$ cd /dev
gerard@gerard-M61PME-S2:/dev$ ls -l
total 0
crw-r--r--  1 root root     10, 235 juin  17 20:40 autofs
drwxr-xr-x  2 root root         560 juin  17 20:40 block
drwxr-xr-x  2 root root         160 juin  17 20:40 bsg
crw-------  1 root root     10, 234 juin  17 20:40 btrfs-control
drwxr-xr-x  3 root root          60 juin  17 20:40 bus
lrwxrwxrwx  1 root root           3 juin  17 20:40 cdrom -> sr0
lrwxrwxrwx  1 root root           3 juin  17 20:40 cdrw -> sr0
drwxr-xr-x  2 root root        3860 juin  17 20:40 char
crw-------  1 root root      5,   1 juin  17 20:41 console
lrwxrwxrwx  1 root root          11 juin  17 20:40 core -> /proc/kcore
crw-------  1 root root     10,  59 juin  17 20:40 cpu_dma_latency
crw-------  1 root root     10, 203 juin  17 20:40 cuse
drwxr-xr-x  7 root root         140 juin  17 20:40 disk
drwxr-xr-x  3 root root         100 juin  17 20:40 dri
lrwxrwxrwx  1 root root           3 juin  17 20:40 dvd -> sr0
lrwxrwxrwx  1 root root           3 juin  17 20:40 dvdrw -> sr0
crw-------  1 root root     10,  61 juin  17 20:40 ecryptfs
crw-rw----  1 root video    29,   0 juin  17 20:40 fb0
lrwxrwxrwx  1 root root          13 juin  17 20:40 fd -> /proc/self/fd
crw-rw-rw-  1 root root      1,   7 juin  17 20:40 full
crw-rw-rw-  1 root root     10, 229 juin  17 20:40 fuse
crw-------  1 root root    244,   0 juin  17 20:40 hidraw0
crw-------  1 root root     10, 228 juin  17 20:40 hpet
drwxr-xr-x  2 root root           0 juin  17 20:40 hugepages
crw-------  1 root root     10, 183 juin  17 20:40 hwrng
crw-------  1 root root     89,   0 juin  17 20:40 i2c-0
crw-------  1 root root     89,   1 juin  17 20:40 i2c-1
crw-------  1 root root     89,   2 juin  17 20:40 i2c-2
crw-------  1 root root     89,   3 juin  17 20:40 i2c-3
crw-------  1 root root     89,   4 juin  17 20:40 i2c-4
lrwxrwxrwx  1 root root          25 juin  17 20:40 initctl -> /run/systemd/initctl/fifo
drwxr-xr-x  4 root root         300 juin  17 20:40 input
crw-r--r--  1 root root      1,  11 juin  17 20:40 kmsg
drwxr-xr-x  2 root root          60 juin  17 20:40 lightnvm
lrwxrwxrwx  1 root root          28 juin  17 20:40 log -> /run/systemd/journal/dev-log
brw-rw----  1 root disk      7,   0 juin  17 20:40 loop0
brw-rw----  1 root disk      7,   1 juin  17 20:40 loop1
brw-rw----  1 root disk      7,   2 juin  17 20:40 loop2
brw-rw----  1 root disk      7,   3 juin  17 20:40 loop3
brw-rw----  1 root disk      7,   4 juin  17 20:40 loop4
brw-rw----  1 root disk      7,   5 juin  17 20:40 loop5
brw-rw----  1 root disk      7,   6 juin  17 20:40 loop6
brw-rw----  1 root disk      7,   7 juin  17 20:40 loop7
crw-rw----  1 root disk     10, 237 juin  17 20:40 loop-control
crw-rw----  1 root lp        6,   0 juin  17 20:40 lp0
drwxr-xr-x  2 root root          60 juin  17 20:40 mapper
crw-------  1 root root     10, 227 juin  17 20:40 mcelog
crw-r-----  1 root kmem      1,   1 juin  17 20:40 mem
crw-------  1 root root     10,  56 juin  17 20:40 memory_bandwidth
drwxrwxrwt  2 root root          40 juin  17 20:40 mqueue
drwxr-xr-x  2 root root          60 juin  17 20:40 net
crw-------  1 root root     10,  58 juin  17 20:40 network_latency
crw-------  1 root root     10,  57 juin  17 20:40 network_throughput
crw-rw-rw-  1 root root      1,   3 juin  17 20:40 null
crw-rw-r--  1 root lp       99,   0 juin  17 20:40 parport0
crw-r-----  1 root kmem      1,   4 juin  17 20:40 port
crw-------  1 root root    108,   0 juin  17 20:40 ppp
crw-------  1 root root     10,   1 juin  17 20:40 psaux
crw-rw-rw-  1 root tty       5,   2 juin  17 20:52 ptmx
drwxr-xr-x  2 root root           0 juin  17 20:40 pts
crw-rw-rw-  1 root root      1,   8 juin  17 20:40 random
crw-rw-r--  1 root root     10,  62 juin  17 20:40 rfkill
lrwxrwxrwx  1 root root           4 juin  17 20:40 rtc -> rtc0
crw-------  1 root root    249,   0 juin  17 20:40 rtc0
brw-rw----  1 root disk      8,   0 juin  17 20:40 sda
brw-rw----  1 root disk      8,   1 juin  17 20:40 sda1
brw-rw----  1 root disk      8,  10 juin  17 20:40 sda10
brw-rw----  1 root disk      8,  11 juin  17 20:40 sda11
brw-rw----  1 root disk      8,  12 juin  17 20:40 sda12
brw-rw----  1 root disk      8,   2 juin  17 20:40 sda2
brw-rw----  1 root disk      8,   3 juin  17 20:40 sda3
brw-rw----  1 root disk      8,   4 juin  17 20:40 sda4
brw-rw----  1 root disk      8,   5 juin  17 20:40 sda5
brw-rw----  1 root disk      8,   6 juin  17 20:40 sda6
brw-rw----  1 root disk      8,   7 juin  17 20:40 sda7
brw-rw----  1 root disk      8,   8 juin  17 20:40 sda8
brw-rw----  1 root disk      8,   9 juin  17 20:40 sda9
brw-rw----  1 root disk      8,  16 juin  17 20:40 sdb
brw-rw----  1 root disk      8,  32 juin  17 20:40 sdc
brw-rw----  1 root disk      8,  48 juin  17 20:40 sdd
brw-rw----  1 root disk      8,  64 juin  17 20:40 sde
crw-rw----+ 1 root cdrom    21,   0 juin  17 20:40 sg0
crw-rw----  1 root disk     21,   1 juin  17 20:40 sg1
crw-rw----  1 root disk     21,   2 juin  17 20:40 sg2
crw-rw----  1 root disk     21,   3 juin  17 20:40 sg3
crw-rw----  1 root disk     21,   4 juin  17 20:40 sg4
crw-rw----  1 root disk     21,   5 juin  17 20:40 sg5
drwxrwxrwt  2 root root          40 juin  17 20:50 shm
crw-------  1 root root     10, 231 juin  17 20:40 snapshot
drwxr-xr-x  3 root root         220 juin  17 20:40 snd
brw-rw----+ 1 root cdrom    11,   0 juin  17 20:40 sr0
lrwxrwxrwx  1 root root          15 juin  17 20:40 stderr -> /proc/self/fd/2
lrwxrwxrwx  1 root root          15 juin  17 20:40 stdin -> /proc/self/fd/0
lrwxrwxrwx  1 root root          15 juin  17 20:40 stdout -> /proc/self/fd/1
crw-rw-rw-  1 root tty       5,   0 juin  17 20:48 tty
crw--w----  1 root tty       4,   0 juin  17 20:40 tty0
crw--w----  1 root tty       4,   1 juin  17 20:40 tty1
crw--w----  1 root tty       4,  10 juin  17 20:40 tty10
crw--w----  1 root tty       4,  11 juin  17 20:40 tty11
crw--w----  1 root tty       4,  12 juin  17 20:40 tty12
crw--w----  1 root tty       4,  13 juin  17 20:40 tty13
crw--w----  1 root tty       4,  14 juin  17 20:40 tty14
crw--w----  1 root tty       4,  15 juin  17 20:40 tty15
crw--w----  1 root tty       4,  16 juin  17 20:40 tty16
crw--w----  1 root tty       4,  17 juin  17 20:40 tty17
crw--w----  1 root tty       4,  18 juin  17 20:40 tty18
crw--w----  1 root tty       4,  19 juin  17 20:40 tty19
crw--w----  1 root tty       4,   2 juin  17 20:40 tty2
crw--w----  1 root tty       4,  20 juin  17 20:40 tty20
crw--w----  1 root tty       4,  21 juin  17 20:40 tty21
crw--w----  1 root tty       4,  22 juin  17 20:40 tty22
crw--w----  1 root tty       4,  23 juin  17 20:40 tty23
crw--w----  1 root tty       4,  24 juin  17 20:40 tty24
crw--w----  1 root tty       4,  25 juin  17 20:40 tty25
crw--w----  1 root tty       4,  26 juin  17 20:40 tty26
crw--w----  1 root tty       4,  27 juin  17 20:40 tty27
crw--w----  1 root tty       4,  28 juin  17 20:40 tty28
crw--w----  1 root tty       4,  29 juin  17 20:40 tty29
crw--w----  1 root tty       4,   3 juin  17 20:40 tty3
crw--w----  1 root tty       4,  30 juin  17 20:40 tty30
crw--w----  1 root tty       4,  31 juin  17 20:40 tty31
crw--w----  1 root tty       4,  32 juin  17 20:40 tty32
crw--w----  1 root tty       4,  33 juin  17 20:40 tty33
crw--w----  1 root tty       4,  34 juin  17 20:40 tty34
crw--w----  1 root tty       4,  35 juin  17 20:40 tty35
crw--w----  1 root tty       4,  36 juin  17 20:40 tty36
crw--w----  1 root tty       4,  37 juin  17 20:40 tty37
crw--w----  1 root tty       4,  38 juin  17 20:40 tty38
crw--w----  1 root tty       4,  39 juin  17 20:40 tty39
crw--w----  1 root tty       4,   4 juin  17 20:40 tty4
crw--w----  1 root tty       4,  40 juin  17 20:40 tty40
crw--w----  1 root tty       4,  41 juin  17 20:40 tty41
crw--w----  1 root tty       4,  42 juin  17 20:40 tty42
crw--w----  1 root tty       4,  43 juin  17 20:40 tty43
crw--w----  1 root tty       4,  44 juin  17 20:40 tty44
crw--w----  1 root tty       4,  45 juin  17 20:40 tty45
crw--w----  1 root tty       4,  46 juin  17 20:40 tty46
crw--w----  1 root tty       4,  47 juin  17 20:40 tty47
crw--w----  1 root tty       4,  48 juin  17 20:40 tty48
crw--w----  1 root tty       4,  49 juin  17 20:40 tty49
crw--w----  1 root tty       4,   5 juin  17 20:40 tty5
crw--w----  1 root tty       4,  50 juin  17 20:40 tty50
crw--w----  1 root tty       4,  51 juin  17 20:40 tty51
crw--w----  1 root tty       4,  52 juin  17 20:40 tty52
crw--w----  1 root tty       4,  53 juin  17 20:40 tty53
crw--w----  1 root tty       4,  54 juin  17 20:40 tty54
crw--w----  1 root tty       4,  55 juin  17 20:40 tty55
crw--w----  1 root tty       4,  56 juin  17 20:40 tty56
crw--w----  1 root tty       4,  57 juin  17 20:40 tty57
crw--w----  1 root tty       4,  58 juin  17 20:40 tty58
crw--w----  1 root tty       4,  59 juin  17 20:40 tty59
crw--w----  1 root tty       4,   6 juin  17 20:40 tty6
crw--w----  1 root tty       4,  60 juin  17 20:40 tty60
crw--w----  1 root tty       4,  61 juin  17 20:40 tty61
crw--w----  1 root tty       4,  62 juin  17 20:40 tty62
crw--w----  1 root tty       4,  63 juin  17 20:40 tty63
crw--w----  1 root tty       4,   7 juin  17 20:40 tty7
crw--w----  1 root tty       4,   8 juin  17 20:40 tty8
crw--w----  1 root tty       4,   9 juin  17 20:40 tty9
crw-------  1 root root      5,   3 juin  17 20:40 ttyprintk
crw-rw----  1 root dialout   4,  64 juin  17 20:40 ttyS0
crw-rw----  1 root dialout   4,  65 juin  17 20:40 ttyS1
crw-rw----  1 root dialout   4,  74 juin  17 20:40 ttyS10
crw-rw----  1 root dialout   4,  75 juin  17 20:40 ttyS11
crw-rw----  1 root dialout   4,  76 juin  17 20:40 ttyS12
crw-rw----  1 root dialout   4,  77 juin  17 20:40 ttyS13
crw-rw----  1 root dialout   4,  78 juin  17 20:40 ttyS14
crw-rw----  1 root dialout   4,  79 juin  17 20:40 ttyS15
crw-rw----  1 root dialout   4,  80 juin  17 20:40 ttyS16
crw-rw----  1 root dialout   4,  81 juin  17 20:40 ttyS17
crw-rw----  1 root dialout   4,  82 juin  17 20:40 ttyS18
crw-rw----  1 root dialout   4,  83 juin  17 20:40 ttyS19
crw-rw----  1 root dialout   4,  66 juin  17 20:40 ttyS2
crw-rw----  1 root dialout   4,  84 juin  17 20:40 ttyS20
crw-rw----  1 root dialout   4,  85 juin  17 20:40 ttyS21
crw-rw----  1 root dialout   4,  86 juin  17 20:40 ttyS22
crw-rw----  1 root dialout   4,  87 juin  17 20:40 ttyS23
crw-rw----  1 root dialout   4,  88 juin  17 20:40 ttyS24
crw-rw----  1 root dialout   4,  89 juin  17 20:40 ttyS25
crw-rw----  1 root dialout   4,  90 juin  17 20:40 ttyS26
crw-rw----  1 root dialout   4,  91 juin  17 20:40 ttyS27
crw-rw----  1 root dialout   4,  92 juin  17 20:40 ttyS28
crw-rw----  1 root dialout   4,  93 juin  17 20:40 ttyS29
crw-rw----  1 root dialout   4,  67 juin  17 20:40 ttyS3
crw-rw----  1 root dialout   4,  94 juin  17 20:40 ttyS30
crw-rw----  1 root dialout   4,  95 juin  17 20:40 ttyS31
crw-rw----  1 root dialout   4,  68 juin  17 20:40 ttyS4
crw-rw----  1 root dialout   4,  69 juin  17 20:40 ttyS5
crw-rw----  1 root dialout   4,  70 juin  17 20:40 ttyS6
crw-rw----  1 root dialout   4,  71 juin  17 20:40 ttyS7
crw-rw----  1 root dialout   4,  72 juin  17 20:40 ttyS8
crw-rw----  1 root dialout   4,  73 juin  17 20:40 ttyS9
crw-------  1 root root     10, 239 juin  17 20:40 uhid
crw-------  1 root root     10, 223 juin  17 20:40 uinput
crw-rw-rw-  1 root root      1,   9 juin  17 20:40 urandom
crw-------  1 root root     10, 240 juin  17 20:40 userio
crw-rw----  1 root tty       7,   0 juin  17 20:40 vcs
crw-rw----  1 root tty       7,   1 juin  17 20:40 vcs1
crw-rw----  1 root tty       7,   2 juin  17 20:40 vcs2
crw-rw----  1 root tty       7,   3 juin  17 20:40 vcs3
crw-rw----  1 root tty       7,   4 juin  17 20:40 vcs4
crw-rw----  1 root tty       7,   5 juin  17 20:40 vcs5
crw-rw----  1 root tty       7,   6 juin  17 20:40 vcs6
crw-rw----  1 root tty       7,   7 juin  17 20:40 vcs7
crw-rw----  1 root tty       7, 128 juin  17 20:40 vcsa
crw-rw----  1 root tty       7, 129 juin  17 20:40 vcsa1
crw-rw----  1 root tty       7, 130 juin  17 20:40 vcsa2
crw-rw----  1 root tty       7, 131 juin  17 20:40 vcsa3
crw-rw----  1 root tty       7, 132 juin  17 20:40 vcsa4
crw-rw----  1 root tty       7, 133 juin  17 20:40 vcsa5
crw-rw----  1 root tty       7, 134 juin  17 20:40 vcsa6
crw-rw----  1 root tty       7, 135 juin  17 20:40 vcsa7
drwxr-xr-x  2 root root          60 juin  17 20:40 vfio
crw-------  1 root root     10,  63 juin  17 20:40 vga_arbiter
crw-------  1 root root     10, 137 juin  17 20:40 vhci
crw-------  1 root root     10, 238 juin  17 20:40 vhost-net
crw-------  1 root root     10, 241 juin  17 20:40 vhost-vsock
crw-rw-rw-  1 root root      1,   5 juin  17 20:40 zero
gerard@gerard-M61PME-S2:/dev$ 

Dernière modification par ggedeon (Le 17/06/2018, à 19:55)


1) ASUSPRO S340MF  Intel® Core™ i3-9100 CPU @ 3.60GHz × 4  carte Mesa Intel® UHD Graphics 630 (CFL GT2)
systèmes :  Ubuntu 20.04.2
2) ASUS X55W8 Intel Pentium 2020 RAM DDR3 4 Go - Intel HD - Ubuntu 20.04.02

Hors ligne

#4 Le 17/06/2018, à 20:20

moko138

Re : [résolu] impossible d'ejecter clé USB

Le retour de df -Th montre que tu n'as aucune clef montée.

Pour plus de détails :

man df

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

Hors ligne

#5 Le 17/06/2018, à 21:53

ggedeon

Re : [résolu] impossible d'ejecter clé USB

OK  je crois que le problème a été résolu en redémarrant le système.
merci je poste en résolu


1) ASUSPRO S340MF  Intel® Core™ i3-9100 CPU @ 3.60GHz × 4  carte Mesa Intel® UHD Graphics 630 (CFL GT2)
systèmes :  Ubuntu 20.04.2
2) ASUS X55W8 Intel Pentium 2020 RAM DDR3 4 Go - Intel HD - Ubuntu 20.04.02

Hors ligne