Skip to contentSkip to conversation

btrfs check: Superblock bytenr is larger than device size

DISCUSSION Anton Shepelev 2 participants 4 messages Oct 16, 2018 – Oct 17, 2018 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hello, all

On all our servers with BTRFS, which are otherwise working normally, `btrfs check /' complains that

Superblock bytenr is larger than device size Couldn't open file system

Since am not using any "dangerous" options and want merely to analyse the system for errors without any modifications, I don't think I must unount my FS, which in my case would mean booting from a live CD. What may be causeing this error?

Signature · 2 lines
()  ascii ribbon campaign - against html e-mail
/\  http://preview.tinyurl.com/qcy6mjc [archived]
#1 lore raw
Quoted 4 lines · Anton Shepelev

Hello, all

On all our servers with BTRFS, which are otherwise working normally, `btrfs check /' complains that

Btrfs check shouldn't continue on mount point.

Latest one would report error like:

Opening filesystem to check...
ERROR: not a regular file or block device: /mnt/btrfs
ERROR: cannot open file system

Quoted 2 lines

Superblock bytenr is larger than device size

This shouldn't be a big problem, normally related to unaligned numbers, and older kernel/btrfs-progs.

Please try latest btrfs-progs and see if btrfs check reports any error.

Quoted 7 lines

Couldn't open file system

Since am not using any "dangerous" options and want merely to analyse the system for errors without any modifications, I don't think I must unount my FS, which in my case would mean booting from a live CD. What may be causeing this error?

Normally old mkfs or old kernel.

Latest btrfs check result would definitely help to solve the problem. And the follow result will also help (can be dumpded even with fs mounted, also needs latest btrfs-progs):

  # btrfs ins dump-super -FfA <device>
  # btrfs ins dump-tree -t chunk <device>

Thanks,
Qu

Quoted 1 line
#2 lore raw
In reply to Anton Shepelev

Qu Wenruo to Anton Shepelev:

Quoted 8 lines
Quoted 6 lines

On all our servers with BTRFS, which are otherwise working normally, `btrfs check /' complains that

Superblock bytenr is larger than device size
Couldn't open file system

Please try latest btrfs-progs and see if btrfs check reports any error.

It is SUSE Linux Enterprise with its native repository, so I cannot update btrfs easily. I will, though.

Signature · 2 lines
()  ascii ribbon campaign - against html e-mail
/\  http://preview.tinyurl.com/qcy6mjc [archived]
#3 lore raw
Quoted 5 lines · Anton Shepelev

Qu Wenruo to Anton Shepelev:

Quoted 3 lines
Quoted 3 lines

On all our servers with BTRFS, which are otherwise working normally, `btrfs check /' complains that

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Superblock bytenr is larger than device size
Couldn't open file system

Please try latest btrfs-progs and see if btrfs check reports any error.

It is SUSE Linux Enterprise with its native repository, so I cannot update btrfs easily. I will, though.

Then I recommend to use latest openSUSE Tumbleweed rescue ISO to do the mount and check.

Thanks,
Qu

Quoted 1 line