Re: btrfs-tools in Debian squeeze-backports?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 02, 2012 at 03:29:49PM +0100, Daniel Pocock wrote:
> These are the btrfs-tools versions on Debian:
> 
> squeeze:
> kernel: 2.6.32
> tools: 0.19+20100601-3
> 
> squeeze-backports:
> kernel: 2.6.39
> tools: nothing (so user ends up with 0.19+20100601-3)
> 
> wheezy/testing/sid:
> kernel: 3.1.6-1
> tools: 0.19+20111105-2
> 
> Using the 2.6.39 kernel from squeeze-backports,

   Don't do that. It's pretty old, and there's been a large number of
fixes in btrfs since then. I would recommend using the very latest
kernel you can -- preferably an -rc series kernel (after -rc3
or so, though), or the latest release kernel.

> do I need a newer btrfs-tools

   The only real reason to upgrade your btrfs tools is to get access
to the newer features of the FS.

> and is there a particular reason it is not in squeeze-backports too?

   You'll have to ask the backports people about that. The btrfs
developers don't have any control over what ends up in most
distributions.

> Or should I not be trying to use the versions in squeeze at all - should
> I be on testing/wheezy or unstable?

   You should definitely be on 3.1 or 3.2 kernel at the moment.

> The Debian btrfs wiki and the regular btrfs wiki don't really suggest a
> good starting point (other than suggesting the btrfs has been in Debian
> since squeeze)
> http://wiki.debian.org/Btrfs
> 
> If I try to use the version from testing or unstable, I get this error
> on a squeeze setup:
> 
>  btrfs-tools depends on e2fslibs (>= 1.41.99); however:
>   Version of e2fslibs on system is 1.41.12-4stable1.

   In that case, I'd suggest either building from the git source tree
for tools (see the wiki[1] for instructions), or, if you insist on
having .deb packages, doing your own backport:

$ apt-get build-dep btrfs-tools
$ apt-get source -t unstable btrfs-tools
$ cd btrfs-tools-0.19+20111105
$ fakeroot debian/rules
$ sudo dpkg -i ../btrfs-tools-0.19+20111105.deb   # This may be a different name

   Hugo.

[1] http://btrfs.ipv5.de/index.php?title=Btrfs_source_repositories#Official_repository

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
    --- Anyone using a computer to generate random numbers is, of ---    
                       course,  in a state of sin.                       

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux