[Rear-users] issues with rear-lvm-disable.patch

Jeroen Hoekx jeroen.hoekx at hamok.be
Thu Feb 16 16:34:45 CET 2012


Hi Gratien,

On 16 February 2012 16:23, Gratien D'haese <gratien.dhaese at it3.be> wrote:

> The question I have - do we really need to check on active VG, if yes,
> wouldn't it be better to execute a 'vgchange -a n' only when required?
> The problem might be, how do we detect if a VG is active or not without
> breaking our script?
> Any input or ideas are welcome.

Well, there is no other way to avoid the original problem except by
checking all udev rules...

Would a simple ||true at the end of the line fix it? If it's only the
set -e, that should do it?

(untested)

Jeroen




More information about the rear-users mailing list