Gentoo Archives: gentoo-user

From: Remy Blank <remy.blank@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Making sense of reported ZFS disk usage
Date: Sat, 31 Oct 2015 09:38:13
Message-Id: n1225j$u4l$1@ger.gmane.org
1 I'm trying to make sense of the disk usage reported by "zfs list".
2 Here's what I get:
3
4 $ zfs list \
5 -o name,used,avail,refer,usedbydataset,usedbychildren,usedbysnapshots \
6 -t all
7
8 NAME USED AVAIL REFER USEDDS USEDCHILD USEDSNAP
9 pool/data 58.0G 718G 46.7G 46.7G 0 11.3G
10 pool/data@2015-10-03 0 - 46.5G - - -
11 pool/data@2015-10-04 0 - 46.5G - - -
12 pool/data@2015-10-05 0 - 46.5G - - -
13 pool/data@2015-10-06 0 - 46.5G - - -
14 pool/data@2015-10-07 0 - 46.5G - - -
15 pool/data@2015-10-08 0 - 46.5G - - -
16 pool/data@2015-10-09 0 - 46.5G - - -
17 pool/data@2015-10-10 0 - 46.5G - - -
18 pool/data@2015-10-11 0 - 46.5G - - -
19 pool/data@2015-10-12 0 - 46.5G - - -
20 pool/data@2015-10-13 734M - 46.7G - - -
21 pool/data@2015-10-14 0 - 46.7G - - -
22 pool/data@2015-10-15 0 - 46.7G - - -
23 pool/data@2015-10-16 0 - 46.7G - - -
24 pool/data@2015-10-17 0 - 46.7G - - -
25 pool/data@2015-10-18 0 - 46.7G - - -
26 pool/data@2015-10-19 0 - 46.7G - - -
27 pool/data@2015-10-20 0 - 46.7G - - -
28 pool/data@2015-10-21 0 - 46.7G - - -
29 pool/data@2015-10-22 0 - 46.7G - - -
30 pool/data@2015-10-23 0 - 46.7G - - -
31 pool/data@2015-10-24 0 - 46.7G - - -
32 pool/data@2015-10-25 0 - 46.7G - - -
33 pool/data@2015-10-26 0 - 46.7G - - -
34 pool/data@2015-10-27 0 - 46.7G - - -
35 pool/data@2015-10-28 0 - 46.7G - - -
36 pool/data@2015-10-29 755M - 46.7G - - -
37 pool/data@2015-10-30 757M - 46.7G - - -
38 pool/data@2015-10-31 0 - 46.7G - - -
39
40 What I don't understand: I have 29 snapshots, only three of them use
41 ~750M, but in total they take 11.3G. Where do the excess 9.1G come from?
42
43 I'm using sys-fs/zfs-0.6.5.3, in case that matters.
44
45 -- Remy

Replies

Subject Author
Re: [gentoo-user] Making sense of reported ZFS disk usage Jeremi Piotrowski <jeremi.piotrowski@×××××.com>