1

Is there a way to find out the exact parameters that were originally used when a BTRFS file system was created? I'm working on a system with an older kernel version (4.4). Because of the older kernel I believe I will be unable to convert an existing BTRFS file system to the DUP profile (for metadata and data) so my only recourse I think is to copy the data off the file system, recreate it with the DUP profile for both metadata and data, and copy the data back. However since there are other parts and pieces involved I need to make 100% sure that the only thing that changes is the profile from single to DUP. All other parameters need to stay the same. How would I go about figuring out the various parameters that need to be specified for mkfs.btrfs?

2
  • duplicity is not a valid tag for this question as it relates to the backup software, not the btrfs dup profile. – Ginnungagap Sep 8 '20 at 6:39
  • 1
    @Ginnungagap You can just edit the post to remove the inappropriate tags. No need for a comment. – Michael Hampton Sep 8 '20 at 12:40
1

btrfs filesystem df /path will show you the currently used profile for the given path.

You can convert an existing single profile to a dup profile using btrfs balance -mconvert=dup (to convert the metadata profile, read the manual for more).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.