sri posted on Fri, 18 Mar 2016 13:36:50 +0000 as excerpted:

> Henk Slager <eye1tm <at> gmail.com> writes:
> 
>> sri <toyours_sridhar <at> yahoo.co.in> writes:
>> > 
>> > 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 [...]
>> 
>> 
> Thank you. As I checked only blocks related to file are shown.
> 
> is there a way to get other blocks modified such as meta data such as
> inodes blocks modified and corresponding directory inode blocks along
> with files?

This would include the change data itself as well, and I'm not sure if 
the format once the actual binary level changes themselves are removed is 
practically consumable by humans or not, but it occurs to me that this is 
precisely the information that btrfs send -p provides.  If you can strip 
the changes themselves out and what's left is either human readable or 
can be processed to human readable, then it should be exactly what you're 
after, the changed blocks, for data and metadata both.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

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

Reply via email to