Hi,
I’ve got filesystem errors on my BBB and am trying to run e2fschk to fix them.
As /dev/mmcblk0p2 is mounted, it can’t repair it.
root@raspbx:~# sudo e2fsck -f -n /dev/mmcblk0p2
e2fsck 1.42.5 (29-Jul-2012)
Warning! /dev/mmcblk0p2 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 27848 has zero dtime. Fix? no
Inodes that were part of a corrupted orphan linked list found. Fix? no
Inode 28421 was part of the orphaned inode list. IGNORED.
Inode 28477 was part of the orphaned inode list. IGNORED.
Inode 28479 was part of the orphaned inode list. IGNORED.
Inode 28480 was part of the orphaned inode list. IGNORED.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (48551, counted=48396).
Fix? no
Inode bitmap differences: -27848 -28421 -28477 -(28479–28480)
Fix? no
Free inodes count wrong (66042, counted=66037).
Fix? no
rootfs: ********** WARNING: Filesystem still has errors **********
rootfs: 47078/113120 files (0.6% non-contiguous), 402776/451327 blocks
root@raspbx:~#
Everything i’ve read seems to say you need to pull the SD card and repair it on another machine, but i’m running the image from the EMMC onboard flash so there’s nothing to remove.
Any help would be greatly appreciated.