Product and version information:
After the host was restarted or the link between the host and the storage array was disconnected (for example, the optical fiber was removed), the drive letter for the LUNs mapped from the storage array changed. This drive-letter-shift issue led to read/write errors.
1.We mapped four LUNs in the following sequence: LUN1, LUN2, LUN3, LUN4. The corresponding drive letters generated for these LUNs were disk1, disk2, disk3, disk4.
2.We disconnected the link by restarting the host or removing the optical fiber.
3.The drive letters may change: LUN2 to disk 2, and LUN3 to disk 3.
1.The Mac OS X system automatically mounts volumes to the Volumes directory. The Mac OS X system can directly use the volumes created for the disks; therefore, drive-letter-shift issues are avoided.
2.To avoid drive-letter-shift issues, you can use volume UUIDs by changing the mounting directory of volumes, and therefore avoided the use of disk file names. Procedure:
For example, if you want disk0s1 to be automatically mounted to the /var/root/test directory, perform the following steps: