sri <toyours_sridhar <at> yahoo.co.in> writes:

> 
> Hi,
> 
> I Would like to know between 2 snapshots of a subvolume, can we identify 
> what all blocks modified particular to that subvolume ?
> 
> there can be many subvolume and snapshots present on the btrfs but i want 
> only blocks modified since first snapshot for the specific subvolume.
> 
> blocks should include metadata and data blocks. 

Not directly diff blocks, rather files, you could do something like this:

btrfs subvolume find-new <newer_snapshot> `btrfs subvolume show 
<older_snapshot> | grep Generation | awk '{print $2}'` |  awk '{ print $17 }' 
| sort | uniq


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to