I tried to use GParted to shrink a partition. Apparently, this was a huge mistake because it somehow decided shrink and then move. It took an hour to shrink and it estimates it will take 9 hours to move, what I assume is a handful of megabytes*, to the right.
The data is not extremely critical, but I know enough to know that I know very little about filesystems. I naively assume that because it's "just moving to the right" I may corrupt the file that is in the location that GParted is moving, but I don't think I would corrupt the entire filesystem. Well, perhaps it would corrupt the entire filesystem but I assume it's recoverable?
However this answer said "Just a note: Do NOT interrupt GParted! Doing so will most likely corrupt your partition table or other important disk parts." which made me weary. Perhaps moving filesystems is not a simple "take the bits from over there and put them here" that moves from one end of the memory to the other bit-by-bit.
The answer to the question will likely be useless to me, as I have decided against cancelling the operation. GParted's message "Stopping now will destroy the filesystem, interrupt again if you are sures [sic]" made sure of that.
But I am curious what I can/should do in the future if I am faced with this problem again. If I ever see that GParted wants to do two things, I'll guesstimate when I can get there to force quit between two operations (and, I believe this is possible, double check what GParted wants to do before actually asking GParted to do it...). Because clicking cancel a split second after I saw "Move to the right and shrink it" failed to cancel anything.
I think I will use parted
in the future, as I have used it once before and it was one of the most user-friendly command-line applications I've come accross. Because apparently in parted you CAN cancel pending operations without cancelling the currently running operation, whereas this is not implemented in GParted. At least not the version packaged with Rescuezilla.
TL;DR: I don't want to wait for GParted to move the file system. How can I interrupt GParted and recover the most data? Please do not answer "use <file recovery software>".
* this sentence might be confusing. I am moving 1+TiB of data, I'm not super surprised that it is taking so long. When I say handful of megabytes I mean this is how far I believe GParted is actually moving the data.