cancel resize
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.
thanks,
Oliver
Quoted 5 lines · Oliver
Hello,
I've made a stupid mistake. I wanted to reduce a disk with 1990m, but instead resized it to 1990m.
Quoted 7 lines
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!
Quoted 2 lines
thanks,
Oliver
Quoted 11 lines · Zygo Blaxell
Quoted 10 lines · Oliver
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.
Quoted 7 lines
Quoted 2 lines
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.