[CentOS-virt] Problem with lvm disks assigned to kvm guests

2014-02-06 Thread C. L. Martinez
Hi all, I have a strange problem when I use lvm disks to expose to virtual guests (host is CentOS 6.5 x86_64). If I remove a kvm guest and all lvm disks attached to it, and I create a new kvm with another lvm disks that use the same disk space previously assigned to the previous kvm guest, this

Re: [CentOS-virt] Problem with lvm disks assigned to kvm guests

2014-02-06 Thread Dennis Jacobfeuerborn
On 06.02.2014 11:45, C. L. Martinez wrote: Hi all, I have a strange problem when I use lvm disks to expose to virtual guests (host is CentOS 6.5 x86_64). If I remove a kvm guest and all lvm disks attached to it, and I create a new kvm with another lvm disks that use the same disk space

Re: [CentOS-virt] Problem with lvm disks assigned to kvm guests

2014-02-06 Thread Dennis Jacobfeuerborn
On 06.02.2014 12:05, C. L. Martinez wrote: On Thu, Feb 6, 2014 at 11:01 AM, Dennis Jacobfeuerborn denni...@conversis.de wrote: On 06.02.2014 11:45, C. L. Martinez wrote: Hi all, I have a strange problem when I use lvm disks to expose to virtual guests (host is CentOS 6.5 x86_64). If I

Re: [CentOS-virt] Problem with lvm disks assigned to kvm guests

2014-02-06 Thread Andrej Kacian
On Thu, 6 Feb 2014 11:20:37 + C. L. Martinez carlopm...@gmail.com wrote: Ok, thanks ... This procedure can works when I reuse a full disk, but what about if I want to reuse only a logical volume?? Only way is to overwrite the lvol while it still exists, before deleting it. Regards, --

Re: [CentOS-virt] Problem with lvm disks assigned to kvm guests

2014-02-06 Thread C. L. Martinez
On Thu, Feb 6, 2014 at 11:36 AM, Andrej Kacian and...@kacian.sk wrote: On Thu, 6 Feb 2014 11:20:37 + C. L. Martinez carlopm...@gmail.com wrote: Ok, thanks ... This procedure can works when I reuse a full disk, but what about if I want to reuse only a logical volume?? Only way is to

Re: [CentOS-virt] Problem with lvm disks assigned to kvm guests

2014-02-06 Thread Nico Kadel-Garcia
On Thu, Feb 6, 2014 at 6:17 AM, Dennis Jacobfeuerborn denni...@conversis.de wrote: On 06.02.2014 12:05, C. L. Martinez wrote: On Thu, Feb 6, 2014 at 11:01 AM, Dennis Jacobfeuerborn Many thanks Dennis ... Then if I do: dd if=/dev/zero of=/dev/sdc1 bs=1M (it is a 1TiB disk), will erase all

Re: [CentOS-virt] Problem with lvm disks assigned to kvm guests

2014-02-06 Thread Mark Milhollan
On Thu, 6 Feb 2014, C. L. Martinez wrote: On Thu, Feb 6, 2014 at 11:01 AM, Dennis Jacobfeuerborn denni...@conversis.de wrote: On 06.02.2014 11:45, C. L. Martinez wrote: I create a new kvm with another lvm disks that use the same disk space previously assigned to the previous kvm guest, this new