在 Oracle® Solaris 11.2 中管理 SAN 设备和多路径

退出打印视图

更新时间: 2014 年 12 月
 
 

如何禁用多路径

在基于 SPARC 或 x86 的系统上,执行以下步骤在所有具有多路径功能的设备上禁用多路径。如果您只想在特定的 FC 或 SAS HBA 端口上禁用多路径,请参阅基于每端口启用或禁用多路径

  1. 禁用设备多路径。
    # stmsboot -d
    WARNING: stmsboot operates on each supported multipath-capable controller
             	detected in a host. In your system, these controllers are
    
    	/devices/pci@780/pci@0/pci@8/SUNW,qlc@0/fp@0,0
    	/devices/pci@780/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0
    	/devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@1
    	/devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@1
    	/devices/pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2
    	/devices/pci@7c0/pci@0/pci@9/LSILogic,sas@0
    	/devices/pci@7c0/pci@0/pci@9/LSILogic,sas@0
    
    	If you do NOT wish to operate on these controllers, please quit stmsboot
    	and re-invoke with -D { fp | mpt } to specify which controllers you wish
    	to modify your multipathing configuration for.
    
    	Do you wish to continue? [y/n] (default: y) y
    	Checking mpxio status for driver fp
    	Checking mpxio status for driver mpt
    	WARNING: This operation will require a reboot.
    	Do you want to continue ? [y/n] (default: y) y
    	The changes will come into effect after rebooting the system.
    	Reboot the system now ? [y/n] (default: y) y

    注 - 在重新引导期间,/etc/vfstab 和转储配置将更新,以反映设备名称更改。
  2. (u53ef选)重新引导之后,如有必要,按多路径注意事项中的“设备名称更改注意事项”所述,将您的应用程序配置为使用新的设备名称。