Re: mdadm: Patch to restrict --size when shrinking unless forced
From: Phil Turmel <hidden>
Date: 2017-10-10 20:58:14
From: Phil Turmel <hidden>
Date: 2017-10-10 20:58:14
On 10/10/2017 04:48 PM, NeilBrown wrote:
On Mon, Oct 09 2017, Phil Turmel wrote:
quoted
Might it be reasonable to reject "--grow" operations that reduce the final array size, and introduce the complementary "--reduce" operation that rejects array size increases?While there is a lot to like about this approach, one problem is that some "grow" operations do not change the size. They might, e.g., just change the chunksize.
I tried to word my proposal to address that -- either keyword could accept operations that didn't change the size.
I guess you could have --grow --reduce --reshape. I wouldn't object to such a change.
Jes has weighed in as opposed. Sigh. Phil