Re: Determining RBD storage utilization

2012-10-10 Thread Sage Weil
On Wed, 10 Oct 2012, Gregory Farnum wrote: > I don't know the ext4 internals at all, but filesystems tend to > require allocation tables of various sorts (for managing extents, > etc). 7.5GB out of 500GB seems a little large for that metadata, but > isn't ridiculously so... ext3/4 are particularly

Re: Determining RBD storage utilization

2012-10-10 Thread Travis Rhoden
Thanks for the input, Gregory and Josh. What I am hearing is that this has everything to do with the filesystem, and nothing to do with the block device on Ceph. Thanks again, - Travis On Wed, Oct 10, 2012 at 1:55 PM, Gregory Farnum wrote: > I don't know the ext4 internals at all, but filesys

Re: Determining RBD storage utilization

2012-10-10 Thread Gregory Farnum
I don't know the ext4 internals at all, but filesystems tend to require allocation tables of various sorts (for managing extents, etc). 7.5GB out of 500GB seems a little large for that metadata, but isn't ridiculously so... On Wed, Oct 10, 2012 at 10:28 AM, Damien Churchill wrote: > On 10 October

Re: Determining RBD storage utilization

2012-10-10 Thread Josh Durgin
On 10/10/2012 10:10 AM, Travis Rhoden wrote: Hey folks, I have two questions about determining how much storage has been used *inside* of an RBD. First, I'm confused by the output of df. I've created, mapped, and mounted a 500GB RBD, and see the following: # df -h /srv/test Filesystem Si

Re: Determining RBD storage utilization

2012-10-10 Thread Travis Rhoden
Damien, Thanks for solving that part of the mystery. I can't believe I forgot about that. Thanks for the reminder and the clear explanation. - Travis On Wed, Oct 10, 2012 at 1:28 PM, Damien Churchill wrote: > On 10 October 2012 18:10, Travis Rhoden wrote: >> Additionally, 500G - 7.5G != 467

Re: Determining RBD storage utilization

2012-10-10 Thread Damien Churchill
On 10 October 2012 18:10, Travis Rhoden wrote: > Additionally, 500G - 7.5G != 467G (the number shown as Avail). Why > the huge discrepancy? I don't expect the numbers to add up exact due > to rounding from kB, MB, GB, etc, but they should be darn close, a la ext4 keeps some reserved space, 5% b

Determining RBD storage utilization

2012-10-10 Thread Travis Rhoden
Hey folks, I have two questions about determining how much storage has been used *inside* of an RBD. First, I'm confused by the output of df. I've created, mapped, and mounted a 500GB RBD, and see the following: # df -h /srv/test Filesystem Size Used Avail Use% Mounted on /dev/rbd44