stat file size is 0

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

 



I mount cephfs in /cephfs and create a dir in it:

[root@test-0 guhailin]# ll -h

drwxr-xr-x 1 guhailin ghlclass    0 8月  13 15:01 aaaaa

scp a file into it:

[root@test-0 guhailin]# ls aaaaa/
hadoop.tar.gz

[root@test-0 guhailin]# pwd
/cephfs/user/guhailin

[root@test-0 guhailin]# stat aaaaa/
  File: ‘aaaaa/’
  Size: 0             Blocks: 0          IO Block: 65536  directory
Device: 0h/0d    Inode: 1099522168114  Links: 1
Access: (0755/drwxr-xr-x)  Uid: ( 1018/guhailin)   Gid: ( 1020/ghlclass)
Access: 2018-08-13 15:00:29.060271071 +0800
Modify: 2018-08-13 15:01:20.669105642 +0800
Change: 2018-08-13 15:01:20.669105642 +0800
 Birth: -

After too much time, the size shows.

I find if the dir is owned by root, no problem.

[root@test-0 guhailin]# ceph --version
ceph version 12.2.5 (cad919881333ac92274171586c827e01f554a70a) luminous (stable)


So it is a bug of customized users?

_______________________________________________
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