Bug#666931: lvm.conf doesn't warn about unsupported options, issue_discards on squeeze

Daniel Pocock daniel at pocock.com.au
Mon Apr 2 17:26:48 UTC 2012


Package: lvm2
Version: 2.0.66-5

Try the following:

- edit /etc/lvm/lvm.conf
- in the devices section, add a line

    foobar = 1

- run `lvm dumpconfig', notice that foobar=1 appears
- run some other lvm commands, notice they don't complain

I made this discovery while setting up a squeeze system to run on an SSD

For example, following the wiki at 
http://wiki.debian.org/SSDoptimization
suggests adding

  issue_discards = 1

to /etc/lvm/lvm.conf

However, on squeeze, with lvm 2.0.66-5, the option appears to be
unsupported (I couldn't find it in the source code) - but there is no
warning to let the user know that the option is being ignored.







More information about the pkg-lvm-maintainers mailing list