Are newer `btrfs-progs` versions safe to use with older kernels?

2

For example btrfs-progs-4.17 on kernel 4.14 - any issues, or can just upgrade btrfs-progs with no "back-compatibility" concerns?

lkraav

Posted 2018-11-02T17:44:40.283

Reputation: 1 049

Answers

4

According to the actively maintained btrfs Wiki on kernel.org...


What version of btrfs-progs should I use for my kernel?

Simply use the latest version.

The userspace tools versions roughly match the kernel releases and should contain support for features introduced in the respective kernel release. The minor versions are bugfix releases or independent updates (eg. documentation, tests).


Do I have to keep my btrfs-progs at the same version as my kernel?

No.

If your btrfs-progs is newer than your kernel, then you may not be able to use some of the features that the btrfs-progs offers, because the kernel doesn't support them.

If your btrfs-progs is older than your kernel, then you may not be able to use some of the features that the kernel offers, because the btrfs-progs doesn't support them.

Other than that, there should be no restrictions on which versions work together.


rickhg12hs

Posted 2018-11-02T17:44:40.283

Reputation: 428

(y) not sure why I didn't think to check their wiki. – lkraav – 2018-11-04T18:20:56.767