All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Kombination of lvm-tags
@ 2015-11-09  1:13 Oliver Rath
  2015-11-09  8:17 ` Zdenek Kabelac
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Rath @ 2015-11-09  1:13 UTC (permalink / raw)
  To: LVM general discussion and development

Hi list,

I see that I can use tags to group LVs together like a set union. So, if
a couple of LVs have tag @a, another the tag @b, I can see all these LVs
with

lvs @a @b

If now I want to see the LVs having @a *AND* @b, is this possible?

Tfh!
Oliver

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Kombination of lvm-tags
  2015-11-09  1:13 [linux-lvm] Kombination of lvm-tags Oliver Rath
@ 2015-11-09  8:17 ` Zdenek Kabelac
  2015-11-10  8:49   ` [linux-lvm] [SOLVED] " Oliver Rath
  0 siblings, 1 reply; 4+ messages in thread
From: Zdenek Kabelac @ 2015-11-09  8:17 UTC (permalink / raw)
  To: LVM general discussion and development

Dne 9.11.2015 v 02:13 Oliver Rath napsal(a):
> Hi list,
>
> I see that I can use tags to group LVs together like a set union. So, if
> a couple of LVs have tag @a, another the tag @b, I can see all these LVs
> with
>
> lvs @a @b
>
> If now I want to see the LVs having @a *AND* @b, is this possible?
>
>

Please check possibilities of --select  option.

Note: you need to have relatively recent version of lvm2.
For description how select option works - look at  'man lvm'

Regards

Zdenek

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [linux-lvm] [SOLVED] Re:  Kombination of lvm-tags
  2015-11-09  8:17 ` Zdenek Kabelac
@ 2015-11-10  8:49   ` Oliver Rath
  2015-11-10  9:59     ` [linux-lvm] addendum " Oliver Rath
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Rath @ 2015-11-10  8:49 UTC (permalink / raw)
  To: linux-lvm

Hi Zdenek,

On 09.11.2015 09:17, Zdenek Kabelac wrote:
> Dne 9.11.2015 v 02:13 Oliver Rath napsal(a):
>> Hi list,
>>
>> I see that I can use tags to group LVs together like a set union. So, if
>> a couple of LVs have tag @a, another the tag @b, I can see all these LVs
>> with
>>
>> lvs @a @b
>>
>> If now I want to see the LVs having @a *AND* @b, is this possible?
>>
>>
> 
> Please check possibilities of --select  option.

This look like exactly where I looked for! Thank you very much!

Regards,
Oliver

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [linux-lvm] addendum [SOLVED] Re: Kombination of lvm-tags
  2015-11-10  8:49   ` [linux-lvm] [SOLVED] " Oliver Rath
@ 2015-11-10  9:59     ` Oliver Rath
  0 siblings, 0 replies; 4+ messages in thread
From: Oliver Rath @ 2015-11-10  9:59 UTC (permalink / raw)
  To: linux-lvm

Hi Zdenek,

On 10.11.2015 09:49, Oliver Rath wrote:

> This look like exactly where I looked for! Thank you very much!

I have to add: This is *much better* than my idea I have looked for!

Regards,
Oliver

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-10  9:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-09  1:13 [linux-lvm] Kombination of lvm-tags Oliver Rath
2015-11-09  8:17 ` Zdenek Kabelac
2015-11-10  8:49   ` [linux-lvm] [SOLVED] " Oliver Rath
2015-11-10  9:59     ` [linux-lvm] addendum " Oliver Rath

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.