All of lore.kernel.org
 help / color / mirror / Atom feed
* btrfs check: Superblock bytenr is larger than device size
@ 2018-10-16 14:05 Anton Shepelev
  2018-10-16 14:17 ` Qu Wenruo
  2018-10-16 15:25 ` Anton Shepelev
  0 siblings, 2 replies; 4+ messages in thread
From: Anton Shepelev @ 2018-10-16 14:05 UTC (permalink / raw)
  To: linux-btrfs

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?

-- 
()  ascii ribbon campaign - against html e-mail
/\  http://preview.tinyurl.com/qcy6mjc [archived]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: btrfs check: Superblock bytenr is larger than device size
  2018-10-16 14:05 btrfs check: Superblock bytenr is larger than device size Anton Shepelev
@ 2018-10-16 14:17 ` Qu Wenruo
  2018-10-16 15:25 ` Anton Shepelev
  1 sibling, 0 replies; 4+ messages in thread
From: Qu Wenruo @ 2018-10-16 14:17 UTC (permalink / raw)
  To: Anton Shepelev, linux-btrfs


[-- Attachment #1.1: Type: text/plain, Size: 1253 bytes --]



On 2018/10/16 下午10:05, Anton Shepelev wrote:
> 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


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

>    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

> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: btrfs check: Superblock bytenr is larger than device size
  2018-10-16 14:05 btrfs check: Superblock bytenr is larger than device size Anton Shepelev
  2018-10-16 14:17 ` Qu Wenruo
@ 2018-10-16 15:25 ` Anton Shepelev
  2018-10-17  1:08   ` Qu Wenruo
  1 sibling, 1 reply; 4+ messages in thread
From: Anton Shepelev @ 2018-10-16 15:25 UTC (permalink / raw)
  To: linux-btrfs

Qu Wenruo to Anton Shepelev:

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

-- 
()  ascii ribbon campaign - against html e-mail
/\  http://preview.tinyurl.com/qcy6mjc [archived]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: btrfs check: Superblock bytenr is larger than device size
  2018-10-16 15:25 ` Anton Shepelev
@ 2018-10-17  1:08   ` Qu Wenruo
  0 siblings, 0 replies; 4+ messages in thread
From: Qu Wenruo @ 2018-10-17  1:08 UTC (permalink / raw)
  To: Anton Shepelev, linux-btrfs


[-- Attachment #1.1: Type: text/plain, Size: 603 bytes --]



On 2018/10/16 下午11:25, Anton Shepelev wrote:
> Qu Wenruo to Anton Shepelev:
> 
>>> 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.

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

Thanks,
Qu

> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-17  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-16 14:05 btrfs check: Superblock bytenr is larger than device size Anton Shepelev
2018-10-16 14:17 ` Qu Wenruo
2018-10-16 15:25 ` Anton Shepelev
2018-10-17  1:08   ` Qu Wenruo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.