1 |
Am Fri, 02 Mar 2018 22:17:02 -0700 schrieb thelma: |
2 |
|
3 |
>>> I 've "dosfstools" installed but I can not run: dosfsck - it doesn't exist. |
4 |
>> |
5 |
>> |
6 |
>> Try 'fsck.vfat' instead. There is also 'fsck.fat' or 'fsck.exfat', at least on my installation. |
7 |
> |
8 |
> I've tried: |
9 |
> fsck.vfat -v -a -w /dev/sdb1 |
10 |
> fsck.fat 4.0 (2016-05-06) |
11 |
> open: No such file or directory |
12 |
> |
13 |
> This doesn't work either: |
14 |
> fdisk /dev/sdb |
15 |
> |
16 |
> Welcome to fdisk (util-linux 2.28.2). |
17 |
> Changes will remain in memory only, until you decide to write them. |
18 |
> Be careful before using the write command. |
19 |
> |
20 |
> fdisk: cannot open /dev/sdb: No such file or directory |
21 |
> |
22 |
> |
23 |
> Here is a dmesg: |
24 |
> |
25 |
> [10930879.950647] usb-storage 8-1:1.0: USB Mass Storage device detected |
26 |
> [10930879.950742] scsi host8: usb-storage 8-1:1.0 |
27 |
> [10930881.068652] scsi 8:0:0:0: Direct-Access Kingston DataTraveler G3 PMAP PQ: 0 ANSI: 4 |
28 |
> [10930881.068839] sd 8:0:0:0: Attached scsi generic sg2 type 0 |
29 |
> [10930882.544966] sd 8:0:0:0: [sdb] 30489408 512-byte logical blocks: (15.6 GB/14.5 GiB) |
30 |
> [10930882.545153] sd 8:0:0:0: [sdb] Write Protect is off |
31 |
> [10930882.545155] sd 8:0:0:0: [sdb] Mode Sense: 23 00 00 00 |
32 |
> [10930882.545283] sd 8:0:0:0: [sdb] No Caching mode page found |
33 |
> [10930882.545284] sd 8:0:0:0: [sdb] Assuming drive cache: write through |
34 |
> [10930882.567263] sdb: sdb1 |
35 |
> [10930882.568351] sd 8:0:0:0: [sdb] Attached SCSI removable disk |
36 |
> [10930887.640395] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. |
37 |
|
38 |
This message is probably an artifact of what follows. |
39 |
|
40 |
> [10930894.488038] sd 8:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE |
41 |
> [10930894.488041] sd 8:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current] |
42 |
> [10930894.488043] sd 8:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information |
43 |
> [10930894.488045] sd 8:0:0:0: [sdb] tag#0 CDB: Synchronize Cache(10) 35 00 00 00 00 00 00 00 00 00 |
44 |
|
45 |
This USB thumb drive is quite obviously broken, or incompatible with your |
46 |
USB controller. Try a different port or different system. Otherwise, |
47 |
throw it away and learn not to store important stuff on thumb drives. |
48 |
|
49 |
Most USB thumb drive use terrifying cheap and weak storage chips, sometimes |
50 |
supporting only hundreds of write cycles. It's going to break more soon |
51 |
than later, especially if you write a lot or leave it in the drawer without |
52 |
connection to a power source for weeks or months. |
53 |
|
54 |
Some sticks are even crafted in a way to support heavy write-cycles only |
55 |
where the FAT table is going to be. Reformatting or putting something other |
56 |
on it than FAT can have catastrophic consequences after a short time. |
57 |
|
58 |
I was able to completely destroy some cheap USB sticks within a few weeks |
59 |
by putting f2fs on them. |
60 |
|
61 |
|
62 |
> [10930894.497472] usb 8-1: USB disconnect, device number 106 |
63 |
> [10932073.936844] usb 3-1: USB disconnect, device number 19 |
64 |
|
65 |
This message means: disconnect, the device node is gone. |
66 |
|
67 |
> [10932092.353300] usb 3-1: new high-speed USB device number 20 using ehci-pci |
68 |
> [10932092.473483] usb 3-1: New USB device found, idVendor=1043, idProduct=8012 |
69 |
> [10932092.473486] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 |
70 |
> [10932092.473487] usb 3-1: Product: Flash Disk |
71 |
> [10932092.473488] usb 3-1: Manufacturer: Generic |
72 |
|
73 |
|
74 |
In the future, please ensure to post complete logs right from the |
75 |
beginning without hiding the important stuff. ;-) |
76 |
|
77 |
|
78 |
BTW: dosfsck is afair part of the mtools package. On a modern system, |
79 |
use the fsck.{vfat,fat} equivalents. The message you got tells you |
80 |
that the device was not found, not that the tool was not found: |
81 |
|
82 |
> I've tried: |
83 |
> fsck.vfat -v -a -w /dev/sdb1 |
84 |
> fsck.fat 4.0 (2016-05-06) |
85 |
^^^^^^^^^^^^ |
86 |
This comes from the tool starting, so it's there. |
87 |
|
88 |
> open: No such file or directory |
89 |
^^^^^^^^^^ |
90 |
This is an error message from the tool, it could not open the device. |
91 |
|
92 |
|
93 |
-- |
94 |
Regards, |
95 |
Kai |
96 |
|
97 |
Replies to list-only preferred. |