New udev rules simplify your life

The udev rules which come with the WALinuxAgent got modified as I had to learn. These new rules are really handy to figure out what disks are available and where they are mounted on. The rules are defined as follows ACTION==”add|change”, SUBSYSTEM==”block”, ENV{ID_VENDOR}==”Msft”, ENV{ID_MODEL}==”Virtual_Disk”, GOTO=”azure_disk” GOTO=”azure_end” LABEL=”azure_disk” # Root has a GUID of 0000 as…

0

Don’t rely on /dev/sdc

Recently a customer reported an issue that his automation script, which runs after a new Azure VM is created, does install a LVM volume on the ephemeral disk, instead on the data-disk belonging to a VM. This happens on a couple of VMs. So one can say that his script is actually right. But why…

0