Re: cephFS mounted on client shows space used -- when there is nothing used on the FS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 24, 2017 at 10:31 PM, Deepak Naidu <dnaidu@xxxxxxxxxx> wrote:
> I have cephFS cluster. Below is the df from a client node.
>
>
>
> Question is why does the df command when mounted using ceph-fuse or
> ceph-kernel mount shows “used space” when there is nothing used(empty -- no
> files or directories)

The statfs system call returns the overall cluster usage (see
http://tracker.ceph.com/issues/19109)

John

>
>
>
> [root@storage ~]# df -h
>
> Filesystem                                          Size  Used Avail Use%
> Mounted on
>
> /dev/mapper/centos-root          45G  1.4G   44G   4% /
>
> devtmpfs                                            28G     0   28G   0%
> /dev
>
> tmpfs                                                    28G     0   28G
> 0% /dev/shm
>
> tmpfs                                                    28G   17M   28G
> 1% /run
>
> tmpfs                                                    28G     0   28G
> 0% /sys/fs/cgroup
>
> /dev/xvda1                                        497M  168M  329M  34%
> /boot
>
> /dev/mapper/centos-home       22G   34M   22G   1% /home
>
> tmpfs                                                    5.5G     0  5.5G
> 0% /run/user/0
>
> ceph-fuse                                           4.7T  1.5G  4.7T   1%
> /mnt/cephfs
>
> [root@storage ~]#
>
>
>
>
>
> [root@storage ~]# ls -larth /mnt/cephfs/
>
> total 512
>
> drwxr-xr-x. 3 root root 19 Mar 17 12:36 ..
>
> drwxr-xr-x  1 root root  0 Mar 23 22:20 .
>
> [root@storage ~]#
>
>
>
>
>
> [root@storage ~]# du -shc /mnt/cephfs/
>
> 512     /mnt/cephfs/
>
> 512     total
>
> [root@storage ~]#
>
>
>
> --
>
> Deepak
>
> ________________________________
> This email message is for the sole use of the intended recipient(s) and may
> contain confidential information.  Any unauthorized review, use, disclosure
> or distribution is prohibited.  If you are not the intended recipient,
> please contact the sender by reply email and destroy all copies of the
> original message.
> ________________________________
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux