Re: when to btrfs scrub, was: Need help with btrfs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 25, 2021 at 09:25:04AM -0500, pmkellly@xxxxxxxxxxxx wrote:
> Scrub gives no indication that it's running other than the PID. Nor
> does it indicate when it's complete; so I had to monitor the PID to
> know when it was done. Then I had to run:
> 
> sudo btrfs scrub status -dR /mnt
> 
> to find the results. Do you know if anyone has some code that runs
> scrub and gets the status and reports it after scrub is complete?

Well, you get `BTRFS info (device nvme0n1p3): scrub: finished on devid 1
with status: 0` in the logs. So these things could be completely separate;
one timer that runs the scrub, and one that looks for success or errors in
the logs.


-- 
Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx>
Fedora Project Leader
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux