Apparently old version of btrfs in Ubuntu

Asked by Svenn Ivar Grønmo

I have an up to date Ubuntu 14.04.2 LTS (trusty) with Linux kernel version 3.13.0-49-generic. It appears that Ubuntu currently has version 3.12 of btrfs, in which is 2 years old and back then it was experimental and very unstable. The officially latest version of btrfs is 4.0. My first thought is that this can't be correct. Is Ubuntu lagging implementing newer versions of btrfs, or am I checking this a wrong way?

Official releases of btrfs: https://btrfs.wiki.kernel.org/index.php/Main_Page#News

$ btrfs --version
Btrfs v3.12
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
$ uname -a
Linux sigr144y 3.13.0-49-generic #83-Ubuntu SMP Fri Apr 10 20:14:51 UTC 2015 i686 athlon i686 GNU/Linux

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu btrfs-tools Edit question
Assignee:
No assignee Edit question
Solved by:
El Achèche ANIS
Solved:
Last query:
Last reply:
Revision history for this message
Best El Achèche ANIS (elacheche) said :
#1

Yeah you're right!

The last supported version of BTRFS in Ubuntu 14.04 is 3.12.

Ubuntu 15.04 comes with BTRFS 3.17

Maybe they're planning to use the last stable version by the next LTS.. Who knows :/

Revision history for this message
Svenn Ivar Grønmo (svennivar) said :
#2

Thanks for fast answer.

How can I install one particular version, say 3.17 or 4.0? I just found the development branch with Git (installing dependencies, downloading souce code, compile, and ./btrfs).

Revision history for this message
Svenn Ivar Grønmo (svennivar) said :
#6

Thanks El Achèche ANIS, that solved my question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

For completeness' sake:
Current development status of Ubuntu 15.10 (due in half a year's time) is to have btrfs version 4.0-2

The options that you have for a higher version on trusty:

1. create a bug report stating that the new version has so much benefit or fixes severe bugs, that this justifies a SRU for trusty (rather unlikely that this will work) see https://wiki.ubuntu.com/StableReleaseUpdates for details of the process
2. Look in https://launchpad.net/ubuntu/+ppas?name_filter=btrfs-tools to check whether someone else has already build a PPA with a higher version
3. Create a PPA with btrfs > 3.12 for trusty yourself
4. Download the original software and try compiling the software on your own system.