Re: RAID detection and activation w/o auto detection

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

 



On Monday April 29, bo@sosnetwork.net wrote:
> Hello,
> 
> How to detect and activate the RAID manually without 
> "auto detection"(0xFD in partition type)?
> 
> I tried with "mdadm -R" or "mdadm -A", but it did not work.

echo '/dev/hd* /dev/sd*' > /etc/mdadm.conf
mdadm -Dsb >> /etc/mdadm.conf

# look at /etc/mdadm.conf and make sure that it looks ok.

# add  "mdadm -As" to an appropriate startup script.

Note that this won't work for assembling the root filesystem.
To do that, you either need an init-ramdisk which runs "mdadm -As", or
use kernel parameters to start the root device.e.g.

  append="root=/dev/md0 md=0,/dev/hda1,/dev/hdc1"

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
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