All of lore.kernel.org
 help / color / mirror / Atom feed
* cfuse vs kernel mount. differences.
@ 2011-06-18 15:44 Fyodor Ustinov
  2011-06-20 18:09 ` Gregory Farnum
  0 siblings, 1 reply; 2+ messages in thread
From: Fyodor Ustinov @ 2011-06-18 15:44 UTC (permalink / raw)
  To: ceph-devel

Hi!

1-st. Mount by kernel:

root@stb1:~# df /mnt
Filesystem           1K-blocks      Used Available Use% Mounted on
10.5.51.230:/        51409168384 799601664 49637535744   2% /mnt

2-nd. Mount by cfuse:

root@stb1:~# df /mnt
Filesystem           1K-blocks      Used Available Use% Mounted on
cfuse                51409169084 1771587996 49637581088   4% /mnt

Hmm... All different. It's correct? Who should I believe?

kernel 3.0.0-rc3
ceph - 0.29.1

WBR,
     Fyodor.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cfuse vs kernel mount. differences.
  2011-06-18 15:44 cfuse vs kernel mount. differences Fyodor Ustinov
@ 2011-06-20 18:09 ` Gregory Farnum
  0 siblings, 0 replies; 2+ messages in thread
From: Gregory Farnum @ 2011-06-20 18:09 UTC (permalink / raw)
  To: Fyodor Ustinov; +Cc: ceph-devel


On Jun 18, 2011, at 8:44 AM, Fyodor Ustinov wrote:

> Hi!
> 
> 1-st. Mount by kernel:
> 
> root@stb1:~# df /mnt
> Filesystem           1K-blocks      Used Available Use% Mounted on
> 10.5.51.230:/        51409168384 799601664 49637535744   2% /mnt
> 
> 2-nd. Mount by cfuse:
> 
> root@stb1:~# df /mnt
> Filesystem           1K-blocks      Used Available Use% Mounted on
> cfuse                51409169084 1771587996 49637581088   4% /mnt
> 
> Hmm... All different. It's correct? Who should I believe?
> 
> kernel 3.0.0-rc3
> ceph - 0.29.1
> 
> WBR,
>    Fyodor.
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

In this case, cfuse is probably more accurate -- the kernel client is doing some acrobatics with the page size
so it can handle larger filesystems, but it trades off in accuracy for it. The kernel client is also just using a roundabout method for calculating free space, which we can change. Now that you've pointed it out though, we should have the userspace client do the same tradeoff for supporting a larger FS!
-Greg

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-20 18:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-18 15:44 cfuse vs kernel mount. differences Fyodor Ustinov
2011-06-20 18:09 ` Gregory Farnum

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.