-
Notifications
You must be signed in to change notification settings - Fork 26
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
NVME block-device-mapping symlinks are not created reliably #22
Comments
Fixes amazonlinux#22 Symlinks need to be created on both add and change udev events, otherwise they're lost any time a change event is opened, e.g. when a device is open in read/write mode, e.g. when creating or mounting a filesystem.
Fixes amazonlinux#22 Symlinks need to be created on both add and change udev events, otherwise they're lost any time a change event is opened, e.g. when a device is open in read/write mode, e.g. when creating or mounting a filesystem.
When will the fix hit AL2? This broke a lot of scripts for us as running pvcreate on the device symlink would cause it to disappear. |
Hi @lkinley-rythmos Sorry for the inconvenience. I don't have specific ETA for the AL2 update. For the moment, I recommend either staying on version |
Hopefully you can get this update out soon - it broke a lot of our bootstrap scripts also. FWIW in my testing I found |
@nmeyerhans can you clarify this?
It's my understanding from internal discussions that we should stay on |
Yes, that's correct. 1.2-46 is the one that introduced the problem. I've updated the earlier comment to correct that. |
The 1.2-47.amzn2 packages are starting to show up in the Amazon Linux 2 repositories now:
There may be some delay before it reaches every region, so please be patient if it's not available yet where you're running. |
@nmeyerhans, I see you're also the maintainer of the Debian/Ubuntu package (amazon-ec2-utils). I'm currently running into this issue on Ubuntu 22.04, which still ships 1.4 (w/o the fix). Any chance to get the Ubuntu package for 22.04 updated to 1.4.1 (in the near future)? |
@dhs-rec I've uploaded 2.0.1 to Debian. I'm not at all involved in Ubuntu and have no idea what it takes to get it updated there. |
@nmeyerhans, thanks a lot. Maybe I need to open a ticket for Ubuntu, then... |
#9 changed several of the nvme udev rules to only trigger on on "add" events. However, this causes the links to be lost on "change" events, which occur whenever the corresponding device is opened in read/write mode (e.g. when creating or mounting a filesystem).
The text was updated successfully, but these errors were encountered: