]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: report better message when --grow --chunk cannot work.
authorNeilBrown <neilb@suse.de>
Thu, 27 Jun 2013 00:12:31 +0000 (10:12 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 27 Jun 2013 00:12:31 +0000 (10:12 +1000)
commita73b00811cf8b0c36bcf66c356951857fb37ce77
tree9e4fdac6d39bbe2393e69c38887e1a6896a20acb
parentb379508eeb26273f6044080788ffa1eb257c96f4
Grow: report better message when --grow --chunk cannot work.

When changing the chunksize of an array, the new chunksize must
divide the device size.
If it doesn't we report a very brief message.
Make this message a bit longer and suggest a way forward be reducing
the size of the array.

Reported-by: Mark Knecht <markknecht@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c