Re: Removal of snapshots (and subvolumes)

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

 



On Mon, Jun 15, 2009 at 06:54:30PM +0200, Jan Kiszka wrote:
> 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.
>

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 
--
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