Re: Reassembling my RAID 1 array

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

 



On 28/10/18 01:47, Diederik de Haas wrote:
> On zaterdag 27 oktober 2018 18:26:28 CET Diederik de Haas wrote:
>> Would
>> repartitioning and/or zero-ing out the drives have the same effect? Or is
>> there and/or should I use another method?
>> My reasoning is that if mdadm doesn't see the bitmap (?) and/or no longer
>> sees the drives as RAID partitions, it also won't bother with it.
> 
> mdadm --stop /dev/md0
> fdisk /dev/sdb (delete partition)
> fdisk /dev/sdc (delete partition)
> mdadm --assemble /dev/md0 /dev/sd[f-g]1
> mdadm --readwrite /dev/md0
> 
> Fixed it for me :)
> 
Brilliant. I would still upgrade mdadm, though. It bit me when I created
a mirror and instead of a 2-disk mirror I ended up with two identical
1-disk mirrors. Not quite the same as your problem, but close enough to
be suspicious,

Cheers,
Wol



[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