linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@redhat.com>
To: lvm-devel@redhat.com, linux-lvm@redhat.com, dm-devel@redhat.com
Subject: [linux-lvm] LVM2 release 2.02.107: New argument --select
Date: Wed, 25 Jun 2014 00:53:15 +0100	[thread overview]
Message-ID: <20140624235315.GA28564@agk-dp.fab.redhat.com> (raw)

Release 2.02.107 is available.

   ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.107.tgz
   ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.107.tgz.asc
   ftp://sources.redhat.com/pub/lvm2/WHATS_NEW
   ftp://sources.redhat.com/pub/lvm2/WHATS_NEW_DM

The most important new feature is a new command line argument:
  --select (or -S)

This lets you apply selection criteria to the output of reporting
commands.  We'll add it to commands that change things in a future
release.

A simple example:
  pvs -S 'free > 100M, name =~ sd' 
shows only PVs with more than 100M of free space and with the string
'sd' in their name.

Use '-S help' for a brief summary of the fields and operators or
look at the man pages for a little more detail.

Recall that -o lets you choose the fields to display, -O controls
the sort order and --noheadings, --separator, --rows, --nameprefixes,
--units and --nosuffix offer some alternative forms of output to help
you to write different types of scripts.

For debugging, or in scripts, use -o+selected to see all the output
as before but with a new column that indicates whether or not each
row meets your selection criteria.

We also plan to split out new fields from the various 'attribute' fields
to simplify access to the information they contain.

'dmsetup info -c' also accepts -S.

                         -------------

The LVM SSD caching support in this release remains experimental and can
be enabled using:

  configure --with-cache=internal
 

I'd also like to mention that there have been several extensions to
dumpconfig and profiles recently to help you to manage LVM
configuration.   (See the man pages.)

Alasdair

                 reply	other threads:[~2014-06-24 23:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140624235315.GA28564@agk-dp.fab.redhat.com \
    --to=agk@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=lvm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).