[lvm-devel] [PATCH 2/7] Never set mirror log and images directly visible in metadata.

Milan Broz mbroz at redhat.com
Sun May 10 18:42:53 UTC 2009


Petr Rockai wrote:
> Milan Broz <mbroz at redhat.com> writes:
>> Mirror creation and conversion force set mirror log and images
>> to be visible. This can violate VG max_lv restriction on LV.
>>
>> There is no need to set these volumes visible, even during
>> mirror images conversion.
> Well, I believe the use-case is that when the operation fails halfway (which
> happens from time to time -- more often than would be comfortable, even), you
> can clean up by hand, since those offending LVs became visible. If there is a
> reasonable procedure that the admins can follow to get rid of the junk LVs in
> those scenarios, I'm fine.

Maybe we should display these "invisible" LVs to user (in reporting commands)
if no visible LV references them (I mean _mimage, _mlog & Co. devices)

Admin can remove these insvible LV even now (lvremove works), but must
run "lvs -a" to found them first...

Milan




More information about the lvm-devel mailing list