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 Monday November 6, tandrews@xxxxxxxxxx wrote:
> On Mon, Nov 06, 2006 at 09:17:26AM +1100, Neil Brown wrote:
> > You mdadm to assemble the array, it is more flexible than auto-detect.
> 
> 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 use mdadm to assemble the root partition with suitable
initramfs magic, and I gather most distributions use initramfs (or
initrd) by default now.  But getting the magic to work isn't always as
straight forward as you would like.

You solution is should work fine so stick with it.

NeilBrown
-
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