Forum Discussion
Unable to add the disk in Azure Scale set.
- Dec 08, 2019
If your VMSS is in a state similar to what follows:
1. Data disk attached
2. VM instances updated to the latest model
Then you should see the disk in Disk Management
Are all the instances updated to the latest model? Did you scroll down the Disk Management window to see additional disks?
If all the above is true, can you re-image your instances (losing your current OS state, i.e., recreating the VMs)?
Prashant Sharma, when you add a data disk to a scale set, you must update its instances. If your instances show as not having the latest model, you must update them. The "latest model" in a scale set refers not only to the reference image but also to other scale set properties, such as data disks.
- Prashant SharmaDec 08, 2019Brass Contributor
Hello Hspinto,
Thank you for your reply,
but how to process it. I mean step by step process.?
- hspintoDec 08, 2019
Microsoft
Prashant Sharma, it is a very easy process - one liner Powershell/CLI. Please, look at this document: https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-upgrade-scale-set#how-to-bring-vms-up-to-date-with-the-latest-scale-set-model
You have to do repeat the operation for each one of the VM Scale Set instances (VMs).
Make sure you are not using the "reimage" option, as it will recreate your VMs - which is not needed in your use-case.
- Prashant SharmaDec 08, 2019Brass Contributor
Hello Hspinto,
I already tried this before posting this query.
but this is not working my friend, after this situation is same, the disk is not showing.