Blogotux

Trucs, astuces pour linux mais c'est d'abord mon bloc-notes, donc sans grandes prétentions

Mes liens avec Shaarli

réparation carte SD Raspberry PI B

28/07/2021 à 20:00:04 - Aucun commentaire

en cas de crash , après coupure secteur

*********************sudo fsck.ext4 -v /dev/sdc2
e2fsck 1.42.13 (17-May-2015)
SD8A : propre, 46782/482384 fichiers, 509621/1928448 blocs

************************ sudo dosfsck -v /dev/sdc1
fsck.fat 3.0.28 (2015-05-16)
Checking we can access the last sector of the filesystem
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Boot sector contents:
System ID "mkfs.fat"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
512 bytes per cluster
32 reserved sectors
First FAT starts at byte 16384 (sector 32)
2 FATs, 32 bit entries
508416 bytes per FAT (= 993 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 1033216 (sector 2018)
127006 data clusters (65027072 bytes)
32 sectors/track, 64 heads
0 hidden sectors
129024 sectors total
Checking for unused clusters.
Checking free cluster summary.
Perform changes ? (y/n) y
/dev/sdc1: 142 files, 42835/127006 clusters

Dans les catégories : raspberry