Re: invalid (zero) superblock magic upon creation of a new RAID-1 array

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

 



On 6 Nov 2006, Thomas Andrews uttered the following:
> Thanks Neil, I fixed my problem by creating the raid set using the "-e"
> option:
>
>     mdadm -C /dev/md0 -e 0.90 --level=raid1 --raid-devices=2  /dev/sda1 /dev/sdb1
>
> You're suggestion to use mdadm to assemble the array is not an option
> for me because it is the root partition that is raided, but thanks for
> putting me in the right direction.

You can still use mdadm to assemble root filesystems: you just need
an initramfs or initrd to do the work before / is mounted. (As a
bonus you can fsck it before it's mounted, as well.)

Most distros have tools that can do this for you, or you can do it by
hand (see e.g. <http://linux-raid.osdl.org/index.php/RAID_Boot>).

-- 
`When we are born we have plenty of Hydrogen but as we age our
 Hydrogen pool becomes depleted.'
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux