bcachefs icon indicating copy to clipboard operation
bcachefs copied to clipboard

The migration of which fs types are supportet by "bcachef-tools migration" and does they are one sample for how to use it?

Open Nihon-Ryori opened this issue 2 years ago • 0 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 one or more fs types which can migrated 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

The follow is known:

"The gist of it seems to be run migrate on the mounted file system, then unmount and run migrate-superblock on the block device."

How to:

run migrate
migrate-superblock

Not everybody are a programmer, which are able to figure out this from follow:

https://evilpiepirate.org/git/ktest.git/tree/tests/bcachefs/single_device.ktest#n1061

Question:

  • The migration of which fs types are supportet by "bcachef-tools migration" and does they are one sample for how to use it?

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