Feature request - Snapshot size

Bug #1472220 reported by Jonathan Rioux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-btrfs-snapshot (Ubuntu)
New
Undecided
Unassigned

Bug Description

It would really help to have more information on the snapshots created.

Add size used like follow :

# apt-btrfs-snapshot list-size
Available snapshots:
@apt-snapshot-2015-04-28_10:47:22 [16mb]
@apt-snapshot-2015-04-28_17:13:33 [3mb]
@apt-snapshot-2015-06-14_21:53:10 [167mb]
@apt-snapshot-2015-06-14_22:23:20 [2mb]
[Total numbers of snaphots : 4]
[Total size of snapshots : 188 mb]

What is in [ ] is new output.
A total # of snapshots is great when you have lots !
Thanks

Tags: size snapshot
Revision history for this message
Jonathan Rioux (jonathanrioux) wrote :

It is possible to view size of snapshots using :

btrfs quota enable /
btrfs quota rescan /
btrfs qgroup show /

So it should be easy to implement in apt-btrfs-snapshot, converting from snapshot number to @apt-name.

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.