USB impossible à formater

zoltanxx

Membre confirmé
17 Avril 2020
79
0
29
Nord
Ça a marché. Repasse la commande :
Bloc de code:
diskutil eraseDisk fat32 USB mbr disk2 ; diskutil list disk2
  • et poste le retour.
Bloc de code:
stevens-macbook-pro:~ stevenbrood$ diskutil eraseDisk fat32 USB mbr disk2 ; diskutil list disk2
Started erase on disk2
Unmounting disk
Creating the partition map
Error: -69877: Couldn't open device
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *31.0 GB    disk2
   1:             Windows_FAT_32 USB                     31.0 GB    disk2s1

Capture d’écran 2021-02-04 à 22.36.45.png


...
 

Malotrùu

Membre actif
5 Mai 2020
139
4
Bonjour à tous,

j'ai ma clef usb préférée qui refuse de se faire formater aujourd'hui! De lecture/ecriture autorisés en EXFAT, elle était passée inopinement en lecture seulement. Donc je tente de la remettre à 0 via l'utilitaire de disque, impossible! refus de s'ouvrir.
idem via le terminal: "Error: -69877: Couldn't open device"

Un petit coup de main serai top S'il vous plait :p

Bloc de code:
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:                  Apple_HFS Bibliothèque            2.0 TB     disk0s2

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         999.9 GB   disk1s2

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +999.9 GB   disk2
                                 Physical Store disk1s2
   1:                APFS Volume OSX - Données           55.0 GB    disk2s1
   2:                APFS Volume Preboot                 30.7 MB    disk2s2
   3:                APFS Volume Recovery                525.8 MB   disk2s3
   4:                APFS Volume VM                      1.1 GB     disk2s4
   5:                APFS Volume OSX                     11.3 GB    disk2s5

/dev/disk3 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *31.0 GB    disk3
   1:               Windows_NTFS FRUSB                   31.0 GB    disk3s1
 

Locke

What am I doing here?
Modérateur
Club MacG
20 Juillet 2011
40 947
6 411
Oui jai bien Lu ce résultat, mais j’ai pas eu cette fenêtre Apple qui s’est ouverte..
Peu importe, c'est le code d'erreur qu'il faut prendre en compte. Si tu ne peux plus la formater dans quelque format que ce soit, il y a bien un problème de structure irrémédiablement corrompue.
 

Malotrùu

Membre actif
5 Mai 2020
139
4
Sous réserve que les coordonnées du disque soient toujours les mêmes [->disk3] :

sudo fsck_exfat -d disk3s1
Merci Moonwalker pour ton retour

voici ce que j'obtiens (en ayant supprimé toutes les lignes d'analyses des fichiers un par un, ca rentrai pas dans le bloc de code):

Bloc de code:
Password:
Opening /dev/rdisk3s1
fsck_exfat: Opened /dev/rdisk3s1 read-only
** Checking volume.
** Checking main boot region.
60628992 total sectors; 512 bytes per sector
FAT starts at sector 2048; size 8192 sectors
947168 clusters starting at sector 10240; 32768 bytes per cluster
Root directory starts at cluster 7
Read      offset = 0x000000100000  length = 0x001000
** Checking system files.
Read      offset = 0x000000528000  length = 0x008000
** Volume name is FRUSB.
Found active bitmap; first cluster 2, length 118396
** Checking upper case translation table.
Read      offset = 0x000000520000  length = 0x008000
Found upcase table; starting cluster 6, length 5836
** Checking file system hierarchy.
Directory /
Directory /.Spotlight-V100


File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/Cab.created
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/indexState
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.indexPostings
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.indexIds
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.indexBigDates
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.indexGroups
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.indexPositions
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.indexDirectory
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.indexCompactDirectory
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.indexArrays
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.shadowIndexHead
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.indexUpdates
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.directoryStoreFile
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.directoryStoreFile.shadow
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.indexHead
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.indexIds
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.indexBigDates
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.indexGroups
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.indexPostings
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.indexTermIds
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.indexPositions
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.indexPositionTable
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.indexDirectory
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.indexCompactDirectory
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.indexArrays
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/store.updates
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.directoryStoreFile
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/store.db
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/.store.db
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/reverseDirectoryStore
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/tmp.spotlight.state
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/store_generation
Directory /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.corespotlight
Directory /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.live
Directory /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.live_system
Directory /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.live_user
Directory /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.live_priority
Directory /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.assisted_import_pre
Directory /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.assisted_import_post
Directory /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.health_check
Directory /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.migration
Directory /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.migration_secondchance
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journalExclusion
Directory /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.scan
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/shutdown_time
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/reverseDirectoryStore.shadow
Directory /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.repair
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/Cab.modified
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journalAttr.1
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.shadowIndexGroups
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.shadowIndexHead
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.shadowIndexTermIds
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.shadowIndexPositionTable
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.shadowIndexCompactDirectory
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.shadowIndexDirectory
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.shadowIndexArrays
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.directoryStoreFile.shadow
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/live.0.shadowIndexGroups
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/0.indexHead
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/reverseStore.updates
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/tmp.spotlight.loc
Read      offset = 0x0000009c0000  length = 0x008000
Directory /.TemporaryItems/folders.501/TemporaryItems/(En enregistrement par Excel)
File      /.TemporaryItems/folders.501/TemporaryItems/._(En enregistrement par Excel)
Read      offset = 0x000000728000  length = 0x008000
Read      offset = 0x000000730000  length = 0x008000
Read      offset = 0x0000006d8000  length = 0x008000
Read      offset = 0x0000006b8000  length = 0x008000
File      /.Spotlight-V100/Store-V2/58A4112A-12A3-4DE0-A64E-D82AB5CA88A3/journals.live_user/journal.1
Read      offset = 0x000000738000  length = 0x008000
Read      offset = 0x000000740000  length = 0x008000
Read      offset = 0x000000748000  length = 0x008000
Read      offset = 0x000000750000  length = 0x008000
Read      offset = 0x000000758000  length = 0x008000
Read      offset = 0x000000768000  length = 0x008000
Read      offset = 0x000000770000  length = 0x008000
Read      offset = 0x000000718000  length = 0x008000
Read      offset = 0x0000009f0000  length = 0x008000
File      /.TemporaryItems/folders.501/TemporaryItems/(En enregistrement par Excel)/24E59000.MACTF
File      /.TemporaryItems/folders.501/TemporaryItems/(En enregistrement par Excel)/._24E59000.MACTF
** Checking active bitmap.
Checking bitmap cluster 2
Read      offset = 0x000000500000  length = 0x008000
Checking bitmap cluster 3
Read      offset = 0x000000508000  length = 0x008000
Checking bitmap cluster 4
Read      offset = 0x000000510000  length = 0x008000
Checking bitmap cluster 5
Read      offset = 0x000000518000  length = 0x008000
0 clusters were marked used, but not referenced
0 clusters were marked used and CLUST_BAD
0 clusters were marked free, but referenced
** Rechecking main boot region.
** Rechecking alternate boot region.
** The volume FRUSB appears to be OK.
 

Malotrùu

Membre actif
5 Mai 2020
139
4
La clé est donc loin d’être foutue. Tu devrais pouvoir l’effacer avec l’utilitaire de disque. Essaye de changer de schéma de partition pour GUID et le format pour Mac OS étendu.
Génial!

Ca ne marche toujours pas! Pour info, elle est verrouillée en lecture seulement, je n'arrive même pas à supprimer les fichiers dedans