SOLVED
Home

Unable to add the disk in Azure Scale set.

%3CLINGO-SUB%20id%3D%22lingo-sub-1053970%22%20slang%3D%22en-US%22%3EUnable%20to%20add%20the%20disk%20in%20Azure%20Scale%20set.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1053970%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20unable%20to%20add%20a%20disk%20in%20scale%20Set.%20when%20I%20try%20to%20add%20a%20disk%20in%20scale%20set%20so%20it%20showing%20in%20the%20storage%20section%20in%20scale%20set%2C%20but%20when%20I%20try%20it%20into%20the%20VM%20using%20RDP%20so%20it%20not%20showing%20there.%20also%2C%20the%20disk%20is%20not%20showing%20into%20the%20Diskmgmt.msc.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1053970%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1054143%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20add%20the%20disk%20in%20Azure%20Scale%20set.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1054143%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F141516%22%20target%3D%22_blank%22%3E%40Prashant%20Sharma%3C%2FA%3E%2C%26nbsp%3Bwhen%20you%20add%20a%20data%20disk%20to%20a%20scale%20set%2C%20you%20must%20update%20its%20instances.%20If%20your%20instances%20show%20as%20not%20having%20the%20latest%20model%2C%20you%20must%20update%20them.%20The%20%22latest%20model%22%20in%20a%20scale%20set%20refers%20not%20only%20to%20the%20reference%20image%20but%20also%20to%20other%20scale%20set%20properties%2C%20such%20as%20data%20disks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1054560%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20add%20the%20disk%20in%20Azure%20Scale%20set.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1054560%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%20Hspinto%2C%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20reply%2C%3C%2FP%3E%3CP%3Ebut%20how%20to%20process%20it.%20I%20mean%20step%20by%20step%20process.%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1054723%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20add%20the%20disk%20in%20Azure%20Scale%20set.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1054723%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F141516%22%20target%3D%22_blank%22%3E%40Prashant%20Sharma%3C%2FA%3E%2C%20it%20is%20a%20very%20easy%20process%20-%20one%20liner%20Powershell%2FCLI.%20Please%2C%20look%20at%20this%20document%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-upgrade-scale-set%23how-to-bring-vms-up-to-date-with-the-latest-scale-set-model%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-machine-scale-sets%2Fvirtual-machine-scale-sets-upgrade-scale-set%23how-to-bring-vms-up-to-date-with-the-latest-scale-set-model%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20have%20to%20do%20repeat%20the%20operation%20for%20each%20one%20of%20the%20VM%20Scale%20Set%20instances%20(VMs).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMake%20sure%20you%20are%20not%20using%20the%20%22reimage%22%20option%2C%20as%20it%20will%20recreate%20your%20VMs%20-%20which%20is%20not%20needed%20in%20your%20use-case.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1054736%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20add%20the%20disk%20in%20Azure%20Scale%20set.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1054736%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%20Hspinto%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20already%20tried%20this%20before%20posting%20this%20query.%3C%2FP%3E%3CP%3Ebut%20this%20is%20not%20working%20my%20friend%2C%20after%20this%20situation%20is%20same%2C%20the%20disk%20is%20not%20showing.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1054807%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20add%20the%20disk%20in%20Azure%20Scale%20set.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1054807%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20your%20VMSS%20is%20in%20a%20state%20similar%20to%20what%20follows%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1.%20Data%20disk%20attached%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20642px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F160598iDC530828A49E66DC%2Fimage-dimensions%2F642x185%3Fv%3D1.0%22%20width%3D%22642%22%20height%3D%22185%22%20alt%3D%22clipboard_image_1.png%22%20title%3D%22clipboard_image_1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E2.%20VM%20instances%20updated%20to%20the%20latest%20model%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20700px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F160599i0DA021454DD90DED%2Fimage-dimensions%2F700x121%3Fv%3D1.0%22%20width%3D%22700%22%20height%3D%22121%22%20alt%3D%22clipboard_image_2.png%22%20title%3D%22clipboard_image_2.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThen%20you%20should%20see%20the%20disk%20in%20Disk%20Management%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20667px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F160600iCA028D1B03F650D5%2Fimage-dimensions%2F667x320%3Fv%3D1.0%22%20width%3D%22667%22%20height%3D%22320%22%20alt%3D%22clipboard_image_3.png%22%20title%3D%22clipboard_image_3.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAre%20all%20the%20instances%20updated%20to%20the%20latest%20model%3F%20Did%20you%20scroll%20down%20the%20Disk%20Management%20window%20to%20see%20additional%20disks%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20all%20the%20above%20is%20true%2C%20can%20you%20re-image%20your%20instances%20(losing%20your%20current%20OS%20state%2C%20i.e.%2C%20recreating%20the%20VMs)%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1057136%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20add%20the%20disk%20in%20Azure%20Scale%20set.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1057136%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%20Hspinto%2C%3C%2FP%3E%3CP%3EThank%20you%20so%20much%20man.%3C%2FP%3E%3CP%3ENow%20it%20is%20working.%3C%2FP%3E%3CP%3Eso%20one%20thing%20more%2C%3C%2FP%3E%3CP%3Ewhen%20scale%20out%20rule%20is%20working%20and%20its%20increasing%20Instances%2C%20so%20at%20that%20time%20Disks%20are%20automatically%20updated%20in%20instances%20or%20not%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1057695%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20add%20the%20disk%20in%20Azure%20Scale%20set.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1057695%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F141516%22%20target%3D%22_blank%22%3E%40Prashant%20Sharma%3C%2FA%3E%2C%26nbsp%3Bwhen%20the%20scale%20set%20increases%20the%20instance%20count%2C%20the%20new%20VMs%20will%20come%20with%20the%20data%20disk%20attached%2C%20as%20per%20the%20scale%20set%20model%20-%20no%20need%20to%20worry%20about%20updating%20those%20new%20instances.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1059457%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20add%20the%20disk%20in%20Azure%20Scale%20set.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1059457%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F453722%22%20target%3D%22_blank%22%3E%40hspinto%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20so%20much%20hspinto%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Prashant Sharma
Contributor

Hello Guys,

 

I was unable to add a disk in scale Set. when I try to add a disk in scale set so it showing in the storage section in scale set, but when I try it into the VM using RDP so it not showing there. also, the disk is not showing into the Diskmgmt.msc.

8 Replies

@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.

@hspinto 

Hello Hspinto, 

Thank you for your reply,

but how to process it. I mean step by step process.?

@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...

 

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.

@hspinto 

 

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.

Solution

If your VMSS is in a state similar to what follows:

 

1. Data disk attached

 

clipboard_image_1.png

 

2. VM instances updated to the latest model

clipboard_image_2.png

 

Then you should see the disk in Disk Management

 

clipboard_image_3.png

 

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)?

@hspinto 

Hello Hspinto,

Thank you so much man.

Now it is working.

so one thing more,

when scale out rule is working and its increasing Instances, so at that time Disks are automatically updated in instances or not?

@Prashant Sharma, when the scale set increases the instance count, the new VMs will come with the data disk attached, as per the scale set model - no need to worry about updating those new instances.

@hspinto 

 

Thank you so much hspinto

Related Conversations
Azure Automation connecting to Exchange with MFA enforced
Chris Johnston in Azure on
13 Replies
A problem with the Zoom level of a Tab
Tavory in Discussions on
9 Replies
Intune Win32 apps error 0x80070002
bjornmertens in Microsoft Intune on
5 Replies