How to identify azure managed disk in Azure Linux VM by the block device?

Bera, Asim 20 Reputation points
2023-03-26T03:12:45.0466667+00:00

here is the Attached disk to my Linux VM. how to find the corresponding block device for each Disk?

Attached Disk.JPG

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,983 questions
{count} votes

Accepted answer
  1. Sedat SALMAN 12,985 Reputation points
    2023-03-26T05:34:22.5466667+00:00

    List all the available block devices using the lsblk command:re resource ID.

    This command will display a list of block devices, such as sda, sdb, sdc, etc.

    to get more information about a specific block device, you can query the udev rules.

    udevadm info --query=all --name=/dev/<block_device> | grep 'ID_SERIAL\|ID_WWN\|ID_MODEL'
    
    
    0 comments No comments

0 additional answers

Sort by: Most helpful