Re: mdadm: Patch to restrict --size when shrinking unless forced

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

 



On 10/10/2017 04:48 PM, NeilBrown wrote:
> On Mon, Oct 09 2017, Phil Turmel wrote:

>> 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
--
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