I have an Western Digital NAS which has been repurposed and now runs a few things under Debian 11 (ARM). It now has developed some filesystem errors, presumably after some multiple power outages we've had recently.
Any ideas how to repair? I can't use fsck as the only interface I have is through the network, so I can't unmount the active partition. I tried /forcefsck, which does force a fsck on reboot but that still reports errors.
The ext4 filesystem is black magic to me, so I've no idea how serious or fixable the errors are.
Output from e2fsck after forcefsck:
e2fsck 1.46.2 (28-Feb-2021)
Warning! /dev/sda19 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: +1728534 -1789536
Fix? no
Free blocks count wrong for group #54 (18214, counted=18213).
Fix? no
Free blocks count wrong (4033656, counted=4031438).
Fix? no
Free inodes count wrong (1568096, counted=1568074).
Fix? no
Padding at end of inode bitmap is not set. Fix? no
System: ********** WARNING: Filesystem still has errors **********
72064 inodes used (4.39%, out of 1640160)
269 non-contiguous files (0.4%)
70 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 66582/106
2526344 blocks used (38.51%, out of 6560000)
0 bad blocks
1 large file
56599 regular files
9869 directories
10 character device files
1 block device file
7 fifos
13 links
5371 symbolic links (5152 fast symbolic links)
220 sockets
------------
72090 files