Server restart and change disk mount name

When I restarted the server, my disk, which was under sdb, was listed as mpathb under sda. Why did this happen?

I thought that the names in the form of mpath would be listed when the disk was connected from external storage.

What can I do to avoid making this call when I want to connect my disks when I restart my server?

sda mpath_member 11111111-2222-3333-444-dd

└─mpathb ext4 11111111-2222-3333-4444-dd /soolean

OS= Oracle Linux 8.6

HP gen 9 server

22 TB SAS HDD and 10 TB mounted from IBM storage

When you present for example a single LUN with 4 paths, you will get four linux devices.
sda/sdb/sdc/sde

Those all will be under mpath device (/dev/mapper/mpathb) as it is actually one LUN.
sdX names can change during reboots, this is why you have multipath device 'infront'

Can you post entire output of command
multipath -ll

See this as reccomendation states you should disable multipath for local SCSI devices.

Part : 3.3. Ignoring local disks when generating multipath devices

Regards
Peasant.

2 Likes