Acknowledgement sent
to Philipp Klaus Krause <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian LVM Team <[email protected]>.
(Sat, 13 Feb 2016 16:57:05 GMT) (full text, mbox, link).
Subject: [lvm2] Stupid changes in /etc/lvm/lvm.conf again and again
Date: Sat, 13 Feb 2016 17:52:36 +0100
Package: lvm2
Version: 2.02.141-2
Severity: normal
--- Please enter the report below this line. ---
When I upgrade the lvm2 package through synaptic, it comes with a
/etc/lvm/lvm.conf. Since lvm2 changes the file all the time and I have
set issue_discards=1 in my /etc/lvm/lvm.conf I always get the dialog
about the changed config file, and get a list of changes. I have seen
this multiple times recently; basically on each lvm2 upgrade.
And when I see the list of changes it is just or mostly indentation or
linebreaks. Sometimes some real change is hidden in there, too. But lvm2
should stop making pointless changes that just put additional
maintanance burden on the user.
Just as I'm typing this I am doing an lvm2 upgrade; most of the changes
in the file are bullshit like this:
- # is not defined, a default single-entry list containing '@*' is
- # assumed.
+ # is not defined, a default single-entry list containing '@*'
+ # is assumed.
Philipp
--- System information. ---
Architecture: amd64
Kernel: Linux 4.3.0-1-amd64
Debian Release: stretch/sid
500 unstable ftp.de.debian.org
500 testing ftp.de.debian.org
1 experimental ftp.de.debian.org
--- Package information. ---
Depends (Version) | Installed
==============================================-+-==================
libc6 (>= 2.15) |
libdevmapper-event1.02.1 (>= 2:1.02.74) |
libdevmapper1.02.1 (>= 2:1.02.85) |
libreadline5 (>= 5.2) |
libudev1 (>= 183) |
init-system-helpers (>= 1.18~) |
lsb-base |
dmsetup (>> 2:1.02.47) |
initscripts (>= 2.88dsf-13.3) |
Package's Recommends field is empty.
Suggests (Version) | Installed
======================================-+-===========
thin-provisioning-tools |
Acknowledgement sent
to Zdenek Kabelac <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian LVM Team <[email protected]>.
(Wed, 09 Mar 2016 22:15:03 GMT) (full text, mbox, link).
Subject: Re: [lvm2] Stupid changes in /etc/lvm/lvm.conf again and again
Date: Wed, 9 Mar 2016 23:11:30 +0100
On Sat, 13 Feb 2016 17:52:36 +0100 Philipp Klaus Krause <[email protected]> wrote:
> Package: lvm2
> Version: 2.02.141-2
> Severity: normal
>
> --- Please enter the report below this line. ---
>
> When I upgrade the lvm2 package through synaptic, it comes with a
> /etc/lvm/lvm.conf. Since lvm2 changes the file all the time and I have
> set issue_discards=1 in my /etc/lvm/lvm.conf I always get the dialog
> about the changed config file, and get a list of changes. I have seen
> this multiple times recently; basically on each lvm2 upgrade.
> And when I see the list of changes it is just or mostly indentation or
> linebreaks. Sometimes some real change is hidden in there, too. But lvm2
> should stop making pointless changes that just put additional
> maintanance burden on the user.
> Just as I'm typing this I am doing an lvm2 upgrade; most of the changes
> in the file are bullshit like this:
>
> - # is not defined, a default single-entry list containing '@*' is
> - # assumed.
> + # is not defined, a default single-entry list containing '@*'
> + # is assumed.
>
> Philipp
>
lvm2 package now provides internal support for diffing or showing new options
in differnt releases...
See 'man lvmconfig' for large variety of options.
It may easily generate new config file from scratch.
User may just keep his changes in small file and let other things at defaults.
IMHO much bigger issue is in fact your mentioned 'issue_discard' used - this
option is often misunderstood.
It has nothing in common with TRIM on exiting LV.
It only 'TRIM' space in VG AFTER LV is lvremoved - this makes mostly sense
only in case VG is on some 'provisioned' device.
When such option is 'enabled' user cannot recover LV with 'vgcfgrestore' if
he makes a mistake - while with disabled - data would be still there - and
I've already seen some disappointed users (as Ubuntu even set this to 1 on
default)
So if anyone is using this option with hope it helps sending discard to
activated LVs - then this is not the case - such LVs are passing discard
through if the underlaying PV has discard support.
Regards
Zdenek
Acknowledgement sent
to Iván Baldo <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian LVM Team <[email protected]>.
(Tue, 05 Apr 2016 22:51:04 GMT) (full text, mbox, link).
Hello.
Isn't UCF designed to solve this issue?
Thanks.
--
Ivan Baldo - [email protected] - http://ibaldo.codigolibre.net/
Freelance C++/PHP programmer and GNU/Linux systems administrator.
The sky is not the limit!
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.