Re: Cancel device remove?

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

 



Hello,
Is there some way to cancel a device remove operation? I have discovered that if I reboot that will cancel it, but that's not always possible. What I'm after is something the same as cancelling scrub.
I keep running into situations where I want to pause a remove operation for speed reasons.

Since removing a device involves shrinking it to 0 size first (http://lxr.free-electrons.com/source/fs/btrfs/volumes.c#L1743), I guess you could just run "btrfs filesystem resize" in a loop as a workaround, shrinking it incrementally, and then remove at the end.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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