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

Robin Hill myth at robinhill.me.uk
Thu Nov 16 19:47:26 UTC 2006


On Thu Nov 16, 2006 at 02:31:08PM -0500, James Pifer wrote:

> > > [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?
> 
Oh dear, that doesn't look good :(  Are you getting any disk errors in
/proc/dmesg?

Cheers,
        Robin
-- 
     ___        
    ( ' }     |       Robin Hill        <myth at robinhill.me.uk>  |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20061116/4b240b34/attachment.pgp 


More information about the mythtv-users mailing list