Skip to contentSkip to conversation

Unclear error message when running btrfs check on a mountpoint

DISCUSSION Martin Steigerwald 1 participant 1 message Oct 31, 2015 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi!

With kernel 4.3-rc7 and btrfs-progs 4.2.2 I get:

merkaba:~> btrfs check /daten
Superblock bytenr is larger than device size
Couldn't open file system

It took me a moment to see that I used a mountpoint and that this may be the reason for the error message.

Maybe check for a device file as argument and give a clearer error message in this case?

Thanks,

Signature · 1 line
Martin