I installed ubuntu ver. 22 on Hyper-V 2019. The basic installation is fine, however when I add the disk it changes mount point.
For example:
After clean install the root partition is on disk /dev/sda
When I another disk it detects new disk on /dev/sdb, so I created partition, formatted and mounted on /data. Everything works fine.
After reboot, the root partition changes to /dev/sdb and additional disk changes to /dev/sda.
We want to use different disks for images and mysql, but this random mount point does not look right. I have another ubuntu 14.04 VM on the same server and no issue at all.
Please see the attached screenshot of filesystem before and after adding disk.
How can i fix this random mounting point?
For example:
After clean install the root partition is on disk /dev/sda
When I another disk it detects new disk on /dev/sdb, so I created partition, formatted and mounted on /data. Everything works fine.
After reboot, the root partition changes to /dev/sdb and additional disk changes to /dev/sda.
We want to use different disks for images and mysql, but this random mount point does not look right. I have another ubuntu 14.04 VM on the same server and no issue at all.
Please see the attached screenshot of filesystem before and after adding disk.
How can i fix this random mounting point?