I am using btrfs on Ubuntu''s LTS kernel (2.6.32-22-generic) and have updated the btrfs-tools to 0.19+20101101-1~lucid1. I have also built the latest from git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.git. The problem is that I don''t get anything from btrfs fi df $mountpoint. i.e., for the btrfs filesystem mounted at /mnt/btrfs-test/ # ./btrfs fi df /mnt/btrfs-test/ # See, no output. Is my kernel module too old for that feature? Maybe it is: stat64("/mnt/btrfs-test/", {st_mode=S_IFDIR|0755, st_size=72, ...}) = 0 open("/mnt/btrfs-test/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) ioctl(3, 0xc0109414, 0x999c320) = -1 ENOTTY (Inappropriate ioctl for device) exit_group(-1) = ? If my kernel module is too old, anyone know of a successful backport of a newer btrfs for Ubuntu Lucid? In a PPA or otherwise? Cheers, b.
There''s a daily kernel build PPA: http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2011-03-08-natty/ Sorry to note, but have you even tried googling for it? On Wednesday, March 09, 2011 12:20:28 Brian J. Murrell wrote:> I am using btrfs on Ubuntu''s LTS kernel (2.6.32-22-generic) and have > updated the btrfs-tools to 0.19+20101101-1~lucid1. I have also built > the latest from > git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.gi > t. > > The problem is that I don''t get anything from btrfs fi df $mountpoint. > i.e., for the btrfs filesystem mounted at /mnt/btrfs-test/ > > # ./btrfs fi df /mnt/btrfs-test/ > # > > See, no output. Is my kernel module too old for that feature? Maybe it > is: > > stat64("/mnt/btrfs-test/", {st_mode=S_IFDIR|0755, st_size=72, ...}) = 0 > open("/mnt/btrfs-test/", > O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 > fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) > ioctl(3, 0xc0109414, 0x999c320) = -1 ENOTTY (Inappropriate ioctl > for device) > exit_group(-1) = ? > > If my kernel module is too old, anyone know of a successful backport of > a newer btrfs for Ubuntu Lucid? In a PPA or otherwise? > > Cheers, > b.-- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Mar 09, 2011 at 06:20:28AM -0500, Brian J. Murrell wrote:> I am using btrfs on Ubuntu''s LTS kernel (2.6.32-22-generic) and haveOuch. That''s a *very* early kernel, in btrfs terms. There are a significant number of serious bugs that have been fixed since then.> updated the btrfs-tools to 0.19+20101101-1~lucid1. I have also built > the latest from > git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unstable.git. > > The problem is that I don''t get anything from btrfs fi df $mountpoint. > i.e., for the btrfs filesystem mounted at /mnt/btrfs-test/ > > # ./btrfs fi df /mnt/btrfs-test/ > # > > See, no output. Is my kernel module too old for that feature? Maybe it is: > > stat64("/mnt/btrfs-test/", {st_mode=S_IFDIR|0755, st_size=72, ...}) = 0 > open("/mnt/btrfs-test/", > O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 > fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) > ioctl(3, 0xc0109414, 0x999c320) = -1 ENOTTY (Inappropriate ioctl > for device) > exit_group(-1) = ? > > If my kernel module is too old, anyone know of a successful backport of > a newer btrfs for Ubuntu Lucid? In a PPA or otherwise?There''s Ubuntu kernel PPAs listed on the btrfs wiki: https://btrfs.wiki.kernel.org/index.php/Getting_started#Ubuntu_Linux The wiki is your friend. :) Hugo. -- === 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 --- "You are demons, and I am in Hell!" "Well, technically, it''s --- London, but it''s an easy mistake to make."
On 11-03-09 06:47 AM, Hugo Mills wrote:> On Wed, Mar 09, 2011 at 06:20:28AM -0500, Brian J. Murrell wrote: > > Ouch. That''s a *very* early kernel, in btrfs terms.Yeah, that''s my understanding also.> There are a > significant number of serious bugs that have been fixed since then.Bugs in btrfs or other related kernel bugs?> There''s Ubuntu kernel PPAs listed on the btrfs wiki: > https://btrfs.wiki.kernel.org/index.php/Getting_started#Ubuntu_LinuxIndeed. I was hoping to not upgrade a whole kernel to the current development kernel but instead just update btrfs to as new as I can get with a 2.6.32 kernel. Just trying to keep the ripple effect to a minimum.> The wiki is your friend. :)Indeed. b.
On Wed, Mar 09, 2011 at 07:20:24AM -0500, Brian J. Murrell wrote:> On 11-03-09 06:47 AM, Hugo Mills wrote: > > There are a > > significant number of serious bugs that have been fixed since then. > > Bugs in btrfs or other related kernel bugs?Well, both, but I was specifically referring to btrfs. Hugo. -- === 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 --- __(_''> Squeak! ---
On Wed, 9 Mar 2011 10:47:46 PM Hugo Mills wrote: [Ubuntu 10.04 LTS kernel - 2.6.32 based]> Ouch. That''s a very early kernel, in btrfs terms.That may be true, but as someone who''s been running btrfs as /home on laptop SSD''s for over 2 years now the reports from people using later kernels worried me enough to not go past 10.04 on it. However, the impression I''m getting now is that 2.6.38 is looking a lot more solid for btrfs than recent kernels and so I''m looking forward to testing that out when 11.04 comes out! cheers, Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC This email may come with a PGP signature as a file. Do not panic. For more info see: http://en.wikipedia.org/wiki/OpenPGP