On Mon, 25 Mar 2019 17:03:05 +0100, Roby declaimed the
following:
>With the df -h command I also see these errors:
>-------
>[14.505362] EXT4-fs error (mmcblk0p7 device): ext4_find_extent: 910:
>inode # 14 8046: comm lxpanel: pblk 534585 bad header / extent: invalid
>extent entries - magi c f30a, entries 6, max 340 (340), depth 0 (0)
>[14.506181] EXT4-fs warning (mmcblk0p7 device): dx_probe: 739: inode #
>148046: lblock 0: comm lxpanel: error -117 reading directory block
>-------
>But I don't know how to interpret them ....
>"mmcblk0p7 device" is the SD card ?
It is a PARTITION on an MMC block I/O device. (Mine shows partitions 1,
2, 5, 6, and 7)
pi@raspberrypi:~$ ls -l /dev/mmc*
brw-rw---- 1 root disk 179, 0 Sep 24 18:53 /dev/mmcblk0
brw-rw---- 1 root disk 179, 1 Sep 24 18:53 /dev/mmcblk0p1
brw-rw---- 1 root disk 179, 2 Sep 24 18:53 /dev/mmcblk0p2
brw-rw---- 1 root disk 179, 5 Sep 24 18:53 /dev/mmcblk0p5
brw-rw---- 1 root disk 179, 6 Sep 24 18:53 /dev/mmcblk0p6
brw-rw---- 1 root disk 179, 7 Sep 24 18:53 /dev/mmcblk0p7
pi@raspberrypi:~$
and partition 7 is the root file system
pi@raspberrypi:~$ cat /etc/fstab
proc /proc proc defaults 0 0
/dev/mmcblk0p6 /boot vfat defaults 0 2
/dev/mmcblk0p7 / ext4 defaults,noatime 0 1
>Maybe there are only a few corrupted blocks in the SD ?
>Is it advisable to use sudo touch /forcefsck or is it dangerous ?
>Other commands ?
>Or is it better to replace the SD as soon as I go to the remote
>location?
Always... Once errors start showing up it is better two swap cards and
try recovery (deep/overwrite formatting) the misbehaving card to see if it
can reclaim the entire surface (use of the SD card association formatter is
recommended).
Note that journaling filesytems (the various ext# and NTFS) do more I/O
on a card than FAT (which is considered "native" for SD cards). As a
result, they can wear out a card faster. Though why a remote/headless
device failed has some corruption on a file associated with lxpanel
(though... I suspect the R-Pi brings up the X-Window system even without a
monitor connected).
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|