From: "NeilBrown" <neilb@suse.de>
To: "Pawe³ Sikora" <pluto@agmk.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6.27.6] jfs on raid1 => attempt to access beyond end of device.
Date: Thu, 20 Nov 2008 21:36:43 +1100 (EST) [thread overview]
Message-ID: <03939301a556d2819d6af347493d2c64.squirrel@neil.brown.name> (raw)
In-Reply-To: <kiMF2GVq.1227171795.6518750.pluto@agmk.net>
On Thu, November 20, 2008 8:03 pm, Pawe³ Sikora wrote:
> hi,
>
> few hours ago i've set up jfs filesystems on raid1 and raid0.
> during restoring backup i've got an errors in dmesg.
> the testcase on my system is easy and 100% reproducible:
> just do the following command on jfs/raid1 device:
....
> /dev/sda2 * 748 2206 11719417+ fd Linux raid
^^^^^^^^^
size of sda2 is Kilobytes - 23438835 sectors.
>
> md0 : active raid1 sda2[0] sdb2[1]
> 11719296 blocks [2/2] [UU]
^^^^^^^^
size of md0 in kilobytes - 23438592 sectors.
> [ 5583.796222] attempt to access beyond end of device
> [ 5583.796227] md0: rw=1, want=23438832, limit=23438592
Largest 'want' value.
'want' is just less than size of sda2
'limit' is exactly size of md0 (no surprise there).
> any ideas what's wrong?
I suspect you created the filesystem on /dev/sda2, not realising
that when you created a raid1 from sda2 and sdb2 it would be slightly
smaller than sda2 (as md used up to 120K for metadata storage).
NeilBrown
(P.S. I love it when people provide all the details thus making it
easier for me to spot what is happening - thanks!)
next prev parent reply other threads:[~2008-11-20 10:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-20 9:03 Paweł Sikora
2008-11-20 10:36 ` NeilBrown [this message]
[not found] <18725.19330.33584.355723@notabene.brown>
2008-11-20 12:42 ` Paweł Sikora
2008-11-20 20:37 ` NeilBrown
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=03939301a556d2819d6af347493d2c64.squirrel@neil.brown.name \
--to=neilb@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pluto@agmk.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®