Project

General

Profile

Bug #41778

'No space left on device' due to snapshots

Added by Kenneth Waegeman over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Correctness/Safety
Target version:
-
% Done:

0%

ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
snapshots
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When using snapshots, we are getting 'no space left on device' when num_strays is close to a million.
We only have less than 10 snapshots of the file system, but the file system has over 50M+ files. So this limit does not work for big file systems.
If snap inodes should stay in the strays, it should be possible to grow the number of possible items in stray (preferable in a dynamic way as needed).
Furthermore instead of giving 'no space left on the client', a warning should be given by 'ceph health' - ideally already before the hard limit is run into.

Thanks,
Kenneth


Related issues

Related to CephFS - Fix #41782: mds: allow stray directories to fragment and switch from 10 stray directories to 1 Resolved

History

#1 Updated by Patrick Donnelly over 4 years ago

  • Related to Fix #41782: mds: allow stray directories to fragment and switch from 10 stray directories to 1 added

Also available in: Atom PDF