Removal of snapshots (and subvolumes)
Hi,
obviously btrfs is yet lacking any means to delete snapshots and subvolumes, well, at least their names (I read something about deleting their content...). We wanted to start playing with circular snapshots over btrfs driven by an application, so this limitation is a bit unhandy
- even if everything is highly experimental here anyway.
Browsing the archive, I found Aaron's first patches to fill this gap. What happened to them? Besides likely a few remaining bugs, the biggest seems to have been some lacking references in btrfs' tree roots. Did this situation change meanwhile? What is the schedule for this feature? If it's just lacking someone to pick up already existing bits and bring them in shape, I could offer a hand. Just hacking on btrfs with broader scope is currently not possible.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux
Quoted 8 lines · Jan Kiszka
Hi,
obviously btrfs is yet lacking any means to delete snapshots and subvolumes, well, at least their names (I read something about deleting their content...). We wanted to start playing with circular snapshots over btrfs driven by an application, so this limitation is a bit unhandy
- even if everything is highly experimental here anyway.
Quoted 8 lines
Browsing the archive, I found Aaron's first patches to fill this gap. What happened to them? Besides likely a few remaining bugs, the biggest seems to have been some lacking references in btrfs' tree roots. Did this situation change meanwhile? What is the schedule for this feature? If it's just lacking someone to pick up already existing bits and bring them in shape, I could offer a hand. Just hacking on btrfs with broader scope is currently not possible.
Its a little tricky atm, with Yan's new format patches. The drop snapshots patch he sent recently will be needed. You just need to use that to drop the items in the snapshot root, and then you'll need to add some extra code to actually remove the root. I think thats everything. Thanks,
Josef