Answer to myself, What I get wrong is that the file number is much more than 20000. My db shows the directory has 520000 files so that it alarmed "no space left". I solve this by increasing "mds_bal_fragment_size_max" to 1000000.
Thanks Zhenshi Zhou <[email protected]> 于2018年9月26日周三 下午4:58写道: > Hi, > > I encountered an issue similar to bug 19438 > <http://tracker.ceph.com/issues/19438> . > > I have an attachment directory in cephfs and one of the sub > directory includes about 20-30 thousand small files from 100k-1M > each. When I created file in this sub directory it alarms: > "cannot touch ‘attachment/sme/2018-09/test’: No space left on device" > > There's no error in any ceph log. "ceph -s" returns "HEALTH_OK". > Besides, "mds_bal_frag" is set to "true". > # ceph daemon mds.ceph-mds config show | grep mds_bal_frag > "mds_bal_frag": "true", > "mds_bal_fragment_fast_factor": "1.500000", > "mds_bal_fragment_interval": "5", > "mds_bal_fragment_size_max": "500000", > > ceph version 12.2.5, using kernel client. > Anything I can do to solve this issue? > > Thanks >
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
