Re: raid mdadm



2010/12/22 Dennis Gilmore <dennis@xxxxxxxx>:
On Tuesday, December 21, 2010 11:30:16 pm xinyou yan wrote:
First I add sdb sdc sde  fdisk to sdb1 sdc1 sdd1 sde1
then
# mdadm --create --level=5 --raid-devices=4 /dev/sd{b,c,d,e}1
#mkdir /mnt/raid
#mkfs.ext4 /dev/md0
#vi /etc/fstab

add   /dev/md0  /mnt/raid  ext4 defaults 1 2

after reboot

fsck.ext4: Invalid argument while trying to open 0
/dev/md0:
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
filesystem (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
* Fsck could not correct all errors, manual repair needed
.....
you need to setup /etc/mdadm.conf
you want a line like bellow

Now i can't write the file
What i can see (Repair filesystem) #

the /etc/mdadm.conf is read only


ARRAY /dev/md0 level=raid5 num-devices=4 uuid=<uuid of your array>

to get your uuid run "mdadm --examine /dev/sdc1 |grep UUID"

Dennis

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: Is this Hard drive dead, Jim?
    ... > can give a second opinion. ... you must specify the filesystem type ... > The superblock could not be read or does not describe a correct ext2 ...
    (comp.os.linux.hardware)
  • second internal scsi harddisk not detected everytime I boot new HP DV 9540 laptop
    ... I have a brand new laptop, HP DV 9540, but my second internal harddisk ... The superblock could not be read or does not describe a correct ext2 ... filesystem, ...
    (Ubuntu)
  • Re: [opensuse] One partition is not working !!!!
    ... It is an ext3 filesystem. ... The superblock could not be read or does not describe a correct ext2 ... If I recall correctly ext2 breaks a disk into block groups. ...
    (SuSE)
  • raid mdadm
    ... The superblock could not be read or does not describe a correct ext2 ... filesystem, ... and you might try running e2fsck with an alternate superblock: ...
    (Fedora)
  • Re: Failure to Mount
    ... > fstab says that hdb has 3 primary partitions, ... Filesystem magic number: 0xEF53 ... Couldn't find ext2 superblock, trying backup blocks... ... Couldn't find valid filesystem superblock.# ./tune2fs ...
    (comp.os.linux.misc)