Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Our test code now assumes that we are using the lvm devices file, #1

Closed

Conversation

bjohnsto
Copy link
Member

As this is now the default on most distros. As such we've added cleanup code to handle such situations.

  • Added an additional check function called checkLVMDevicesFile() that will examine the lvm devices file and remove any orphaned entries. Orphaned entries exist in the file but have no associated device.
  • Renamed checkLVM to checkDeviceStack and reworked the code to so that it handles all our devices, including the removal of devices from the lvm devices file.
  • Make sure we don't try to use the devices file if the distro does not support that.

as this is now the default on most distros. As such we've added
cleanup code to handle such situations.

- Added an additional check function called checkLVMDevicesFile()
that will examine the lvm devices file and remove any
orphaned entries. Orphaned entries exist in the file but
have no associated device.
- Renamed checkLVM to checkDeviceStack and reworked the code to
so that it handles all our devices, including the removal of
devices from the lvm devices file.
- Make sure we don't try to use the devices file if the distro
does not support that.

Signed-off-by: Bruce Johnston <[email protected]>
Copy link

github-actions bot commented May 15, 2024

Unit Test Results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 9609edb.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants