[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] Re: [PATCH] Fix handling of snapshots with virtual origin.



Mikulas Patocka wrote:
> It fixes the problem, but here is another one:
> 
> [gerlinda:~]# rmmod dm_zero
> [gerlinda:~]# lvcreate -n vo -s --virtualoriginsize 64M -L 24M vg1
>   Can't expand LV vo_vorigin: zero target support missing from kernel?
>   Couldn't create virtual origin for LV vo

That's common problem for all target modules when missing, the automatic
module loading doesn't work and dm_zero is not loaded by default in RHEL btw.
(mirror and snapshpot is loaded in initrd).

> [gerlinda:~]# lvcreate -n vo -s --virtualoriginsize 64M -L 24M vg1
>   Internal error: Duplicate LV name vo_vorigin detected in vg1.
>   Couldn't create virtual origin for LV vo
>   Internal error: Duplicate LV name vo_vorigin detected in vg1.
>   Manual intervention may be required to remove abandoned LV(s) before 
> retrying.

hm, I'll check, probably another bug which was there since introduction of vorigin.

It is should fail more intelligently without residual LVs in metadata...

Milan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]