Skip to contentSkip to conversation

btrfs fi df returns nothing

DISCUSSION Brian J. Murrell 4 participants 6 messages Mar 9, 2011 – Mar 13, 2011 Btrfs file system

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

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?

Quoted 4 lines · 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-unsta=

ble.gi

Quoted 3 lines

t.
=20
The problem is that I don't get anything from btrfs fi df $mountpoint=

=2E

Quoted 6 lines

i.e., for the btrfs filesystem mounted at /mnt/btrfs-test/ =20

# ./btrfs fi df /mnt/btrfs-test/
#
=20
See, no output.  Is my kernel module too old for that feature?  Maybe=

it

Quoted 3 lines

is:
=20
stat64("/mnt/btrfs-test/", {st_mode=3DS_IFDIR|0755, st_size=3D72, ...=

}) =3D 0

Quoted 4 lines

open("/mnt/btrfs-test/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) =3D 3
fcntl64(3, F_GETFD) =3D 0x1 (flags FD_CLOEXEC)
ioctl(3, 0xc0109414, 0x999c320) =3D -1 ENOTTY (Inappropriate =

ioctl

Quoted 4 lines

for device)
exit_group(-1) =3D ?
=20
If my kernel module is too old, anyone know of a successful backport =

of

Quoted 4 lines

a newer btrfs for Ubuntu Lucid? In a PPA or otherwise? =20
Cheers,
b.

--=20
Hubert Kario
QBS - Quality Business Software
02-656 Warszawa, ul. Ksawer=F3w 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Brian J. Murrell
Quoted 1 line · Brian J. Murrell

I am using btrfs on Ubuntu's LTS kernel (2.6.32-22-generic) and have

Ouch. That's a *very* early kernel, in btrfs terms. There are a
significant number of serious bugs that have been fixed since then.

Quoted 20 lines

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) = ?

Quoted 2 lines

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.

Signature · 4 lines
=== 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."               
#3 lore raw
Quoted 3 lines · Hugo Mills

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.

Quoted 2 lines

There are a
significant number of serious bugs that have been fixed since then.

Bugs in btrfs or other related kernel bugs?

Quoted 2 lines

There's Ubuntu kernel PPAs listed on the btrfs wiki:
https://btrfs.wiki.kernel.org/index.php/Getting_started#Ubuntu_Linux

Indeed. 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.

Quoted 1 line

The wiki is your friend. :)

Indeed.

b.

#4 lore raw
Quoted 5 lines · Brian J. Murrell
Quoted 2 lines · Hugo Mills

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.

Signature · 3 lines
=== 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!   ---                       
#5 lore raw
In reply to Hugo Mills

On Wed, 9 Mar 2011 10:47:46 PM Hugo Mills wrote:

[Ubuntu 10.04 LTS kernel - 2.6.32 based]

Quoted 1 line

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

Signature · 4 lines
 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