Re: Blocks changed since previous snapshot of subvolume

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

 



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