From: Zenon Panoussis <oracle@provocation.net>
To: ceph-devel@vger.kernel.org
Subject: Re: Object size
Date: Fri, 29 Apr 2011 01:55:47 +0200 [thread overview]
Message-ID: <4DB9FE83.4090102@provocation.net> (raw)
In-Reply-To: <1C8C3185A0EB4376832E44733D45DD77@gmail.com>
On 04/28/2011 10:02 PM, Gregory Farnum wrote:
[various explanations]
Thanks Greg, that's very helpful towards graspings ceph's workings. I'll
put it in the wiki.
> The relation between these reports and your data can be a bit fuzzy,
> though. When looking at the disk space used the OSD is just relying on
> a df for the mount it's on -- if it's sharing that mount with anything
> else (eg, the node OS) then it's not distinguishing between OSD data,
> and data on the disk. Something like that must be going on if you've
> got a 4.4x ratio. (An example is below. [1]) Based on what you're giving
> us here:
> 1) You have 9791 MB of data in the filesystem.
> 2) You have (12222MB - 9791 MB=) 2431MB of metadata maintaining the Ceph tree.
> 3) RADOS is using 24444MB of disk space amongst all your OSDs to store this.
> 4) Your nodes have other stuff installed to the tune of (29135MB/2=)14567MB or (29135/3=)9711MB per OSD.
1 and 3 are correct. 2 is presumably correct; it makes perfect sense and
there's no reason to question it. 4 is not correct:
# df -m
[...]
/dev/mapper/sda6 232003 26913 191832 13% /mnt/osd
# grep /mnt/osd /etc/ceph/ceph.conf
osd data = /mnt/osd
# ls -a /mnt/osd/
. .. ceph_fsid current fsid lost+found magic whoami
So the OSD lives in its own exclusive partition and nothing else uses that
partition. The other node is done the same way. The "53579 MB used" reported
by ceph matches the aggregated "Used" output of df -m on both nodes. And
I checked, lost+found is empty on both. Something here is trying to be elusive
(and is succeeding).
Z
next prev parent reply other threads:[~2011-04-28 23:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-28 18:51 Object size Zenon Panoussis
2011-04-28 20:02 ` Gregory Farnum
2011-04-28 23:55 ` Zenon Panoussis [this message]
2011-04-30 0:04 ` Gregory Farnum
2011-04-30 12:00 ` Zenon Panoussis
2011-05-02 16:09 ` Gregory Farnum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DB9FE83.4090102@provocation.net \
--to=oracle@provocation.net \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.