Giter VIP home page Giter VIP logo

Comments (8)

hex11 avatar hex11 commented on July 26, 2024 1

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.

maharmstone avatar maharmstone commented on July 26, 2024

If you're not even going to leave a message, why should I waste my time on this?

from btrfs.

hex11 avatar hex11 commented on July 26, 2024

: )
I don't know what message do you need.

from btrfs.

hex11 avatar hex11 commented on July 26, 2024

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.

maharmstone avatar maharmstone commented on July 26, 2024

Unlike on Linux, you can delete subvolumes on Windows as if they were any other directory.

from btrfs.

michal-ruzicka avatar michal-ruzicka commented on July 26, 2024

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.

maharmstone avatar maharmstone commented on July 26, 2024

Yes, I know. It's something I want to look at, it's just never been a priority.

from btrfs.

michal-ruzicka avatar michal-ruzicka commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.