linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM2 release 2.02.107: New argument --select
@ 2014-06-24 23:53 Alasdair G Kergon
  0 siblings, 0 replies; only message in thread
From: Alasdair G Kergon @ 2014-06-24 23:53 UTC (permalink / raw)
  To: lvm-devel, linux-lvm, dm-devel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-24 23:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-24 23:53 [linux-lvm] LVM2 release 2.02.107: New argument --select Alasdair G Kergon

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).