OLVM: How to Recover the Snapshot disk that is marked Illegal
(Doc ID 2682792.1)
Last updated on OCTOBER 10, 2023
Applies to:
Linux OS - Version Oracle Linux 7.8 and later Linux x86-64
Goal
Since a “live removal” of a disk snapshot is a critical operation, when OLVM starts one, the first thing it does is mark the snaphot as illegal. If the operation completes, OLVM will mark it as OK and remove the snapshot from the engine database. But if something happens and the removal does not finish, the disk snaphot will remain in “illegal” status, and you have to manually check the status of the snapshot and fix it if needed. The fact that an OLVM Virtual Machine with a disk snapshot marked as illegal will not boot, is a feature (not a bug). It’s to make sure that VM will not corrupt the data (because OLVM is not sure what’s the real status of that disk)
Solution
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!