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

Re: raid software troubles (long)



also sprach Hal <selvone@ngi.it> [2006.12.26.2205 +0100]:
>  fsck.ext3 invalid argument while trying to open /dev/mdX The
> superblock could not be read or does not describe a correct ext2
> filesystem
> If the device is valid and it really contains an ext2 fs (and not swap or
> ufs or something else),
> then the superblock is corrupt, and you might try running e2fsck with an
> alternate superblock:
> e2fsck -b 8193 <device>
> fsck failed.please repair it manually.
> 
> I followed first suggestion (ctrl+D to go on) but the system could
> just access to /boot mount point (/dev/md0)...

It would help to see the contents of /proc/mdstat at this point, and
also the output of

  mdadm -Es

and

  mdadm -Asa yes

Does it work if you put

  DEVICE partitions

into your mdadm.conf file?

> . mdrun (start the raid service)

don't use mdrun, use /usr/share/mdadm/startall or mdadm directly.

> ARRAY /dev/md1 level=raid1 num-devices=2 UUID=cb7c2f86:92c4fce4:65ba022f:e74122$
> devices=/dev/sda5,/dev/sdb5
> ARRAY /dev/md2 level=raid1 num-devices=2 UUID=4e0ccf9d:24a4558f:291b4a3a:dbfd6f$
> devices=/dev/sdb6
> ARRAY /dev/md3 level=raid1 num-devices=2 UUID=cd73e87c:0b15fe41:427f5dab:f6013a$
> devices=/dev/sda7,/dev/sdb7
> ARRAY /dev/md4 level=raid1 num-devices=2 UUID=6e716c4b:deb9c372:5404f35f:f9eb59$
> devices=/dev/sda8,/dev/sdb8
> ARRAY /dev/md0 level=raid1 num-devices=2 UUID=3a46ba90:59f0c3fc:7bbef7c8:bba4dc$
> devices=/dev/sda1,/dev/sdb1
> 
> the string ",/dev/sda6" misses in /dev/md2.... why ? o_O

no idea, but it should not matter. in fact, you don't need
devices=XYZ and i suggest you remove them; the UUID is all you need
to identify array components.

> # mdadm --misc --query /dev/md0
> /dev/md0: 1.86GiB raid1 2 devices, 0 spares. Use mdadm --detail for more detail
> /dev/md0: No md super block found, not an md component.
> Superblock ? How can I fix this ?
[...]
> # mdadm --misc --examine /dev/md0
> mdadm: No super block found on /dev/md0 (Expected magic a92b4efc, got 00000000)
> Superblock error again..

--query and --examine are for components, like /dev/sda1, not the
array. So there is no problem in the above, you're just asking the
wrong question.

> # mdadm --misc --query --detail /dev/md0

--detail is for the array.

HTH,

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
save the plankton - eat a whale.

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


Reply to: