Re: Converting ext4 to btrfs

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

 



Thanks, Alex, for your reply. It seems that the safest path is to go
for a fresh install of Fedora.

Paul

On Tue, May 2, 2023 at 11:07 AM Alex Gurenko via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> I've forgot to add, that for compression, this, again, works only for newly created/accesses files only, so after adding compression to fstab (and reboot), you might want to run a defragmentation `sudo btrfs filesystem defragment -r <mount point>`.
>
> There was a recent article about that too: https://fedoramagazine.org/working-with-btrfs-compression/
>
> ---
> Best regards, Alex
>
>
> ------- Original Message -------
> On Tuesday, May 2nd, 2023 at 12:04, Alex Gurenko <agurenko@xxxxxxxxxxxxxx> wrote:
>
>
> > There was an article back in the days of btrfs introduction that described the process: https://fedoramagazine.org/convert-your-filesystem-to-btrfs/
> >
> > I've used it myself without any issues back then, I would assume it's still safe to do so now.
> >
> > I ran it like this for a few more releases without issues, until I decided to re-install fresh.
> >
> > The only downside would probably be (please keep me honest here), the defaults might not apply.
> >
> > There are few things that are done on a fresh install, which will probably won't apply on a converted system:
> >
> > - COW (copy-on-write) disabled for /var/lib/libvirt/images
> > - probably on other directories?
> > - can be done manually with `chattr -R +C <path>` but it only works for new files in said path, so you might need to move things out and back in
> >
> > - enable compression by making sure fstab includes `,compress=zstd:1`
> > - based on your position on async discard [0], you might want to add `nodiscard` to fstab as well, but it seems to be okay with latest fixes kernels 6.2.13+ or 6.3.0, at least on a desktop
> >
> > [0] https://discussion.fedoraproject.org/t/btrfs-discard-storm-on-fedora/79997/28
> >
> > ---
> > Best regards, Alex
> >
> >
> >
> >
> > ------- Original Message -------
> > On Tuesday, May 2nd, 2023 at 11:29, Paul Smith phhs80@xxxxxxxxx wrote:
> >
> >
> >
> > > Dear All,
> > >
> > > I have always upgraded Fedora from the previously installed version.
> > > Consequently, I still have ext4. To have btrfs, is it needed to do a
> > > Fedora clean install?
> > >
> > > Thanks in advance,
> > >
> > > Paul
> > > _______________________________________________
> > > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> > > To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx
> > > Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux