I am using an image (Windows & Linux) to create VMs in Azure through ARM template. The image has only OS Disk (C Drive). I need Data disk also (say D drive). Can I create data disk through ARM Template while creating the VM using the image with only C drive ? I need this for Windows as well as Linux. If so, is there any reference ?
1
There are 1 best solutions below
Related Questions in AZURE
- Why does Azure Auto-Scale scale go lower then minimum amount of instances?
- Data execution plan ended with error on DB restore
- Why does Azure CloudConfigurationManager.GetSetting return null
- Do I need other roles than Worker Role for a web site and service layer in Azure?
- Azure Web App PATH Variable Modification
- Azure Data Factory: LinkedService for AzureSql in failed state
- How To Update a Web Application In Azure and Keep The App Up the whole time
- Using Azure MobileServices library with my own LAN WebApi
- ionCube loader error on Azure IIS
- App crash (if closed) after click on notification
- How to get sql data bases instances in azure using java api
- I want to create file in azure share using python PUT requests but getting error signature not correct including headers
- Enabling OPTIONS method on Azure Cloud Service (to enable CORS)
- Redirecting subdomain to directory on Azure
- Kaltura account settings error
Related Questions in VIRTUAL-MACHINE
- No laravel sync folders in homestead vagrant on windows
- Only 32 bit available in Oracle VM - Hadoop Installation
- Setting Email Notification for Virtual machine whic are down or services that are stopped in Azure Cloud
- Some weird error using Kivy 1.9.1
- How to enable Microsoft Access Driver (*.mdb, *.accdb) in Microsoft Azure windows server 2012 R2?
- scp between two virtual machines in virtualbox
- how to set network configuration for vm in esx host through command?
- List all VM's by their port mirroring settings PowerShell
- Downloading files from Google Cloud Bucket onto Google Compuete Engine Instance Startup (.NET)
- SonarQube not running on CentOS
- Vagrant Port Fowarding on Windows
- Docker inside Windows guest virtual machine
- SSH asking for password in Bluemix
- Running (& compiling) untrusted user code
- ANDY Error Unable to Launch VM Process
Related Questions in AZURE-RM-TEMPLATE
- Unable to upload SSL certificate to Azure with a Service Principal account
- Azure Arm template deployment of a web app zip package programmatically using build artifact
- Do custom script extensions specified in ARM templates run each time the VM is restarted?
- Azure Resource Template: language expression is not supported
- Azure ARM template for an insights alert
- Azure ARM Template for Dropdownn type Parameter
- Arm Template conditional output parameters
- Deploy two Azure App Services to the same App Service Plan using idempotent ARM TEMPLATE
- Create Batch Account and Key Vault in single ARM script
- ARM template automation
- Azure. How to deploy VM from managed image with ARM Template
- Azure Batch Linked Service Not Found in ADF Pipeline
- Multiple conditions in arm templates
- Heat to ARM template conversion via tool present on git hum :: exceptions and error
- How can I configure the password and username of a ClearDb MySQL database in an ARM template
Related Questions in AZURE-VM
- Service Endpoint between 2 Azure VMs?
- Can a data disk (say D drive) be added through ARM Teamplate while creating a VM in Azure if the image has only OS Disk (C drive)?
- Monitoring IIS Applications using Application Insights
- Can I add additional datadisk through ARM Template while creating a VM in Azure from an existing image which already has a datadisk?
- Get Azure VM AD Domain
- Running Android Emulator on Azure VM
- On-prem AD server to manage Azure VMs and other on-prem machines?
- Azure VM FTP Server Error: 550 Create directory operation failed
- Python api call runs fine on local machine but fails when run on Azure VM
- Create an Azure virtual machine with premade files and run them?
- Fetch Azure VM Size List along with VM Type
- Azure VM suddenly stops responding to any connections
- Azure VM backup before schedule time or incorrect timing
- Simple script is running too long using Invoke-AzVMRunCommand
- Trying to create a VM to acess a SQL Azure Managed Instance - (The selected subnet is not supported)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Actually, most image only has the OS disk, it's the same as your image. And to create a VM with a data disk via the ARM template, you just need to add the
dataDisksblock in the VM resource. It's a list, you can add one or more disks, and then Azure will create it or them for you. It's not complex.And on the other hand, the D drive usually is the temporary disk. So in fact, the data disk should be the E drive or after E.