Re: [PATCH] mdadm:check the nodes when operate clustered array

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

 



Zhilong Liu <zlliu@xxxxxxxx> writes:
> It doesn't make sense to write_bitmap with less than 2 nodes,
> in order to avoid 'write_bitmap' received invalid nodes number,
> it would be better to do checking nodes in getopt operations.
>
> Signed-off-by: Zhilong Liu <zlliu@xxxxxxxx>
> ---
> such as following method would reproduce the issue.
> # mdadm -CR /dev/md0 -l1 -n2 --bitmap=internal /dev/sda /dev/sdb
> # mdadm --grow /dev/md0 --bitmap=none
> # mdadm --grow /dev/md0 --bitmap=clustered --nodes=1
> # mdadm -X /dev/sda, it would be written internal bitmap.

Applied!

Thanks,
Jes
--
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