Kombination of lvm-tags
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
Dne 9.11.2015 v 02:13 Oliver Rath napsal(a):
Quoted 11 lines
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
Hi Zdenek,
Quoted 7 lines · Zdenek Kabelac
Dne 9.11.2015 v 02:13 Oliver Rath napsal(a):
Quoted 6 lines
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
Quoted 7 lines
Quoted 5 lines
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
[linux-lvm] addendum [SOLVED] Re: Kombination of lvm-tags
Hi Zdenek,
Quoted 1 line · Oliver Rath
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