Re: mdadm --assemble --scan hassles....

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

 



On Wednesday October 8, hvisage@envisage.co.za wrote:
> Right, now if md would do auto detecting on mds then my
> problem would have disappeared, but alas....
> 
> Anycase, I'm trying to make use of mdadm (I've tried different options etc.
> inside mdadm.conf from what I could see on the mailing list), but I'm still
> stuck with the following issue:
> (right after boot):
> 
> root@hvstress ~ # mdadm --assemble --scan
> mdadm: no devices found for /dev/md/1

That would be because mdadm.conf describes /dev/md/1 as:
    UUID=c2a91233:5ffd5398:eac27773:e12945dd
but mdadm --examine doesn't show any arrays with that uuid.

NeilBrown

> root@hvstress ~ # mdadm --examine --scan   
> ARRAY /dev/md1 level=linear num-devices=2 UUID=8eb3a6c0:02e58fd9:a662938a:56f87147
>    devices=/dev/md/0,/dev/md/0
> root@hvstress ~ # mdadm --examine --scan --config=partitions
> ARRAY /dev/md0 level=raid0 num-devices=2 UUID=832ab839:9920da12:97991965:f9af96e2
>    devices=/dev/scsi/host0/bus0/target1/lun0/part1,/dev/scsi/host0/bus0/target2/lun0/part1
> ARRAY /dev/md1 level=linear num-devices=2 UUID=8eb3a6c0:02e58fd9:a662938a:56f87147
>    devices=/dev/md/0,/dev/scsi/host0/bus0/target1/lun0/part2
> 
> root@hvstress ~ # mdadm --assemble --scan   
> mdadm: no devices found for /dev/md/1
> root@hvstress ~ # cat /etc/mdadm.conf 
> DEVICE /dev/md/* /dev/sd*
> DEVICE /dev/sd[ab]
> DEVICE /dev/md0 
> DEVICE /dev/md/0
> 
> ARRAY /dev/md/0 level=raid0 num-devices=2 UUID=832ab839:9920da12:97991965:f9af96e2
>    devices=/dev/scsi/host0/bus0/target1/lun0/part1,/dev/scsi/host0/bus0/target2/lun0/part1
> ARRAY /dev/md/1 level=linear num-devices=2 UUID=c2a91233:5ffd5398:eac27773:e12945dd
> 
> 
> -
> 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
-
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