All of lore.kernel.org
 help / color / mirror / Atom feed
* fsck lowmem mode only: ERROR: errors found in fs roots
@ 2018-08-30 16:47 Christoph Anton Mitterer
  2018-08-31  2:33 ` Su Yue
  0 siblings, 1 reply; 17+ messages in thread
From: Christoph Anton Mitterer @ 2018-08-30 16:47 UTC (permalink / raw)
  To: Btrfs BTRFS

Hey.

I've the following on a btrfs that's basically the system fs for my
notebook:


When booting from a USB stick with:
# uname -a
Linux heisenberg 4.17.0-3-amd64 #1 SMP Debian 4.17.17-1
(2018-08-18) x86_64 GNU/Linux

# btrfs --version
btrfs-progs v4.17

... a lowmem mode fsck gives no error:

# btrfs check --mode=lowmem /dev/mapper/system ; echo $?
Checking filesystem on /dev/mapper/system
UUID: 6050ca10-e778-4d08-80e7-6d27b9c89b3c
checking extents
checking free space cache
checking fs roots
ERROR: errors found in fs roots
found 495910952960 bytes used, error(s) found
total csum bytes: 481840472
total tree bytes: 2388819968
total fs tree bytes: 1651097600
total extent tree bytes: 161841152
btree space waste bytes: 446707102
file data blocks allocated: 6651878428672
 referenced 542320984064
1

... while a normal mode fsck doesn't give one:

# btrfs check /dev/mapper/system ; echo $?
Checking filesystem on /dev/mapper/system
UUID: 6050ca10-e778-4d08-80e7-6d27b9c89b3c
checking extents
checking free space cache
checking fs roots
checking only csum items (without verifying data)
checking root refs
found 495910952960 bytes used, no error found
total csum bytes: 481840472
total tree bytes: 2388819968
total fs tree bytes: 1651097600
total extent tree bytes: 161841152
btree space waste bytes: 446707102
file data blocks allocated: 6651878428672
 referenced 542320984064
0

There were no unusual kernel log messages.


Back in the normal system (no longer USB)... I spottet this:
Aug 30 18:31:29 heisenberg kernel: BTRFS info (device dm-0): the free
space cache file (22570598400) is invalid, skip it

but not sure whether it's related (probably not)... and I haven't seen
such a free space cache file issue (or any other btrfs errors) in a
long while (I usually watch my kernel log once after booting has
finished).


Any ideas? Perhaps it's just yet another lowmem false positive...
anything I can help in debugging this?


Apart from this I haven't noticed any corruptions recently... just
about to make a full backup of the fs (or better said a rw snapshot of
the most of the data) with tar, so most data will be read soon at least
once... an I would probably notice any further errors that are
otherwise silent.


Cheers,
Chris.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2018-11-05  1:13 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-30 16:47 fsck lowmem mode only: ERROR: errors found in fs roots Christoph Anton Mitterer
2018-08-31  2:33 ` Su Yue
2018-09-03 20:24   ` Christoph Anton Mitterer
2018-09-04  9:14     ` Qu Wenruo
2018-09-04 11:45       ` Christoph Anton Mitterer
2018-09-05  7:04     ` Su Yue
2018-09-05 12:33       ` Christoph Anton Mitterer
2018-09-05 12:43         ` Su Yue
2018-10-18 14:41       ` Christoph Anton Mitterer
2018-10-19  1:11         ` Su Yue
2018-10-19  1:13         ` Su Yue
2018-10-27 12:15         ` Christoph Anton Mitterer
2018-11-02 14:10           ` Christoph Anton Mitterer
2018-11-03  1:34             ` Su Yue
2018-11-03  1:38               ` Christoph Anton Mitterer
2018-11-03  9:20               ` Nikolay Borisov
2018-11-05  1:21                 ` Su Yue

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.