Skip to content

Conversation

@phip1611
Copy link
Member

This helps us to check if

  • readonly is propagated correctly form libvirt
  • if CHV properly locks the disk images

fcntl-tool is a Rust CLI written by me some months ago that is very well suited for checking the state of advisory OFD locks.

Closes #58

@hertrste
Copy link
Collaborator

I probably would prefer not to add some external dependency but doesn't matter too much :)

Copy link
Contributor

@scholzp scholzp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good. Nice work!

@scholzp scholzp self-requested a review November 21, 2025 14:44
@phip1611
Copy link
Member Author

I probably would prefer not to add some external dependency but doesn't matter too much :)

I see but it is not in nixpkgs (yet)

This helps us to check if
- `readonly` is propagated correctly form libvirt
- if CHV properly locks the disk images

`fcntl-tool` is a Rust CLI written by me some months ago that
is very well suited for checking the state of advisory OFD
locks.

On-behalf-of: SAP [email protected]
@phip1611 phip1611 enabled auto-merge (rebase) November 21, 2025 14:51
@phip1611 phip1611 merged commit 45443b5 into main Nov 21, 2025
4 checks passed
@phip1611 phip1611 deleted the disk-lock-test branch November 21, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add test that checks the same disk image can not be opened write-exclusively multiple times

4 participants