diff options
author | zhilong <zlliu@suse.com> | 2016-03-25 03:22:03 +0100 |
---|---|---|
committer | Jes Sorensen <Jes.Sorensen@redhat.com> | 2016-03-29 17:41:26 +0200 |
commit | 6447a1270547307651b35b1a3828f3ab19cbf191 (patch) | |
tree | 1cf75ad492e153a55ae4710e5d4fd118816c4788 /mdadm.c | |
parent | Change the option from NoUpdate to NodeNumUpdate (diff) | |
download | mdadm-6447a1270547307651b35b1a3828f3ab19cbf191.tar.xz mdadm-6447a1270547307651b35b1a3828f3ab19cbf191.zip |
mdadm:Add '--nodes' option in GROW mode
mdadm:add '--nodes' option in GROW mode, because
'Cluster nodes' is set 4 by default if the nodes
parameter is not specified when switch bitmap
from none to clustered.
Signed-off-by: Zhilong Liu <zlliu@suse.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Diffstat (limited to 'mdadm.c')
-rw-r--r-- | mdadm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -589,6 +589,7 @@ int main(int argc, char *argv[]) ident.raid_disks = s.raiddisks; continue; case O(ASSEMBLE, Nodes): + case O(GROW, Nodes): case O(CREATE, Nodes): c.nodes = parse_num(optarg); if (c.nodes <= 0) { |