From: Neil Brown <neilb@suse.de>
To: "Dâniel Fraga" <fragabr@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: pata_via with software raid1: "attempt to access beyond end of device"
Date: Fri, 20 Jul 2007 12:14:31 +1000 [thread overview]
Message-ID: <18080.6791.774446.512592@notabene.brown> (raw)
In-Reply-To: message from Daniel Fraga on Thursday July 19
On Thursday July 19, fragabr@gmail.com wrote:
> On Thu, 19 Jul 2007 13:54:50 +1000
> Neil Brown <neilb@suse.de> wrote:
>
> > The resierfs filesystem is trying to access beyond the end of the
> > raid1 array. Maybe some indexing information in the array is
> > corrupted.
> > Did you recreate the array (mdadm --create) after changing to the new
> > drivers? If so, could you have accidentally made it a little smaller?
> >
> > Possibly try running fsck and see if it finds anything to fix.
>
> Hi Neil, I recreated the array after changing to libata. I
> checked the whole filesystem with reiserfsck --rebuild-tree, then
> started it again and the problem happens suddenly.
>
> And regarding the size of array, I just added the whole
> partition to the array:
>
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/md1 77639736 30127524 47512212 39% /
>
> Array Size : 77642048 (74.05 GiB 79.51 GB)
> Used Dev Size : 77642048 (74.05 GiB 79.51 GB)
>
> Can I compare both values (77639736 with 77642048)? If so,
> there is a difference, if not, I don't know.
Filesystems always reserve some space for internal use, so the size
reported by df is always smaller than the total number of block on the
devices.
What does
od -D -j 65536 -N 4 /dev/md1
show. This is the size the reiserfs thinks it is using. Multiply by
4 and you should get 77642048 or maybe a little less. If you get
more, then reiserfs think the device is bigger than it is. If don't
then I have no idea what the problem is.
NeilBrown
next prev parent reply other threads:[~2007-07-20 2:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 2:24 pata_via with software raid1: "attempt to access beyond end of device" Dâniel Fraga
2007-07-19 3:54 ` Neil Brown
2007-07-19 18:23 ` Dâniel Fraga
2007-07-20 2:14 ` Neil Brown [this message]
2007-07-20 2:32 ` Dâniel Fraga
2007-07-20 2:59 ` Neil Brown
2007-07-21 21:18 ` Dâniel Fraga
2007-07-30 19:01 ` Cry Regarder
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=18080.6791.774446.512592@notabene.brown \
--to=neilb@suse.de \
--cc=fragabr@gmail.com \
--cc=linux-raid@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).