On Sat, Apr 11, 2020 at 10:49:54PM -0400, Zygo Blaxell wrote: > On Sun, Apr 12, 2020 at 01:52:01AM +0200, Oliver wrote: > > Hello, > > > > I've made a stupid mistake. I wanted to reduce a disk with 1990m, but > > instead resized it to 1990m. > > > > btrfs fi resize 2:1990m /btrfs > > > > It will take forever and might fail in the end, as I might not have enough > > space avaiable. > > > > How do I cancel this operation ? I can see cancel operations for other > > commands, but not this one. > > Currently, the only ways to stop a device shrink or remove are to run > out of space or reboot. > > Patches welcome! This will need either a new ioctl or a bit dirty extension to the current one, as the resize request is a string so 'cancel' will stop current resize in case it's running.
