Il 2020-06-23 23:02 Zdenek Kabelac ha scritto:
Hi

ATM skilled admin can always easily enforce:

'dmsetup remove --force   vg-lv'

Hi Zdenek,
sure, but I find messing with dmsetup more error prone than using an LVM command.

for i.e. linear devices to achieve this goal - however resolving this
at lvm2 is actually way more complex task when you start to consider
the situation
should be at least 'somehow' recoverable - it's quite complicated and
not really highly demanded functionality.
It's more simple if you have constrained world of known types of devices
and known use-case you are targeting to solve.

Would be an initial minimal support userful? For example, something as "lvchange --error vg/lvm" which will only work on simple setup, while on more complex ones would simply print a warning and return with exit code 1.

Thanks.

--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it [1]
email: g.da...@assyoma.it - i...@assyoma.it
GPG public key ID: FF5F32A8

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Reply via email to