Bug 1019304 - [RFE] lvm2 should better handle too many files in /archive subdirectory
Summary: [RFE] lvm2 should better handle too many files in /archive subdirectory
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Kabelac
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-15 12:58 UTC by Zdenek Kabelac
Modified: 2024-07-22 13:35 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-22 13:35:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.