Re: [libvirt] [PATCH v3 4/4] logical: Display thin lv's found in a libvirt managed volume group

2016-02-04 Thread Ján Tomko
On Wed, Feb 03, 2016 at 03:51:30PM -0500, John Ferlan wrote: > > > On 02/03/2016 03:23 AM, Ján Tomko wrote: > > On Tue, Feb 02, 2016 at 11:14:01AM -0500, John Ferlan wrote: > >> > >> > >> On 02/02/2016 08:30 AM, Pavel Hrdina wrote: > >>> On Tue, Feb 02, 2016 at 09:11:51AM +0100, Ján Tomko wrote:

Re: [libvirt] [PATCH v3 4/4] logical: Display thin lv's found in a libvirt managed volume group

2016-02-04 Thread John Ferlan
On 02/04/2016 04:53 AM, Ján Tomko wrote: > On Wed, Feb 03, 2016 at 03:51:30PM -0500, John Ferlan wrote: >> >> >> On 02/03/2016 03:23 AM, Ján Tomko wrote: >>> On Tue, Feb 02, 2016 at 11:14:01AM -0500, John Ferlan wrote: On 02/02/2016 08:30 AM, Pavel Hrdina wrote: > On Tue, Feb

Re: [libvirt] [PATCH v3 4/4] logical: Display thin lv's found in a libvirt managed volume group

2016-02-03 Thread Ján Tomko
On Tue, Feb 02, 2016 at 11:14:01AM -0500, John Ferlan wrote: > > > On 02/02/2016 08:30 AM, Pavel Hrdina wrote: > > On Tue, Feb 02, 2016 at 09:11:51AM +0100, Ján Tomko wrote: > >> On Mon, Feb 01, 2016 at 03:29:53PM -0500, John Ferlan wrote: > >>> Modify the regex for the 'devices' (a/k/a

Re: [libvirt] [PATCH v3 4/4] logical: Display thin lv's found in a libvirt managed volume group

2016-02-03 Thread John Ferlan
On 02/03/2016 03:23 AM, Ján Tomko wrote: > On Tue, Feb 02, 2016 at 11:14:01AM -0500, John Ferlan wrote: >> >> >> On 02/02/2016 08:30 AM, Pavel Hrdina wrote: >>> On Tue, Feb 02, 2016 at 09:11:51AM +0100, Ján Tomko wrote: On Mon, Feb 01, 2016 at 03:29:53PM -0500, John Ferlan wrote: >

Re: [libvirt] [PATCH v3 4/4] logical: Display thin lv's found in a libvirt managed volume group

2016-02-02 Thread Ján Tomko
On Mon, Feb 01, 2016 at 03:29:53PM -0500, John Ferlan wrote: > Modify the regex for the 'devices' (a/k/a 'extents') from "(\\S+)" > (e.g., 1 or more) to "(\\S*)" (e.g., zero or more). > > Then for any "thin" lv's found, mark the volume as a sparse volume so > that the volume wipe algorithm

Re: [libvirt] [PATCH v3 4/4] logical: Display thin lv's found in a libvirt managed volume group

2016-02-02 Thread Pavel Hrdina
On Tue, Feb 02, 2016 at 09:11:51AM +0100, Ján Tomko wrote: > On Mon, Feb 01, 2016 at 03:29:53PM -0500, John Ferlan wrote: > > Modify the regex for the 'devices' (a/k/a 'extents') from "(\\S+)" > > (e.g., 1 or more) to "(\\S*)" (e.g., zero or more). > > > > Then for any "thin" lv's found, mark the

Re: [libvirt] [PATCH v3 4/4] logical: Display thin lv's found in a libvirt managed volume group

2016-02-02 Thread John Ferlan
On 02/02/2016 08:30 AM, Pavel Hrdina wrote: > On Tue, Feb 02, 2016 at 09:11:51AM +0100, Ján Tomko wrote: >> On Mon, Feb 01, 2016 at 03:29:53PM -0500, John Ferlan wrote: >>> Modify the regex for the 'devices' (a/k/a 'extents') from "(\\S+)" >>> (e.g., 1 or more) to "(\\S*)" (e.g., zero or more).

Re: [libvirt] [PATCH v3 4/4] logical: Display thin lv's found in a libvirt managed volume group

2016-02-02 Thread John Ferlan
On 02/02/2016 03:11 AM, Ján Tomko wrote: > On Mon, Feb 01, 2016 at 03:29:53PM -0500, John Ferlan wrote: >> Modify the regex for the 'devices' (a/k/a 'extents') from "(\\S+)" >> (e.g., 1 or more) to "(\\S*)" (e.g., zero or more). >> >> Then for any "thin" lv's found, mark the volume as a sparse

[libvirt] [PATCH v3 4/4] logical: Display thin lv's found in a libvirt managed volume group

2016-02-01 Thread John Ferlan
Modify the regex for the 'devices' (a/k/a 'extents') from "(\\S+)" (e.g., 1 or more) to "(\\S*)" (e.g., zero or more). Then for any "thin" lv's found, mark the volume as a sparse volume so that the volume wipe algorithm doesn't work. Since a "thin" segtype has no devices, this will result in any