Re: [PATCH v2 1/1] mdadm/udev: Don't handle change event on raw devices

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

 



On 1/4/23 11:29, Xiao Ni wrote:
> The raw devices are ready when add event happpens and the raid
> can be assembled. So there is no need to handle change events.
> And it can cause some inconvenient problems.
> 
> For example, the OS is installed on md0(/root) and md1(/home).
> md0 and md1 are created on partitions. When it wants to re-install
> OS, anaconda can't clear the storage configure. It deletes one
> partition and does some jobs. The change event happens. Now
> the raid device is assembled again. It can't delete the other
> partitions.
> 
> So in this patch, we don't handle change event on raw devices
> anymore.
> 
> Signed-off-by: Xiao Ni <xni@xxxxxxxxxx>
> ---
>  udev-md-raid-assembly.rules | 8 ++++++++
>  1 file changed, 8 insertions(+)

Applied!

Thanks,
Jes





[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