跳过导航链接 | |
退出打印视图 | |
![]() |
Oracle Solaris 11.1 管理:SAN 配置和多路径 Oracle Solaris 11.1 Information Library (简体中文) |
以下样例过程介绍如何配置连接到光纤连接的主机端口 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::50020f2300006077
# cfgadm -al Ap_Id Type Receptacle Occupant Condition c0 fc-fabric connected configured unknown c0::50020f2300006077 disk connected configured 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
请注意,c0 和 c0::50020f2300006077 的 Occupant 列均显示为 configured,表明 c0 端口配置了一个插卡并配置了 c0::50020f2300006077 设备。
以下代码示例显示通过 Ap_Id c0:50020f2300006077 连接的物理设备配置了四个 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
此设备目前在运行 Oracle Solaris OS 的系统上可用。路径表示 c0::50020f2300006077 所代表的物理设备中的每个 SCSI LUN。