You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Ignition is told to delete or modify a partition or whole device that is in use, it will run sgdisk and do the operation, even if, e.g., the partition is used by device mapper for a dm-verity mount or similar. Whether the boot fails depends on the OS but it might be that it succeeds but subsequent boots would fail.
Best would be if Ignition won't modify partitions/devices if it sees that they are in use. Logic to detect that with lsblk can be found in #1717 (comment)
Other Information
sgdisk doesn't update the kernel partition objects if any of the partitions on a device is in use. But even with #1717 that adds updating the kernel partition objects when possible (I think deletion of partitions in use is not possible), the above problem still exists and we should prevent modifying partitions when they are in use.
The text was updated successfully, but these errors were encountered:
Feature Request
Desired Feature
When Ignition is told to delete or modify a partition or whole device that is in use, it will run sgdisk and do the operation, even if, e.g., the partition is used by device mapper for a dm-verity mount or similar. Whether the boot fails depends on the OS but it might be that it succeeds but subsequent boots would fail.
Best would be if Ignition won't modify partitions/devices if it sees that they are in use. Logic to detect that with lsblk can be found in #1717 (comment)
Other Information
sgdisk doesn't update the kernel partition objects if any of the partitions on a device is in use. But even with #1717 that adds updating the kernel partition objects when possible (I think deletion of partitions in use is not possible), the above problem still exists and we should prevent modifying partitions when they are in use.
The text was updated successfully, but these errors were encountered: