#281 PR closed: Make sure all VG are disabled before trying to erase the disk.

Arakmar opened issue at 2013-07-16 12:59:

It fixes issues when we want to restore again after an incomplete layout restoration.

jhoekx commented at 2013-07-16 13:07:

This does not look correct to me. If the restore fails after LVM has been recreated, in fs for example, ReaR should continue where it failed after fixing disklayout/diskrestore. With this PR, it would deactivate some VGs which were correctly created while the rest of the restore script expects them to be available.

I don't know an easy solution to this...

Arakmar commented at 2013-07-23 12:20:

Yes, you're right, after some investigation, there isn't a proper way to handle that and it has to be done manually.


[Export of Github issue for rear/rear.]