Hi! 

I use ceph version 13.2.1 (5533ecdc0fda920179d7ad84e0aa65a127b20d77) mimic 
(stable) and i want to call `ls -ld` to read whole dir size in cephfs: 

When i man mount.ceph: 

rbytes Report the recursive size of the directory contents for st_size on 
directories. Default: on 

But without rbytes like below, "ls -ld" do not work: 

mount -t ceph 192.168.0.24:/ /mnt -o 
name=admin,secretfile=/etc/ceph/admin.secret 

[root@test mnt]# ls -ld mongo 
drwxr-xr-x 4 polkitd root 29 11月 6 16:33 mongo 

Then i umoun and mount use below cmd, it works: 

mount -t ceph 192.168.0.24:/ /mnt -o 
name=admin,secretfile=/etc/ceph/admin.secret,rbytes 


[root@test mnt]# ls -ld mongo 
drwxr-xr-x 4 polkitd root 392021518 11月 6 16:33 mongo 


So the description is wrong, right? 

Thanks 
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to