Re: Possible to wait for snapshot deletion?

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

 



Holger Hoffstätte <holger.hoffstaette@xxxxxxxxxxxxxx> schrieb:

> On Thu, 13 Feb 2014 20:02:43 +0100, Kai Krakow wrote:
> 
>> Is it technically possible to wait for a snapshot completely purged from
>> disk? I imagine an option like "--wait" for btrfs delete subvolume.
> 
> That would indeed be sweet (see pointer to patch by Garry Williams).
> 
> In the meantime have you tried issuing a simple "sync" in your script
> after every snapshot deletion? I've observed that this kicks the cleaner
> into action.

I was under the impression that a sync command just doesn't do the trick. It 
kicks in the cleaner but returns to early. But I din't try that again 
lately.

But I'm actually currently using "btrfs fs sync" to do it because a normal 
"sync" command would affect all my filesystems and I'd like to keep it 
isolated.

I'll post a link to my backup script for reference in another post in this 
thread.

-- 
Replies to list only preferred.

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