Skip to contentSkip to conversation

Capacity proplem when mount CephFS with Ubuntu 14.04

DISCUSSION Ta Ba Tuan 2 participants 2 messages Jul 16, 2013 1 message not in the archive

lore
Share & tools
lore

Ta Ba Tuan

author
#0 lore raw

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

Thanks to everyone.
--tuantaba

_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 9 lines · Ta Ba Tuan

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!!!!!

Quoted 8 lines

*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

Signature · 2 lines
David McBride <dwm37-KWPb1pKIrIJaa/[email protected]>
Unix Specialist, University Computing Service