Re: cancel resize

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

 



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.



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux