Re: Problems with fsck on boot

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

 



> 
> 
> I setup a 700GB file system on a Compaq Alpha box running RedHat 7.1
> with all patches (kernel 2.4.9-31smp).  I set it up as a linear device
> containing two 12 disk RAID5 stripes (1 disk in each as a hot spare).
> I also have a 4 disk RAID5 with one disk as a hot spare.
> 
> When I reboot the fsck for the smaller volume is fine, but the fsck
> for the big filesystem fails saying something to the effect that the
> file system reports having more blocks than the device does.  I am
> using a 32K chunk size and newfs'ed the volume using:
> 
>    mke2fs -B 4096 -R stride=8 /dev/md2
> 
> I can still mount the file system just fine and I did an fsck by hand
> using 'fsck -C -f -a /dev/md2' and it reported no errors.  I've tried
> building the file system a couple times and it's always the same.
> When I built it using just one of the RAID5 strips it works fine.
> 
> What am I doing wrong?
> 
>    Chris
> 

More information is below.  Is it possible that the persistant
superblock is my issue?  I looks like the concat only sees the bottom
metadevice?

   Chris


The device I mount is /dev/md2.  The error I get is:

Parallelizing fsck version 1.23 (15-Aug-2001)
e2fsck 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09
The filesystem size (according to the superblock) is 177781408 blocks
The physical size of the device is 88890720 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? no

md2 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Error reading block 88899630 (Attempt to read block from filesystem resulted in short read) while doing inode scan.  Ignore error<y>? yes

Error reading block 88899631 (Attempt to read block from filesystem resulted in short read) while doing inode scan.  Ignore error<y>? yes



Here is my /etc/raidtab:

raiddev /dev/md0
   raid-level              5
   nr-raid-disks           11
   nr-spare-disks          1
   persistent-superblock   1
   chunk-size              32
   parity-algorithm        left-symmetric

   [snip disk entries]

raiddev /dev/md1
   raid-level              5
   nr-raid-disks           11
   nr-spare-disks          1
   persistent-superblock   1
   chunk-size              32
   parity-algorithm        left-symmetric

   [snip disk entries]

raiddev /dev/md2
   raid-level              linear
   nr-raid-disks           2
   chunk-size              32
   persistent-superblock   1

   device                  /dev/md0
   raid-disk               0
   device                  /dev/md1
   raid-disk               1



-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
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