* xfs_scrub: inode record: Attempting optimization
@ 2022-10-26 7:53 Matthias Bodenbinder
2022-10-26 18:50 ` Darrick J. Wong
0 siblings, 1 reply; 2+ messages in thread
From: Matthias Bodenbinder @ 2022-10-26 7:53 UTC (permalink / raw)
To: linux-xfs@vger.kernel.org
Hello,
I am not sure if this is the right place to ask my question. If not
please forgive me and point me to the correct place.
I have a question about xfs_scrub. When I run this on my root directory
I get plenty of info messages like:
####
# xfs_scrub -v /
EXPERIMENTAL xfs_scrub program in use! Use at your own risk!
Phase 1: Find filesystem geometry.
/: using 24 threads to scrub.
Phase 2: Check internal metadata.
Phase 3: Scan all inodes.
Phase 4: Repair filesystem.
Info: inode 100663763 (3/467) inode record: Attempting optimization.
Info: inode 67169419 (2/60555) inode record: Attempting optimization.
Info: inode 33566167 (1/11735) inode record: Attempting optimization.
...
Phase 5: Check directory tree.
Phase 7: Check summary counters.
44,0GiB data used; 1,2M inodes used.
43,6GiB data found; 1,2M inodes found.
1,2M inodes counted; 1,2M inodes checked.
####
I see more than 3200 Info lines like this. And they occur also with any
subsequent scrub. They are not going away.
Can I fix this somehow or shall I just ignore it?
Kind Regards
Matthias
PS
This is on EndeavourOS with kernel 5.15.74-lts
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: xfs_scrub: inode record: Attempting optimization
2022-10-26 7:53 xfs_scrub: inode record: Attempting optimization Matthias Bodenbinder
@ 2022-10-26 18:50 ` Darrick J. Wong
0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2022-10-26 18:50 UTC (permalink / raw)
To: Matthias Bodenbinder; +Cc: linux-xfs@vger.kernel.org
On Wed, Oct 26, 2022 at 09:53:30AM +0200, Matthias Bodenbinder wrote:
> Hello,
>
> I am not sure if this is the right place to ask my question. If not
> please forgive me and point me to the correct place.
>
> I have a question about xfs_scrub. When I run this on my root directory
> I get plenty of info messages like:
>
> ####
> # xfs_scrub -v /
> EXPERIMENTAL xfs_scrub program in use! Use at your own risk!
> Phase 1: Find filesystem geometry.
> /: using 24 threads to scrub.
> Phase 2: Check internal metadata.
> Phase 3: Scan all inodes.
> Phase 4: Repair filesystem.
> Info: inode 100663763 (3/467) inode record: Attempting optimization.
> Info: inode 67169419 (2/60555) inode record: Attempting optimization.
> Info: inode 33566167 (1/11735) inode record: Attempting optimization.
> ...
>
> Phase 5: Check directory tree.
> Phase 7: Check summary counters.
> 44,0GiB data used; 1,2M inodes used.
> 43,6GiB data found; 1,2M inodes found.
> 1,2M inodes counted; 1,2M inodes checked.
> ####
>
>
> I see more than 3200 Info lines like this. And they occur also with any
> subsequent scrub. They are not going away.
>
> Can I fix this somehow or shall I just ignore it?
Unfortunately, the *repair* part of online fsck isn't upstream yet, so
the kernel doesn't actually know how to fix or optimize anything.
For now, you might as well run scrub in dry-run mode (-n) which should
cut down on the warnings.
(Though TBH there's not really much point in running xfs_scrub until I
can get all ~480 patches through the review process -- there are 100
pending fixes and strengthening patches for the checking part alone.)
That said -- thanks for trying it out! :)
--D
> Kind Regards
> Matthias
>
> PS
> This is on EndeavourOS with kernel 5.15.74-lts
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-26 18:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-26 7:53 xfs_scrub: inode record: Attempting optimization Matthias Bodenbinder
2022-10-26 18:50 ` Darrick J. Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox