Data Partition that we previously mounted on a directory of our choice on reboot gets mounted on /

Brown, Brennan 1 Reputation point
2020-06-03T15:37:59.327+00:00

Has anyone else seen a similar issue? Data Partition that we previously mounted on a directory of our choice on reboot gets mounted on / Steps we took: 1. We created a B4ms VM using the most recent Red Hat Enterprise Linux (8.2) with a 1TB Data Disk 2. Mounted /dev/sdb1 manually on /srv/abc successfully. 3. Created a file on /srv/abc successfully. 4. List partition in /etc/fstab using the name (for us it was /dev/sdb1) to mount to a specified directory (/srv/abc) 5. Reboot and /dev/sdb1 was mounted to /boot 6. Reboot and /dev/sdb1 was mounted to /mnt 7. Modified /etc/fstab for the device to use the UUID rather than /dev/sdb1 8. Reboot and /dev/sdb1 was still mounted incorrectly 9. Backed out the /etc/fstab change 10. Reboot and /dev/sdb1 was mounted on /mnt 11. 'umount'ed /mnt and /srv/abc reappeared with the file indicating data would be lost on reboot. 12. Reboot and /dev/sdb1 appeared correctly mounted on /srv/abc, and contained the file created in step 3 This incorrect mounting "feature" has also appeared in other Azure Linux deployments. Team member saw it in an Ubuntu site 2 weeks ago. Using the information from our experience, the site on Ubuntu was recovered to normal operation.

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