You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,14 @@ Now, the actual disk size of Snapshot 1 can be extracted from each file extent
27
27
28
28
[python-btrfs](https://github.com/knorrie/python-btrfs) must be installed.
29
29
30
-
Program is single threaded, it could use a lot of memory and it puts a lot of read stress in disks. It could take many minutes. ionice it & monitor its memory usage. Memory usage & execution time depend on the dataset. The program does not perform any write operations. Do not modify subvolume/snapshot during execution.
30
+
Program is single threaded, it could use a lot of memory and it puts a lot of read stress in disks. It could take many minutes. ionice it & monitor its memory usage. Memory usage & execution time depend on the dataset. The program does not perform any write operations. Do not modify subvolume/snapshot during execution. Try not to write any data to any subvolume or execute dedup programs in parallel.
31
31
32
-
`subvolume.py [-u] [-r <root tree, default 5>] /path/to/btrfs/ [<subvolume id to ignore1> <subvolume id to ignore2>]`
`-u` calculates the unique data occupied by each snapshot. Thus, `-r` makes no sense. Specifying subvolumes to ignore can mess with `-u` results because the specified subvolume data will not be parsed!
35
+
`-f` finds the files that might contribute to the unique extents.
36
+
`-i` makes the program to ignore the specified subvolumes, which is also the default behaviour if no `-i` or `-o` argument is specified but subvolumes are given.
37
+
`-o` makes the program to analyze only the specified subvolumes.
35
38
36
39
You can find subvolume ids by using:
37
40
`btrfs subvolume list /path/to/btrfs`
@@ -133,6 +136,19 @@ Snapshot 2133 introduced 17GiB, where most of them still reside on the system (u
133
136
Thus, deleting snapshot 2133, will only free 6MiB. Snapshot 2133 has 119MiB changed compared to current/ active (258) subvolume.
134
137
When using `-u` argument only the first column has values.
0 commit comments