Hello Venkata,
Hope you are doing well today. To mount an attached disk in Azure which is of type "Microsoft Storage Space" in an Ubuntu virtual machine, you need to first identify the disk device path in Ubuntu and then create a file system on the disk.
Here are the steps to do it:
- Connect to your Ubuntu virtual machine and open a terminal.
- Use the "lsblk" command to list all available block devices and their partitions, and identify the disk device path of the attached disk. The device path should look something like "/dev/sdc".
- Create a file system on the disk with the following command, replacing "/dev/sdc" with the actual device path of your disk:
sudo mkfs.ntfs /dev/sdc
- Create a mount point directory where you want to mount the disk. For example:
sudo mkdir /mnt/disk - Mount the disk to the mount point directory with the following command, replacing "/dev/sdc" with the actual device path of your disk:
sudo mount /dev/sdc /mnt/disk - You should now be able to access the contents of the disk at the mount point directory.
Please don't forget to mark it as an answer. Also please let me know if further assistance required on the same.
Regards,
Umang middha
******@gmail.com