Control the names of the gmultipathed devices over iscsi

spiros

Cadet
Joined
Mar 12, 2018
Messages
1
Hi all,

I have a freenas using storage from a few old IOMEGA-EMC IX12-300 NAS storages. The connection to the NASes is over iscsi using many paths.
FreeNAS discovers the LUNs from the NASes and creates multipath devices for them (multipath/diskxx).
I would like to give my own names to these multipathed devices, in order to have an easy way to tell which NAS corresponds to which multipath device.
I am looking for functionality similar to multipathd of linux where you can set the name of the device based on UUID.

Thanx,
Spiros
 
Joined
Jul 3, 2015
Messages
926
I've not do it with iscsi LUNs but I do use gmultipath to name my multipathed SAS disks.
 
Joined
Jul 3, 2015
Messages
926
gmultipath destroy diskxxx

gmultipath label -v FRED /dev/da0 /dev/da1
 
Top