All of lore.kernel.org
 help / color / mirror / Atom feed
From: David McBride <dwm37-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
To: Ta Ba Tuan <tuantb-QlevPasa8l681eZEIcUDRw@public.gmane.org>
Cc: ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	ceph-users-Qp0mS5GaXlQ@public.gmane.org
Subject: Re: Capacity proplem when mount CephFS with Ubuntu 14.04
Date: Tue, 16 Jul 2013 11:35:37 +0100	[thread overview]
Message-ID: <51E521F9.5050606@cam.ac.uk> (raw)
In-Reply-To: <51E505D6.1030700-QlevPasa8l681eZEIcUDRw@public.gmane.org>

On 16/07/13 09:35, Ta Ba Tuan wrote:
> Hi everyone,
> 
> OSDs capacity sumary is 144TB, and *when I mount CephFS on Ubuntu 14.04
> then it only display **576GB*, (Currently, I'm using replicate 3 for
> data pools)
> (using: mount -t ceph Monitor_IP:/ /ceph -o name=admin,secret=xxxxxxxxxx")
> 
> I don't think capacity is too small?, please explain this help me!!!!!
> 
> *on Ubuntu 14.04*
> Filesystem                Size  Used Avail Use% Mounted on
> 192.168.32.90:/    576GB  20G  556GB  1%  /tmp/ceph_mount
> 
> But when mounting on Ubuntu 12.04:
> *on Ubuntu 12.04*
> Filesystem                Size  Used Avail Use% Mounted on
> 192.168.32.90:/    144T  800G  113.6T   1%  /tmp/ceph_mount

This is most likely:

 http://tracker.ceph.com/issues/3793

This is caused by using a more modern version of coreutils; that,
coupled with the numbers reported by Ceph for filesystem blocksizes in
older kernels, results in the above error.

To fix, either use a recent version of the fuse driver or upgrade your
kernel to a newer one that includes the commit "ceph: fix statvfs fr_size":

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=92a49fb0f79f3300e6e50ddf56238e70678e4202

(Kernels 3.9-rc1 and later should include it.)

Cheers,
David
-- 
David McBride <dwm37-KWPb1pKIrIJaa/9Udqfwiw@public.gmane.org>
Unix Specialist, University Computing Service

      parent reply	other threads:[~2013-07-16 10:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-16  8:35 Capacity proplem when mount CephFS with Ubuntu 14.04 Ta Ba Tuan
     [not found] ` <51E505D6.1030700-QlevPasa8l681eZEIcUDRw@public.gmane.org>
2013-07-16 10:35   ` David McBride [this message]

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=51E521F9.5050606@cam.ac.uk \
    --to=dwm37-kwpb1pkirijaa/9udqfwiw@public.gmane.org \
    --cc=ceph-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ceph-users-Qp0mS5GaXlQ@public.gmane.org \
    --cc=tuantb-QlevPasa8l681eZEIcUDRw@public.gmane.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.