![]() ![]() In the image, you can see that there are 3 data disks: 4 GB on LUN 0, 16GB at LUN 1, and 32G at LUN 2. It is a LUN 0 and is 4GB.įor a more complex example, here is what multiple data disks look like in the portal: In this example, the disk that I added is sdc. The output is similar to the following example: sda 0:0:0:0 30G lsblk -o NAME,HCTL,SIZE,MOUNTPOINT | grep -i "sd" In this example, we are using lsblk to list the disks. Once connected to your VM, you need to find the disk. The following example connects to a VM with the public IP address of 10.123.123.25 with the username azureuser: ssh the disk Disk arbitrator to keep disks mounting how to#For more information, see How to use SSH with Linux on Azure. To partition, format, and mount your new disk so your Linux VM can use it, SSH into your VM. On the Disks pane, under Data disks, select Attach existing disks.Ĭlick the drop-down menu for Disk name and select a disk from the list of available managed disks.Ĭlick Save to attach the existing managed disk and update the VM configuration:Ĭonnect to the Linux VM to mount the new disk When you are done, select Save at the top of the page to create the managed disk and update the VM configuration. Review the default settings, and update the Storage type, Size (GiB), Encryption and Host caching as necessary. On the Disks pane, under Data disks, select Create and attach a new disk.Įnter a name for your managed disk. In the Virtual machines page, under Settings, choose Disks.Go to the Azure portal to find the VM.After attaching the disk, you need to connect to the Linux VM to mount the new disk.For details, see our Introduction to managed disks. ![]() Disks attached to virtual machines are actually.For details, see Sizes for virtual machines. The size of the virtual machine controls how many data disks you can attach.You can also attach a data disk to a Windows VM in the Azure portal.īefore you attach disks to your VM, review these tips: This article shows you how to attach both new and existing disks to a Linux virtual machine through the Azure portal. Applies to: ✔️ Linux VMs ✔️ Flexible scale sets ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |