[mythtv-users] Totally OT - but need help wit RAID5 array

James Pifer jep at obrien-pifer.com
Thu Nov 16 19:31:08 UTC 2006


> > [root at storage ~]# mdadm --force --assemble /dev/md0 /dev/hdb /dev/hdc
> > mdadm: --assemble would set mdadm mode to "assemble", but it is already set to "manage".
> > 
> > What command(s) should I be using?
> > 
> Yeah, mdadm is very picky about the order of options.  Try:
>         mdadm --assemble /dev/md0 --force /dev/hdb /dev/hdc
> 

ok, did that:
[root at storage ~]# mdadm --assemble /dev/md0 --force /dev/hdb /dev/hdc
mdadm: forcing event count in /dev/hdb(0) from 57595 upto 57602
mdadm: /dev/md0 has been started with 2 drives (out of 3).


Tried to mount it, I got this error:
storage kernel: journal commit I/O error

If I try to ls anything I get this:
[root at storage ~]# ls /storage/backups
ls: reading directory /storage/backups: Input/output error

I unmounted it and tried running fsck /dev/md0 and got:
fsck 1.38 (30-Jun-2005)
e2fsck 1.38 (30-Jun-2005)
fsck.ext3: Attempt to read block from filesystem resulted in short read while trying to open /dev/md0
Could this be a zero-length partition?

Thanks,
James



More information about the mythtv-users mailing list