3 ms·
That's actually not that hard. The LUN numbers map through 1:1 to the guest OS. So the external LUN #1 is the internal LUN #1, etc... Then you can use the Wind
by jiggawatts 5y ago
That's actually not that hard. The LUN numbers map through 1:1 to the guest OS. So the external LUN #1 is the internal LUN #1, etc...
Then you can use the Windows OS storage pool commands to figure out the internal mapping.
However, you do have a point -- the disk WWN or GUID or something properly unique ought be available via the Portal or the ARM REST API! That's far easier to automate robustly.
- alliao 5y agoI thought that's how too, but maybe I got my mental model messed up. Will give it a proper visit, the last time I tried to downgrade some ssd to hdd resulted in windows boot loop. fun times, had to take a snapshot then fiddle it's registry in another vm so it'd use the last known working registry to get it back up.