All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavol Gono <Pavol.Gono@siemens.com>
To: xfs@oss.sgi.com
Subject: "Invalid block length" warning with small blocksize
Date: Fri, 01 Apr 2011 12:13:55 +0200	[thread overview]
Message-ID: <4D95A563.3050804@siemens.com> (raw)

Hi

I am getting this warning in kernel log:
XFS: Invalid block length (0x2000) given for buffer
during mount, and I don't know if this can be safely ignored or not.

It happens only if I formatted XFS with block size smaller than 4k.
And I experienced it only in my virtual machine (using VirtualBox). I 
have tested it on two physical servers and it didn't happen.

OS is SLES11 SP1 64-bit.

partbox:~ # uname -a
Linux partbox 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 
x86_64 x86_64 x86_64 GNU/Linux
partbox:~ # fdisk -l

Disk /dev/sda: 34.4 GB, 34359738368 bytes
255 heads, 63 sectors/track, 4177 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00074280

    Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1305    10482381   83  Linux
/dev/sda2            1306        1435     1044225   83  Linux
/dev/sda3            1436        4177    22025115    f  W95 Ext'd (LBA)
/dev/sda5            1436        1467      257008+  82  Linux swap / Solaris
/dev/sda6            1468        1728     2096451   83  Linux
/dev/sda7            1729        1793      522081   83  Linux
/dev/sda8            1794        4177    19149448+  83  Linux
partbox:~ # mkfs.xfs -f -b size=4k /dev/sda2
meta-data=/dev/sda2              isize=256    agcount=4, agsize=65264 blks
          =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=261056, imaxpct=25
          =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal log           bsize=4096   blocks=1200, version=2
          =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
partbox:~ # mount /dev/sda2 /opt
partbox:~ # dmesg | tail -2
[  484.331102] XFS mounting filesystem sda2
[  484.334071] Ending clean XFS mount for filesystem: sda2
partbox:~ # umount /dev/sda2
partbox:~ # mkfs.xfs -f -b size=2k /dev/sda2
meta-data=/dev/sda2              isize=256    agcount=4, agsize=130528 blks
          =                       sectsz=512   attr=2
data     =                       bsize=2048   blocks=522112, imaxpct=25
          =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal log           bsize=2048   blocks=1728, version=2
          =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
partbox:~ # mount /dev/sda2 /opt
partbox:~ # dmesg | tail -3
[  560.534120] XFS mounting filesystem sda2
[  560.537462] XFS: Invalid block length (0x2000) given for buffer
[  560.542101] Ending clean XFS mount for filesystem: sda2
partbox:~ #


Pavol Gono

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

             reply	other threads:[~2011-04-01 10:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-01 10:13 Pavol Gono [this message]
2011-04-01 22:19 ` "Invalid block length" warning with small blocksize Dave Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D95A563.3050804@siemens.com \
    --to=pavol.gono@siemens.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.