Bug 1019304

Summary: [RFE] lvm2 should better handle too many files in /archive subdirectory
Product: [Fedora] Fedora Reporter: Zdenek Kabelac <zkabelac>
Component: lvm2Assignee: Zdenek Kabelac <zkabelac>
Status: POST --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: agk, bmarzins, bmr, dwysocha, heinzm, jonathan, lvm-team, msnitzer, prajnoha, zkabelac
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zdenek Kabelac 2013-10-15 12:58:56 UTC
Description of problem:

It seems like over the time some users are able to accumulate huge amount of file in archive subdirectory - which not just eats space on disk, but also
slows down directory scanning.

lvm2 should probably detect unreasonable amount of such files and warn users about performance degradation if they keep that many files there.

It likely doesn't fit our current backup{} options what to do with obsoleted VGs.

Version-Release number of selected component (if applicable):
2.02.103

How reproducible:


Steps to Reproduce:
1. create and remove different VGs and LVs
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Zdenek Kabelac 2022-08-22 15:37:32 UTC
Mostly solved with commit - 5ea426e65628218569ede461312d80ba5d1c50fb and we follow-up commits - present from lvm2 release >= 2.03.15

We check and print message if the size of 'archive' dir is getting too big or if there are too many files present in this directory.