-
Notifications
You must be signed in to change notification settings - Fork 89
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
Switch to using lun to determine which persistent disk is attached? #135
Comments
Indeed, using LUNs are the correct way to map attached disks to drives. using |
I am investigating it. From my test, the lun will never change after the reboot. I need to confirm it and update you later. |
Also @cppforlife if you don't have a disk at LUN 0 I believe the SCSCI driver can't detect disks at higher LUNS. So when you detach the first persisted disk, is it at LUN 0? |
/cc @szarkos. He should know for sure if this is still the case. Pretty sure if disk@ LUN 0 is gone disks at higher LUN's are not found. We hit this issue on another project. |
@sedouard what do you mean by "disks at higher LUN's are not found". do they not show up at all anywhere or do they just get renumbered? |
they won't show up at all on |
@cppforlife if lun 0 is gone, disks at higher LUN still can be found. I do not observe this issue. I am investigating to use scsi as DevicePathResolutionType to use uuid as the device id. |
Use LUN and host device id as the disk identifier. Close #135
I believe in the following scenario Agent cannot keep track of persistent disk attachment within the VM:
Is there a better way to determine which disk is which? OpenStack for example has a way to find it based on device ID. This article https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-classic-attach-disk/ seems to suggest lun might be the way to go. Do we know if lun would change after the reboot?
The text was updated successfully, but these errors were encountered: