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 Thu, 19 Jul 2007 13:54:50 +1000
> Neil Brown <neilb@xxxxxxx> 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
-
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