Re: auto-assembling arrays without a configuration file

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

 



On Sat, Mar 08, 2008 at 01:40:09AM +0100, Keld Jørn Simonsen wrote:
> I want to assemble the root partition automatically, without having 
> a configuration file. Is that possible? 
> 
> mdadm -A --scan 
> 
> does seem to require a configuration file.
> 
> On the other hand, I think all info needed is available in the super
> blocks, and a traversal of the partitions present on the system (ala
> fdisk -l) could give consistent naming - there seems to be no /dev/md
> association available in the superblock.

I tried 

mdadm -A --scan  --config partitions

But it did not work, error message something like raid array not found.

Best regards
keld
--
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