Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Oct 2013 09:57:21 -0500
From:      Mark Felder <feld@FreeBSD.org>
To:        freebsd-fs@freebsd.org
Subject:   Re: zfs: the exponential file system from hell
Message-ID:  <1380812241.31283.29585397.2EC656B0@webmail.messagingengine.com>
In-Reply-To: <op.w4dhb0ls8527sy@212-182-167-131.ip.telfort.nl>
References:  <52457A32.2090105@fsn.hu> <77F6465C-4E76-4EE9-88B5-238FFB4E0161@sarenet.es> <20130930234401.GA68360@neutralgood.org> <BFAE1DDE-B8F8-40E5-9D9B-CF954D5D6457@mail.turbofuzz.com> <524B1EB6.2020003@delphij.net> <CABTjkKmsYCWuqKu2WjZvD%2BVuPfrXcGj7nUVcM9dAw=EczB6Fvw@mail.gmail.com> <524C5495.3040800@delphij.net> <op.w4dhb0ls8527sy@212-182-167-131.ip.telfort.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
I have to do some accounting on our backup servers to know what to bill
customers for their space usage. I do this which is reasonably accurate
for our needs

chomp($kb = `zfs get -o value -Hp used $subdir` - `zfs get -r -o value
-Hp usedbysnapshots $subdir | grep -v "-" | paste -sd+ - | bc`);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1380812241.31283.29585397.2EC656B0>