Re: raid 5 crashed

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

 



On 06/03/2016 08:27 AM, bobzer wrote:

> i use losetup to make my dd image a dev/loop device and took the risk
> of start the raid but it doesn't work:
> i did :
> mdadm --assemble --force --name=/dev/md0 /dev/sdb1 /dev/sdd1
> /dev/loop2 /dev/sdc1
> it answer :
> mdadm: device /dev/sdb1 exist but is not an md array
> 
> except that is not true, sdb1 and sdd1 are the correct drive. sdc1 is
> the one saw as a spare

The --name is for if you want to call the device something other than just md0. If you use /dev/md0 instead of --name=/dev/md0 it might work.


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