Project

General

Profile

Bug #38994

mds: we encountered "No space left on device" when moving huge number of files into one directory

Added by shen hang 3 months ago. Updated 2 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
nautilus,mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:

Description

The issue was founded in version 12.2.10.
client log is listed below:
.....
mv: cannot move ‘src1325’ to ‘../destfile/src1325’: No space left on device
1326
mv: cannot move ‘src1326’ to ‘../destfile/src1326’: No space left on device
1327
....

mds log is listed below:

2019-03-28 11:23:05.639956 7f9ff45bc700 10 mds.0.server fragment [dir 0x1000264083c /xxxx/xxxxx/xxx/ [2,head] auth pv=44452 v=43430 cv=0/0 ap=511+1024+1024 state=1610612738|complete f(v0 m2019-03-28 11:23:03.041638 489=489+0) n(v0 rc2019-03-28 11:23:03.041638 b978 489=489+0) hs=489+512,ss=0+0 dirty=489 | child=1 dirty=1 authpin=1 0x5650ac46ce00] size exceeds 100000 (ENOSPC)


Related issues

Copied to fs - Backport #39198: luminous: mds: we encountered "No space left on device" when moving huge number of files into one directory In Progress
Copied to fs - Backport #39199: nautilus: mds: we encountered "No space left on device" when moving huge number of files into one directory Resolved
Copied to fs - Backport #39200: mimic: mds: we encountered "No space left on device" when moving huge number of files into one directory Resolved

History

#1 Updated by shen hang 3 months ago

the same reason as adding maybe_fragment on the tail of handle_client_openc.

#2 Updated by Patrick Donnelly 3 months ago

  • Project changed from Ceph to fs
  • Subject changed from mds/server we encountered "No space left on device" when moving huge number of files into one directory to mds: we encountered "No space left on device" when moving huge number of files into one directory
  • Status changed from New to Need Review
  • Assignee set to shen hang
  • Target version set to v15.0.0
  • Start date deleted (03/28/2019)
  • Source set to Community (dev)
  • Tags deleted (cephfs mds )
  • Backport set to nautilus,mimic,luminous
  • Component(FS) MDS added

#3 Updated by Patrick Donnelly 2 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler 2 months ago

  • Copied to Backport #39198: luminous: mds: we encountered "No space left on device" when moving huge number of files into one directory added

#5 Updated by Nathan Cutler 2 months ago

  • Copied to Backport #39199: nautilus: mds: we encountered "No space left on device" when moving huge number of files into one directory added

#6 Updated by Nathan Cutler 2 months ago

  • Copied to Backport #39200: mimic: mds: we encountered "No space left on device" when moving huge number of files into one directory added

Also available in: Atom PDF