linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* the free space cache file is invalid, skip it
@ 2020-03-15 14:52 Hendrik Friedel
  2020-03-15 15:49 ` waxhead
  0 siblings, 1 reply; 4+ messages in thread
From: Hendrik Friedel @ 2020-03-15 14:52 UTC (permalink / raw)
  To: Btrfs BTRFS

Hello,

I see these errors in my syslog:

Mar 15 00:16:31 homeserver kernel: [524589.677551] BTRFS info (device 
sdf1): the free space cache file (12785106812928) is invalid, skip it
Mar 15 00:16:32 homeserver kernel: [524590.494705] BTRFS info (device 
sdf1): the free space cache file (12787254296576) is invalid, skip it
Mar 15 00:16:53 homeserver kernel: [524611.371823] BTRFS info (device 
sdf1): the free space cache file (14405383225344) is invalid, skip it
Mar 15 00:18:18 homeserver kernel: [524696.803108] BTRFS info (device 
sdf1): the free space cache file (15598377500672) is invalid, skip it
Mar 15 00:18:18 homeserver kernel: [524696.935340] BTRFS info (device 
sdf1): the free space cache file (15613409886208) is invalid, skip it
Mar 15 00:18:19 homeserver kernel: [524698.074946] BTRFS info (device 
sdf1): the free space cache file (15643474657280) is invalid, skip it
Mar 15 00:18:19 homeserver kernel: [524698.074952] BTRFS info (device 
sdf1): the free space cache file (15643474657280) is invalid, skip it
Mar 15 00:18:21 homeserver kernel: [524699.353843] BTRFS info (device 
sdf1): the free space cache file (15663875751936) is invalid, skip it
Mar 15 00:19:37 homeserver kernel: [524776.142963] BTRFS info (device 
sdf1): the free space cache file (15062513221632) is invalid, skip it
Mar 15 00:19:38 homeserver kernel: [524776.307788] BTRFS info (device 
sdf1): the free space cache file (15065734447104) is invalid, skip it
Mar 15 00:19:38 homeserver kernel: [524776.549028] BTRFS info (device 
sdf1): the free space cache file (15070029414400) is invalid, skip it
Mar 15 00:19:38 homeserver kernel: [524776.675084] BTRFS info (device 
sdf1): the free space cache file (15071103156224) is invalid, skip it
Mar 15 00:19:38 homeserver kernel: [524777.004195] BTRFS info (device 
sdf1): the free space cache file (15076471865344) is invalid, skip it
Mar 15 00:19:50 homeserver kernel: [524788.446974] BTRFS info (device 
sdf1): the free space cache file (15559722795008) is invalid, skip it
Mar 15 00:19:51 homeserver kernel: [524789.965874] BTRFS info (device 
sdf1): the free space cache file (15570460213248) is invalid, skip it
Mar 15 00:21:59 homeserver kernel: [524918.102725] BTRFS info (device 
sdf1): the free space cache file (15064660705280) is invalid, skip it
Mar 15 00:25:49 homeserver kernel: [525147.576735] BTRFS info (device 
sdf1): the free space cache file (15564017762304) is invalid, skip it
Mar 15 00:27:33 homeserver kernel: [525251.725178] BTRFS info (device 
sdf1): the free space cache file (16411300724736) is invalid, skip it

a scrub of that drive was finde.
Also, the stats look good:
btrfs dev stats /srv/dev-disk-by-label-DataPool1
[/dev/sdf1].write_io_errs    0
[/dev/sdf1].read_io_errs     0
[/dev/sdf1].flush_io_errs    0
[/dev/sdf1].corruption_errs  0
[/dev/sdf1].generation_errs  0
[/dev/sdc1].write_io_errs    0
[/dev/sdc1].read_io_errs     0
[/dev/sdc1].flush_io_errs    0
[/dev/sdc1].corruption_errs  0
[/dev/sdc1].generation_errs  0

Is this concerning?
What should I do?

Regards,
Hendrik


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

* Re: the free space cache file is invalid, skip it
  2020-03-15 14:52 the free space cache file is invalid, skip it Hendrik Friedel
@ 2020-03-15 15:49 ` waxhead
  2020-03-16  6:59   ` Re[2]: " Hendrik Friedel
  0 siblings, 1 reply; 4+ messages in thread
From: waxhead @ 2020-03-15 15:49 UTC (permalink / raw)
  To: Hendrik Friedel, Btrfs BTRFS

First , I am just a regular btrfs user so take what I say with a grain 
of salt.

However, according to the FAQ here:
https://btrfs.wiki.kernel.org/index.php/FAQ

You should run btrfs check on your filfeystem. This may be a brilliant 
or horrific idea. You probably want to drop your free space cache file 
as well ,but wait until a developer answers if you wanna be on the safe 
side.

If you expect some serious help you should probably post the outputs of 
these commands and state just for the record what distro you are using 
and I am sure you will get help soon (the BTRFS list is very friendly).

uname -a
btrfs --version
btrfs filesystem show /mountpoint
btrfs filesystem usage -T /mountpoint

Hendrik Friedel wrote:
> Hello,
> 
> I see these errors in my syslog:
> 
> Mar 15 00:16:31 homeserver kernel: [524589.677551] BTRFS info (device 
> sdf1): the free space cache file (12785106812928) is invalid, skip it
> Mar 15 00:16:32 homeserver kernel: [524590.494705] BTRFS info (device 
> sdf1): the free space cache file (12787254296576) is invalid, skip it
> Mar 15 00:16:53 homeserver kernel: [524611.371823] BTRFS info (device 
> sdf1): the free space cache file (14405383225344) is invalid, skip it
> Mar 15 00:18:18 homeserver kernel: [524696.803108] BTRFS info (device 
> sdf1): the free space cache file (15598377500672) is invalid, skip it
> Mar 15 00:18:18 homeserver kernel: [524696.935340] BTRFS info (device 
> sdf1): the free space cache file (15613409886208) is invalid, skip it
> Mar 15 00:18:19 homeserver kernel: [524698.074946] BTRFS info (device 
> sdf1): the free space cache file (15643474657280) is invalid, skip it
> Mar 15 00:18:19 homeserver kernel: [524698.074952] BTRFS info (device 
> sdf1): the free space cache file (15643474657280) is invalid, skip it
> Mar 15 00:18:21 homeserver kernel: [524699.353843] BTRFS info (device 
> sdf1): the free space cache file (15663875751936) is invalid, skip it
> Mar 15 00:19:37 homeserver kernel: [524776.142963] BTRFS info (device 
> sdf1): the free space cache file (15062513221632) is invalid, skip it
> Mar 15 00:19:38 homeserver kernel: [524776.307788] BTRFS info (device 
> sdf1): the free space cache file (15065734447104) is invalid, skip it
> Mar 15 00:19:38 homeserver kernel: [524776.549028] BTRFS info (device 
> sdf1): the free space cache file (15070029414400) is invalid, skip it
> Mar 15 00:19:38 homeserver kernel: [524776.675084] BTRFS info (device 
> sdf1): the free space cache file (15071103156224) is invalid, skip it
> Mar 15 00:19:38 homeserver kernel: [524777.004195] BTRFS info (device 
> sdf1): the free space cache file (15076471865344) is invalid, skip it
> Mar 15 00:19:50 homeserver kernel: [524788.446974] BTRFS info (device 
> sdf1): the free space cache file (15559722795008) is invalid, skip it
> Mar 15 00:19:51 homeserver kernel: [524789.965874] BTRFS info (device 
> sdf1): the free space cache file (15570460213248) is invalid, skip it
> Mar 15 00:21:59 homeserver kernel: [524918.102725] BTRFS info (device 
> sdf1): the free space cache file (15064660705280) is invalid, skip it
> Mar 15 00:25:49 homeserver kernel: [525147.576735] BTRFS info (device 
> sdf1): the free space cache file (15564017762304) is invalid, skip it
> Mar 15 00:27:33 homeserver kernel: [525251.725178] BTRFS info (device 
> sdf1): the free space cache file (16411300724736) is invalid, skip it
> 
> a scrub of that drive was finde.
> Also, the stats look good:
> btrfs dev stats /srv/dev-disk-by-label-DataPool1
> [/dev/sdf1].write_io_errs    0
> [/dev/sdf1].read_io_errs     0
> [/dev/sdf1].flush_io_errs    0
> [/dev/sdf1].corruption_errs  0
> [/dev/sdf1].generation_errs  0
> [/dev/sdc1].write_io_errs    0
> [/dev/sdc1].read_io_errs     0
> [/dev/sdc1].flush_io_errs    0
> [/dev/sdc1].corruption_errs  0
> [/dev/sdc1].generation_errs  0
> 
> Is this concerning?
> What should I do?
> 
> Regards,
> Hendrik
> 

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

* Re[2]: the free space cache file is invalid, skip it
  2020-03-15 15:49 ` waxhead
@ 2020-03-16  6:59   ` Hendrik Friedel
  2020-03-16 17:22     ` Andrei Borzenkov
  0 siblings, 1 reply; 4+ messages in thread
From: Hendrik Friedel @ 2020-03-16  6:59 UTC (permalink / raw)
  To: waxhead, Btrfs BTRFS

Hello,

thank you for your reply.
Here the further information:
root@homeserver:~# uname -a
Linux homeserver 5.4.8 #1 SMP Sun Jan 5 15:39:51 CET 2020 x86_64 
GNU/Linux
root@homeserver:~# btrfs --version
btrfs-progs v4.20.2
root@homeserver:~# btrfs filesystem show /srv/DataPool1
Label: 'DataPool1'  uuid: c4a6a2c9-5cf0-49b8-812a-0784953f9ba3
         Total devices 2 FS bytes used 6.56TiB
         devid    1 size 7.28TiB used 7.06TiB path /dev/sdf1
         devid    2 size 7.28TiB used 7.06TiB path /dev/sdc1

root@homeserver:~# btrfs filesystem usage -T /srv/DataPool1
Overall:
     Device size:                  14.55TiB
     Device allocated:             14.12TiB
     Device unallocated:          439.94GiB
     Device missing:                  0.00B
     Used:                         13.12TiB
     Free (estimated):            731.00GiB      (min: 731.00GiB)
     Data ratio:                       2.00
     Metadata ratio:                   2.00
     Global reserve:              512.00MiB      (used: 0.00B)

              Data    Metadata System
Id Path      RAID1   RAID1    RAID1    Unallocated
-- --------- ------- -------- -------- -----------
  2 /dev/sdc1 7.05TiB 15.00GiB 64.00MiB   219.97GiB
  1 /dev/sdf1 7.05TiB 15.00GiB 64.00MiB   219.97GiB
-- --------- ------- -------- -------- -----------
    Total     7.05TiB 15.00GiB 64.00MiB   439.94GiB
    Used      6.55TiB 10.69GiB  1.02MiB

My last knowledge was, that one should not use btrfs check unless asked 
to by a developer. Consequently, I rather ask for advice here.

Regards,
Hendrik


------ Originalnachricht ------
Von: "waxhead" <waxhead@dirtcellar.net>
An: "Hendrik Friedel" <hendrik@friedels.name>; "Btrfs BTRFS" 
<linux-btrfs@vger.kernel.org>
Gesendet: 15.03.2020 16:49:00
Betreff: Re: the free space cache file is invalid, skip it

>First , I am just a regular btrfs user so take what I say with a grain of salt.
>
>However, according to the FAQ here:
>https://btrfs.wiki.kernel.org/index.php/FAQ
>
>You should run btrfs check on your filfeystem. This may be a brilliant or horrific idea. You probably want to drop your free space cache file as well ,but wait until a developer answers if you wanna be on the safe side.
>
>If you expect some serious help you should probably post the outputs of these commands and state just for the record what distro you are using and I am sure you will get help soon (the BTRFS list is very friendly).
>
>uname -a
>btrfs --version
>btrfs filesystem show /mountpoint
>btrfs filesystem usage -T /mountpoint
>
>Hendrik Friedel wrote:
>>Hello,
>>
>>I see these errors in my syslog:
>>
>>Mar 15 00:16:31 homeserver kernel: [524589.677551] BTRFS info (device sdf1): the free space cache file (12785106812928) is invalid, skip it
>>Mar 15 00:16:32 homeserver kernel: [524590.494705] BTRFS info (device sdf1): the free space cache file (12787254296576) is invalid, skip it
>>Mar 15 00:16:53 homeserver kernel: [524611.371823] BTRFS info (device sdf1): the free space cache file (14405383225344) is invalid, skip it
>>Mar 15 00:18:18 homeserver kernel: [524696.803108] BTRFS info (device sdf1): the free space cache file (15598377500672) is invalid, skip it
>>Mar 15 00:18:18 homeserver kernel: [524696.935340] BTRFS info (device sdf1): the free space cache file (15613409886208) is invalid, skip it
>>Mar 15 00:18:19 homeserver kernel: [524698.074946] BTRFS info (device sdf1): the free space cache file (15643474657280) is invalid, skip it
>>Mar 15 00:18:19 homeserver kernel: [524698.074952] BTRFS info (device sdf1): the free space cache file (15643474657280) is invalid, skip it
>>Mar 15 00:18:21 homeserver kernel: [524699.353843] BTRFS info (device sdf1): the free space cache file (15663875751936) is invalid, skip it
>>Mar 15 00:19:37 homeserver kernel: [524776.142963] BTRFS info (device sdf1): the free space cache file (15062513221632) is invalid, skip it
>>Mar 15 00:19:38 homeserver kernel: [524776.307788] BTRFS info (device sdf1): the free space cache file (15065734447104) is invalid, skip it
>>Mar 15 00:19:38 homeserver kernel: [524776.549028] BTRFS info (device sdf1): the free space cache file (15070029414400) is invalid, skip it
>>Mar 15 00:19:38 homeserver kernel: [524776.675084] BTRFS info (device sdf1): the free space cache file (15071103156224) is invalid, skip it
>>Mar 15 00:19:38 homeserver kernel: [524777.004195] BTRFS info (device sdf1): the free space cache file (15076471865344) is invalid, skip it
>>Mar 15 00:19:50 homeserver kernel: [524788.446974] BTRFS info (device sdf1): the free space cache file (15559722795008) is invalid, skip it
>>Mar 15 00:19:51 homeserver kernel: [524789.965874] BTRFS info (device sdf1): the free space cache file (15570460213248) is invalid, skip it
>>Mar 15 00:21:59 homeserver kernel: [524918.102725] BTRFS info (device sdf1): the free space cache file (15064660705280) is invalid, skip it
>>Mar 15 00:25:49 homeserver kernel: [525147.576735] BTRFS info (device sdf1): the free space cache file (15564017762304) is invalid, skip it
>>Mar 15 00:27:33 homeserver kernel: [525251.725178] BTRFS info (device sdf1): the free space cache file (16411300724736) is invalid, skip it
>>
>>a scrub of that drive was finde.
>>Also, the stats look good:
>>btrfs dev stats /srv/dev-disk-by-label-DataPool1
>>[/dev/sdf1].write_io_errs    0
>>[/dev/sdf1].read_io_errs     0
>>[/dev/sdf1].flush_io_errs    0
>>[/dev/sdf1].corruption_errs  0
>>[/dev/sdf1].generation_errs  0
>>[/dev/sdc1].write_io_errs    0
>>[/dev/sdc1].read_io_errs     0
>>[/dev/sdc1].flush_io_errs    0
>>[/dev/sdc1].corruption_errs  0
>>[/dev/sdc1].generation_errs  0
>>
>>Is this concerning?
>>What should I do?
>>
>>Regards,
>>Hendrik
>>


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

* Re: the free space cache file is invalid, skip it
  2020-03-16  6:59   ` Re[2]: " Hendrik Friedel
@ 2020-03-16 17:22     ` Andrei Borzenkov
  0 siblings, 0 replies; 4+ messages in thread
From: Andrei Borzenkov @ 2020-03-16 17:22 UTC (permalink / raw)
  To: Hendrik Friedel, waxhead, Btrfs BTRFS

16.03.2020 09:59, Hendrik Friedel пишет:
> 
> My last knowledge was, that one should not use btrfs check unless asked
> to by a developer.


One should not use btrfs check in *repair* mode without being reasonably
sure it won't do more harm; and verifying that repairing is possible
usually involves developers. Otherwise btrfs check is read-only by
default and should not damge your system. Whether its output is useful
to non-developers is another question :)

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

end of thread, other threads:[~2020-03-16 17:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-15 14:52 the free space cache file is invalid, skip it Hendrik Friedel
2020-03-15 15:49 ` waxhead
2020-03-16  6:59   ` Re[2]: " Hendrik Friedel
2020-03-16 17:22     ` Andrei Borzenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).