[CentOS] Fsck on mdraid array

Gordon Messmer
Thu, 22 Jul 2010 01:48:19 -0000

On 07/21/2010 09:12 AM, Jussi Hirvi wrote:
>
> So I boot from CentOS 5.3 dvd in rescue mode, do not mount the file
> systems, and try to run
> 	fsck -y /dev/md0
> 	fsck -y /dev/md1
> 	fsck -y /dev/md2
>
> For each try I get an error message: "Superblock could not be
found..."
> "The device does not seem to contain a valid ext2 filesystem..."

Perhaps they weren't started automatically?  Try running "mdadm
-IRs"
and then look at the contents of /proc/mdstat and the output of 'dmesg'
for more information.