Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] repair FAT-fs
Date: Sat, 03 Mar 2018 05:16:57
Message-Id: 6d113e8f-37c2-3179-cc8b-af4b1460fdd1@sys-concept.com
In Reply to: Re: [gentoo-user] repair FAT-fs by Paul Colquhoun
1 On 03/02/2018 09:40 PM, Paul Colquhoun wrote:
2 > On Saturday, 3 March 2018 3:24:32 PM AEDT thelma@×××××××××××.com wrote:
3 >> I've an android TV box (T95Z Plus) that has a corrupted File System.
4 >> dmes is showing :
5 >>
6 >> usb-storage 8-1:1.0: USB Mass Storage device detected
7 >> scsi host8: usb-storage 8-1:1.0
8 >> scsi 8:0:0:0: Direct-Access Kingston DataTraveler G3 PMAP PQ: 0 ANSI: 4
9 >> sd 8:0:0:0: Attached scsi generic sg2 type 0
10 >> sd 8:0:0:0: [sdb] 30489408 512-byte logical blocks: (15.6 GB/14.5 GiB)
11 >> sd 8:0:0:0: [sdb] Write Protect is off
12 >> sd 8:0:0:0: [sdb] Mode Sense: 23 00 00 00
13 >> sd 8:0:0:0: [sdb] No Caching mode page found
14 >> sd 8:0:0:0: [sdb] Assuming drive cache: write through
15 >> sdb: sdb1
16 >> sd 8:0:0:0: [sdb] Attached SCSI removable disk
17 >> FAT-fs (sdb1): Volume was not properly unmounted. Some data may be
18 >> corrupt. Please run fsck.
19 >>
20 >> I 've "dosfstools" installed but I can not run: dosfsck - it doesn't exist.
21 >
22 >
23 > Try 'fsck.vfat' instead. There is also 'fsck.fat' or 'fsck.exfat', at least on my installation.
24
25 I've tried:
26 fsck.vfat -v -a -w /dev/sdb1
27 fsck.fat 4.0 (2016-05-06)
28 open: No such file or directory
29
30 This doesn't work either:
31 fdisk /dev/sdb
32
33 Welcome to fdisk (util-linux 2.28.2).
34 Changes will remain in memory only, until you decide to write them.
35 Be careful before using the write command.
36
37 fdisk: cannot open /dev/sdb: No such file or directory
38
39
40 Here is a dmesg:
41
42 [10930879.950647] usb-storage 8-1:1.0: USB Mass Storage device detected
43 [10930879.950742] scsi host8: usb-storage 8-1:1.0
44 [10930881.068652] scsi 8:0:0:0: Direct-Access Kingston DataTraveler G3 PMAP PQ: 0 ANSI: 4
45 [10930881.068839] sd 8:0:0:0: Attached scsi generic sg2 type 0
46 [10930882.544966] sd 8:0:0:0: [sdb] 30489408 512-byte logical blocks: (15.6 GB/14.5 GiB)
47 [10930882.545153] sd 8:0:0:0: [sdb] Write Protect is off
48 [10930882.545155] sd 8:0:0:0: [sdb] Mode Sense: 23 00 00 00
49 [10930882.545283] sd 8:0:0:0: [sdb] No Caching mode page found
50 [10930882.545284] sd 8:0:0:0: [sdb] Assuming drive cache: write through
51 [10930882.567263] sdb: sdb1
52 [10930882.568351] sd 8:0:0:0: [sdb] Attached SCSI removable disk
53 [10930887.640395] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
54 [10930894.488038] sd 8:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
55 [10930894.488041] sd 8:0:0:0: [sdb] tag#0 Sense Key : Hardware Error [current]
56 [10930894.488043] sd 8:0:0:0: [sdb] tag#0 Add. Sense: No additional sense information
57 [10930894.488045] sd 8:0:0:0: [sdb] tag#0 CDB: Synchronize Cache(10) 35 00 00 00 00 00 00 00 00 00
58 [10930894.497472] usb 8-1: USB disconnect, device number 106
59 [10932073.936844] usb 3-1: USB disconnect, device number 19
60 [10932092.353300] usb 3-1: new high-speed USB device number 20 using ehci-pci
61 [10932092.473483] usb 3-1: New USB device found, idVendor=1043, idProduct=8012
62 [10932092.473486] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
63 [10932092.473487] usb 3-1: Product: Flash Disk
64 [10932092.473488] usb 3-1: Manufacturer: Generic
65
66 --
67 Thelma

Replies

Subject Author
Re: [gentoo-user] repair FAT-fs Grant Taylor <gtaylor@×××××××××××××××××××××.net>
[gentoo-user] Re: repair FAT-fs Kai Krakow <hurikhan77@×××××.com>
[gentoo-user] Re: repair FAT-fs Kai Krakow <hurikhan77@×××××.com>