New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lvcreate: --quiet
doesn't suppress overallocation warning.
#57
Comments
My own use case is that I make a large number of snapshots which eventually trigger all of these warnings even though the actual used space is nowhere near the size that will endanger the pool. When I am done with a particular task, all the snapshots are deleted leaving the base volume. I don't need any of these warnings and I would like them all suppressed. I know of other projects and users who would like to suppress this warning as well along with the other three that you are suppressing via lvm2/lib/metadata/thin_manip.c Lines 413 to 428 in f70d97b
As you can see, the first warning is logged using a different method than the other three: I have read what I think are all of the historical mailing list threads and forum threads on this particular topic. I have found one proposed fix that appears to be optimal for my use case: adding an envvar As stated in that proposal, there are two precedents for this type of suppression that are already implemented in LVM2: Here are two historical threads about this feature request from the mailing list: Here is an issue in the bugtracker at RedHat (unfortunately marked WONTFIX): Here is a forum thread over at Proxmox tracking this issue downstream: I posted about this all to the lvm-linux mailing list, and there is interest in this change from the Qubes OS project and @DemiMarie: I am now going to suggest that all users and projects that want this change add a 👍 this issue so that there is a measurement of interest. |
I've done a bit more digging. These are the locations where messages/warnings are suppressed elsewhere: LVM_SUPPRESS_LOCKING_FAILURE_MESSAGESLines 128 to 157 in 8dccc23
LVM_SUPPRESS_FD_WARNINGSLines 3550 to 3586 in 8dccc23
|
Would this change do the trick?
Is an envvar available in this way to |
Is there any way to suppress the warning below? I only want to see errors.
In case it helps:
The text was updated successfully, but these errors were encountered: