Matthias Leopold
2017-07-13 13:25:10 UTC
hi,
i'm fiddling around with LVM backed KVM raw disks, that i want to use
_directly_ in oVirt virtualization (as "Direct LUN"). i would like to
avoid "importing", dd, etc. if possible. in the KVM origin system exists
a mapping of one iSCSI whole device (no partitions) to one PV to one VG
to one LV per KVM disk. i can now present these iSCSI devices to the
oVirt hosts, where i can only use them as "Direct LUN" without the LVM
layer (i guess). so all i would need is to remove the LVM metadata from
the iSCSI device preserving the "content" of the LV. pvremove seems to
be too "intrusive" for this... i know this sounds rather naive and i
didn't find any recipes for it. everybody talks about dd to a new
device, which of course works (i tried it), but is exactly what i want
to avoid when migrating very large disks (TB). i hope someone
understands my concern and maybe has a solution
thx a lot
matthias
i'm fiddling around with LVM backed KVM raw disks, that i want to use
_directly_ in oVirt virtualization (as "Direct LUN"). i would like to
avoid "importing", dd, etc. if possible. in the KVM origin system exists
a mapping of one iSCSI whole device (no partitions) to one PV to one VG
to one LV per KVM disk. i can now present these iSCSI devices to the
oVirt hosts, where i can only use them as "Direct LUN" without the LVM
layer (i guess). so all i would need is to remove the LVM metadata from
the iSCSI device preserving the "content" of the LV. pvremove seems to
be too "intrusive" for this... i know this sounds rather naive and i
didn't find any recipes for it. everybody talks about dd to a new
device, which of course works (i tried it), but is exactly what i want
to avoid when migrating very large disks (TB). i hope someone
understands my concern and maybe has a solution
thx a lot
matthias