Re: Need help with btrfs.

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

 



On Tue, Feb 23, 2021 at 10:03 AM Matthew Miller
<mattdm@xxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, Feb 22, 2021 at 02:58:00PM -0700, Chris Murphy wrote:
> > We should find out if there's more widespread corruption. The basic
> > command to scrub that particular Btrfs file system is:
> >
> > sudo btrfs scrub start /mnt
>
> It's kind of unfortunate that we also have a command (in the distro since
> 2007) called just "scrub" which will destroy al of your data. :-/
>

Not going to lie, it took three tries to read this to understand what
was being said here. :)

> Anyway... do we have a timer which does this automatically on Fedora Linux
> systems, or are there plans to add one? Upstream wiki
> https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-scrub says "The user
> is supposed to run it manually or via a periodic system service. The
> recommended period is a month but could be less."
>

We *do* have btrfsmaintenance[1] which provides what you're asking
for. However, we don't install it by default or have presets set up
for the timers. There were arguments for and against shipping and
enabling them by default[2].

If we want to ship these, we can easily do so.

[1]: https://src.fedoraproject.org/rpms/btrfsmaintenance
[2]: https://pagure.io/fedora-btrfs/project/issue/16

-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
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