Comments (8)
I created a snapshot 'bak' of a subvolume. There were tons of files in the snapshot.
And I found doing btrfs subvolume delete -c bak
on Linux is much faster than deleting 'bak' with shift-delete shortcut.
I think this is because they're not doing the same thing. The latter deletes files in the directory one by one before it deletes the directory (or subvolume/snapshot). And the former should just delete the subvolume... Hmm, I don't know. 😂
So I want to know can I delete subvolumes like on Linux, but with WinBtrfs?
from btrfs.
If you're not even going to leave a message, why should I waste my time on this?
from btrfs.
: )
I don't know what message do you need.
from btrfs.
Sorry for my poor English. And I am asking again...
How can I have WinBtrfs do btrfs subvolume delete path_to_a_btrfs_subvolume
?
Thanks for this amazing project, by the way.
from btrfs.
Unlike on Linux, you can delete subvolumes on Windows as if they were any other directory.
from btrfs.
Dear @maharmstone, I think this question is very relevant. I am going to use WinBtrfs to effectively and efficiently keep history of my backups from Windows as I am used to from Linux. From time to time, with storage getting full, I expect need for deleting old snapshots. The great thing on Btrfs snapshots is, among others, the ease of their creation, copy (cloning) and deletion as, as noted by @hex11, it is huge difference in speed between btrfs subvolume delete
, that is almost instantaneous on Linux regardless of the number and size of files on the subvolume, and deleting the subvolume as directory where recursive deletion of the full content of the subvolume is necessary, that is very slow operation on directories with hundreds of thousands or more files inside.
Is there any design issue on Windows preventing subvolume delete
implementation?
from btrfs.
Yes, I know. It's something I want to look at, it's just never been a priority.
from btrfs.
Ok, thanks for a quick response, @maharmstone. So, if there is something I can do for increasing priority of this... At least have my +1 for this issue. :-)
from btrfs.
Related Issues (20)
- Unmounting aka removing HOT 5
- [win] unmount/undock btrfs-datastick (usb) HOT 6
- Unexpected interrupts to balance brick partition
- Unable to uninstall HOT 24
- Steam resetting permissions when switching between Windows and Arch Linux HOT 8
- Support for .img files contain btrfs file system 💾 HOT 2
- Access to openSUSE BTRFS partitions HOT 4
- Old slow Zstd 1.5.0 is used, need to build using new 1.5.6 Zstandard version HOT 1
- winbtrfs stopped working, can't uninstall and reinstalling doesn't work HOT 3
- System freezes when writing to disk HOT 5
- Mounting iso images causes all btrfs volumes being unreachable till reboot
- Filesystem/Folder is being used by another process. (Java language server partially takes down the filesystem) HOT 1
- Support for btrfs over USB HOT 2
- Problem adjusting Mappings - Default Owner From Windows.
- Remounting BTRFS file system requires a reboot (after a successful dismount) HOT 3
- Filesystem hangs when navigating through directories HOT 1
- Unable to mount gpt drive with btrfs partition in win 11 HOT 1
- mount / umount / remount without restart? HOT 2
- Fix a Clang warning about 'size' in 'add_chunk()' HOT 1
- Btrfs partitions with problem while using, Help! HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btrfs.