Skip to contentSkip to conversation

btrfs 3.16.2 does not recognize subvolumes correctly

DISCUSSION Jogi Hofmüller 2 participants 4 messages Oct 2, 2014 – Oct 3, 2014 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi all,

I just noticed that when doing a 'btrfs subvolume show /' I get the error 'ERROR: / doesn't belong to btrfs mount point', which is not quite true. I get the same error for all the other subvolumes as well. It worked fine until 3.14.1.

Regards,

Signature · 5 lines
J.Hofmüller

ich zitiere wie Espenlaub.

https://twitter.com/TheGurkenkaiser/status/463444397678690304
#1 lore raw

Hi all,

First of all, I am talking about btrfs-progs 3.16.2 if there was any doubt.

I did some more checking and found the following disturbing results.

I can still create snapshots of subvolumes and the default subvolume (/) without problems. But sending the snapshot fails with the error:

ERROR: /.SNAPSHOT doesn't belong to btrfs mount point

btrfs subvolume list -a /

ID 259 gen 21444 top level 5 path home
ID 260 gen 21443 top level 5 path var
ID 742 gen 18830 top level 5 path .SNAPSHOT ID 743 gen 18832 top level 259 path home/.SNAPSHOT

But then again e.g.

btrfs subvolume show /home
ERROR: /home doesn't belong to btrfs mount point

All this is happening on my laptop running kernel 3.16.3. (Debian).

Interestingly enough I have another machine where only the default subvolume makes problems but another subvolume can be snapshotted and the snapshot send. This machine uses kernel 3.14.15.

Please let me know what I can do to fix this.

Regards,

Signature · 5 lines
J.Hofmüller

ich zitiere wie Espenlaub.

https://twitter.com/TheGurkenkaiser/status/463444397678690304
#2 lore raw
Quoted 23 lines · Jogi Hofmüller

Hi all,

First of all, I am talking about btrfs-progs 3.16.2 if there was any doubt.

I did some more checking and found the following disturbing results.

I can still create snapshots of subvolumes and the default subvolume (/) without problems. But sending the snapshot fails with the error:

ERROR: /.SNAPSHOT doesn't belong to btrfs mount point

btrfs subvolume list -a /

ID 259 gen 21444 top level 5 path home
ID 260 gen 21443 top level 5 path var
ID 742 gen 18830 top level 5 path .SNAPSHOT ID 743 gen 18832 top level 259 path home/.SNAPSHOT

But then again e.g.

btrfs subvolume show /home
ERROR: /home doesn't belong to btrfs mount point

Quoted 7 lines

All this is happening on my laptop running kernel 3.16.3. (Debian).

Interestingly enough I have another machine where only the default subvolume makes problems but another subvolume can be snapshotted and the snapshot send. This machine uses kernel 3.14.15.

Please let me know what I can do to fix this.

There was a similar issue in btrfs-progs 3.16 that was fixed in 3.16.1 by this commit:
https://git.kernel.org/cgit/linux/kernel/git/mason/btrfs-progs.git/commit/?id=6a47725a6fb8a463dd60611800222c7297195588

I'd do a quick btrfs --version just to make sure you're running the version you think you are. Otherwise, the output of mount might shed some light on why you're getting this.

Signature · 1 line
Omar
#3 lore raw

Hi Omar,

Am 2014-10-03 um 18:53 schrieb Omar Sandoval:

Quoted 7 lines

There was a similar issue in btrfs-progs 3.16 that was fixed in 3.16.1 by this commit:
https://git.kernel.org/cgit/linux/kernel/git/mason/btrfs-progs.git/commit/?id=6a47725a6fb8a463dd60611800222c7297195588

I'd do a quick btrfs --version just to make sure you're running the version you think you are. Otherwise, the output of mount might shed some light on why you're getting this.

Turns out I am still using btrfs-progs 3.16 :( Don't know where I came across the version 3.16.2 that I put in the subject. Gee, embarrassing.
Sorry for the noise. Hope 3.16.1 will be available in Debian testing soon.

Regards,

Signature · 3 lines
j.hofmüller

Gerüchtegenerator		               http://plagi.at/geruecht