Hi,
I'm not sure if this is an "issue" per-say, but I noticed that during an upgrade the `issue_discards = 1` config line is removed from lvm.conf and the new default is `issue_discards = 0`. I also could not find the setting anywhere else in /etc/lvm, for example in lvmlocal.conf.
Is this an issue and/or intended? In most clusters I don't imagine it'll cause an immediate issue, but it could cause an issue long-term on SSDs.
These questions are also likely relevant:
1) has anyone else has encountered this? It's possible this is unique to me.
2) Is this file the same on a fresh 8.x install? Or is this unique to upgrades? -- If someone has a fresh install to look at it might save some work, otherwise I might try a fresh install later
3) is there something else going on that might make this a non-issue? (ie: LVM behavior change that's not documented in lvm.conf)
Config file diff during `dist-upgrade`:
I've attached full config files for reference:
- lvm.conf - LVM config installed as part of the upgrade (I opted to install the package maintainers version)
- lvm.conf.bak - LVM Config prior to the upgrade.
I'm not sure if this is an "issue" per-say, but I noticed that during an upgrade the `issue_discards = 1` config line is removed from lvm.conf and the new default is `issue_discards = 0`. I also could not find the setting anywhere else in /etc/lvm, for example in lvmlocal.conf.
Is this an issue and/or intended? In most clusters I don't imagine it'll cause an immediate issue, but it could cause an issue long-term on SSDs.
These questions are also likely relevant:
1) has anyone else has encountered this? It's possible this is unique to me.
2) Is this file the same on a fresh 8.x install? Or is this unique to upgrades? -- If someone has a fresh install to look at it might save some work, otherwise I might try a fresh install later
3) is there something else going on that might make this a non-issue? (ie: LVM behavior change that's not documented in lvm.conf)
Config file diff during `dist-upgrade`:
Diff:
# Configuration option devices/issue_discards.
# Issue discards to PVs that are no longer used by an LV.
@@ -286,7 +379,8 @@
# benefit from discards, but SSDs and thinly provisioned LUNs
# generally do. If enabled, discards will only be issued if both the
# storage and kernel provide support.
- issue_discards = 1
+ # This configuration option has an automatic default value.
+ # issue_discards = 0
I've attached full config files for reference:
- lvm.conf - LVM config installed as part of the upgrade (I opted to install the package maintainers version)
- lvm.conf.bak - LVM Config prior to the upgrade.