Re: pata_via with software raid1: "attempt to access beyond end of device"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday July 19, fragabr@xxxxxxxxx wrote:
> On Fri, 20 Jul 2007 12:14:31 +1000
> Neil Brown <neilb@xxxxxxx> wrote:
> 
> > 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.
> 
> 	The output is:
> 
> 0200000   19410528
> 0200004
> 
> 	so...
> 
> 19410528 x 4 = 77642112
> 
> 	The difference (77642048 - 77642112) is 64.

So reiserfs thinks the devices is 64K larger than it really is. I
wonder how that happened.

> 
> 	Does it help? What could I do now? Thanks!

It helps that we know why you get these errors.  It looks like you
should be able to fix it with resize_reiserfs.
Looking at the man page I have, you could
   umount /whatever
   resize_reiserfs -s -64K /dev/md1
   mount /whatever

However I recommend reading the man page yourself, as this isn't the
sort of thing you want to get wrong.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux