bcachefs icon indicating copy to clipboard operation
bcachefs copied to clipboard

How to convert BTRFS to his potential sucessor bcachefs, on Linux Mint 21?

Open Nihon-Ryori opened this issue 2 years ago • 2 comments

**The becachefs management software bcachefs-tools are available by Application Management of Linux Mint 21.

The follow part of the bcachefs manual, looks to try to describe a way, which offer the migration of BTRFS to bcachefs.**

bcachefs migrate [options] device Migrate an existing filesystem to bcachefs

       -f fs   Root of filesystem to migrate

       --encrypted
               Enable whole filesystem encryption (chacha20/poly1305)

       --no_passphrase
               Don't encrypt master encryption key

       -F      Force, even if metadata file already exists

bcachefs migrate-superblock [options] device Create default superblock after migrating

       -d device
               Device to create superblock for

       -o offset
               Offset of existing superblock

Source:

https://web.archive.org/web/20230205130327/https://bcachefs.org/bcachefs-principles-of-operation.pdf

How to convert BTRFS to his his potential successor bcachefs, on Linux Mint 21 ?

Any example exist ? Possible like the follow:

convert BTRFS system to bcachefs system source /dev/sda /dev/sda

A comparable question can be found on stackexchange:

  • https://unix.stackexchange.com/questions/734895/how-to-convert-btrfs-to-his-potential-sucessor-bcachefs-on-linux-mint-21
  • https://web.archive.org/web/20230209114512/https://unix.stackexchange.com/questions/734895/how-to-convert-btrfs-to-his-potential-sucessor-bcachefs-on-linux-mint-21

Nihon-Ryori avatar Feb 12 '23 14:02 Nihon-Ryori

Your stackexchange question has an answer that btrfs can by migrated, except in the body of the answer it says ext4... so, confusing. If it is to support btrfs migration, can a btrfs raid array be migrated? raid 1? raid 5?

TurkeyMan avatar Sep 27 '23 14:09 TurkeyMan