Re: raid mdadm

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 22 Dec 2010, xinyou yan wrote:

> Date: Wed, 22 Dec 2010 13:30:16 +0800
> From: xinyou yan <yxy.716@xxxxxxxxx>
> To: users@xxxxxxxxxxxxxxxxxxxxxxx
> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00
>     autolearn=unavailable version=3.2.5
> Subject: raid mdadm
> 
> 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
> [ !! ]
> Give root password for maintenance
> (or type Control-D for normal startup):
> 
> 
> I try e2fsck .however it dostn't work
> 
> 
> How can i fix the problem ?
Just change system id for each partition to fd (Linux raid autodetect). 
Reboot.


Gabriel

- -- 

// Gabriel VLASIU
//
// OpenGPG-KeyID      : 0xE684206E
// OpenGPG-Fingerprint: 0C3D 9F8B 725D E243 CB3C 8428 796A DB1F E684 206E
// OpenGPG-URL        : http://www.vlasiu.net/public.key


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFNEmSMeWrbH+aEIG4RAtAmAJ92gSl/Hw5TdVH215x6zewSRH+nmgCfYMpr
E2cgJMo0L1S3IgS4WFS6bz4=
=ha6t
-----END PGP SIGNATURE-----
-- 
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

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux