跳过导航链接 | |
退出打印视图 | |
![]() |
Oracle Solaris 11.1 管理:SAN 配置和多路径 Oracle Solaris 11.1 Information Library (简体中文) |
确保先使用确保 LUN 级别信息可见过程确定系统中的可见设备。以下过程介绍如何配置所有连接到光纤连接的主机端口的未配置光纤设备。用作示例的端口为 c0。
# cfgadm -al Ap_Id Type Receptacle Occupant Condition c0 fc-fabric connected unconfigured unknown c0::50020f2300006077 disk connected unconfigured unknown c0::50020f23000063a9 disk connected unconfigured unknown c0::50020f2300005f24 disk connected unconfigured unknown c0::50020f2300006107 disk connected unconfigured unknown c1 fc-private connected configured unknown c1::220203708b69c32b disk connected configured unknown c1::220203708ba7d832 disk connected configured unknown c1::220203708b8d45f2 disk connected configured unknown c1::220203708b9b20b2 disk connected configured unknown
# cfgadm -c configure c0
注 - 此操作将对 c0 上的所有设备重复单个设备的 configure 操作。如果 c0 上的设备数量巨大,此操作可能很耗时。
# cfgadm -al Ap_Id Type Receptacle Occupant Condition c0 fc-fabric connected configured unknown c0::50020f2300006077 disk connected configured unknown c0::50020f23000063a9 disk connected configured unknown c0::50020f2300005f24 disk connected configured unknown c0::50020f2300006107 disk connected configured unknown c1 fc-private connected configured unknown c1::220203708b69c32b disk connected configured unknown c1::220203708ba7d832 disk connected configured unknown c1::220203708b8d45f2 disk connected configured unknown c1::220203708b9b20b2 disk connected configured unknown
以下代码示例显示 c0::50020f2300006077 和 c0::50020f2300006107 所表示的物理设备分别配置了四个 LUN。c0::50020f23000063a9 和 c0::50020f2300005f24 所表示的物理设备分别配置了两个 LUN。
# cfgadm -al -o show_SCSI_LUN c0 Ap_Id Type Receptacle Occupant Condition c0 fc-fabric connected configured unknown c0::50020f2300006077,0 disk connected configured unknown c0::50020f2300006077,1 disk connected configured unknown c0::50020f2300006077,2 disk connected configured unknown c0::50020f2300006077,3 disk connected configured unknown c0::50020f23000063a9,0 disk connected configured unknown c0::50020f23000063a9,1 disk connected configured unknown c0::50020f2300005f24,0 disk connected configured unknown c0::50020f2300005f24,1 disk connected configured unknown c0::50020f2300006107,0 disk connected configured unknown c0::50020f2300006107,1 disk connected configured unknown c0::50020f2300006107,2 disk connected configured unknown c0::50020f2300006107,3 disk connected configured unknown