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)

[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@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to