- 论坛徽章:
- 0
|
如果用的是SUN自己带的光纤卡,要做一些驱动方面配置的,如下:
Sun StorEdge Network Foundation HBA/ 驱动程序的配置
StorEdge NetWork Foundation 主机总线适配器 (HBA) 需要特定的配置,用以绑定 Legato lus 驱动程序使用的设备万维网端口名。
/usr/sbin/lus_add_fp_devs 脚本将正确的项添加到lus.conf 文件。但是,在运行脚本前,必须确保已接通所有设备的电源并将设备连接到 HBA。
注意:/usr/sbin/lus_add_fp_devs 脚本只应用于配置光纤通道上的库。
以下是/usr/kernel/drv/lus.conf 脚本附加项的内容示例:
name="lus" parent="fp" target=0 lun=0
fc-port-wwn="22000090a50001c8";
name="lus" parent="fp" target=2 lun=0
fc-port-wwn="22000090a50001c8";
/usr/sbin/lus_add_fp_devs 脚本输出示例
以下是/usr/sbin/lus_add_fp_devs 脚本输出的一个示例。
# /usr/sbin/lus_add_fp_devs
Updating /usr/kernel/drv/lus.conf
Found StorEdge HBA device:
/devices/pci@1f,0/pci@1/pci@1/pci@f/SUNW,qlc@4/fp@0,0:de
vctl
Found StorEdge HBA device:
/devices/pci@1f,0/pci@1/pci@1/pci@f/SUNW,qlc@5/fp@0,0:de
vctl
Mapping tape devices starting at target 0
Adding:
port WWN: 500104f000428e48 as SCSI target 0
port WWN: 500104f000428e49 as SCSI target 1
port WWN: 500104f000428f44 as SCSI target 2
port WWN: 500104f000428f45 as SCSI target 3
Mapping tape devices starting at target 4
Adding:
port WWN: 500104f000428e48 as SCSI target 4
port WWN: 500104f000428e49 as SCSI target 5
port WWN: 500104f000428f44 as SCSI target 6
port WWN: 500104f000428f45 as SCSI target 7
Adding medium changer devices starting at target 100
Adding:
port WWN: 100000e002000000 as SCSI target 100
port WWN: 100000e00201105a as SCSI target 101
Adding medium changer devices starting at target 102
Adding:
port WWN: 100000e002000000 as SCSI target 102
port WWN: 100000e00201105a as SCSI target 103
对lus.conf 做出的更改将不会生效,直到lus 重新加载。
如果您确定当前没有进程正在使用lus 控制磁带库,则可以安全卸载它。
注意:如果当前没有加载lus,则脚本将显示出声明当前没有加载lus 的部分。
是否要卸载lus? (y/n) y
注意:如果您选择“否”,将会显示出以下输出且程序退出:
lus 当前已加载!必须卸载并重新加载以使对lus.conf 做出的任何更改
生效
注意:如果当前没有加载lus,请完成以下提示:
lus 当前未加载
是否要运行查询?
(这将导致使用新修改的 lus.conf 加载 lus) (y/n) y
注意:如果对前面的提示选择“否”,程序将退出。
scsidev@0.0.0:FUJITSU MAJ3182M SUN18G 0804|Disk,
/dev/rdsk/c0t0d0s2
scsidev@2.0.0:STK 9840 1.28|Tape, /dev/rmt/0cbn
scsidev@2.0.0:STK 9840 1.28|Tape, /dev/rmt/0cbn
scsidev@2.100.0:ADIC Scalar DLT 448 0114|Autochanger(Jukebox)
scsidev@2.100.0:ADIC Scalar DLT 448 0114|Autochanger(Jukebox)
scsidev@2.0.0:STK 9840 1.28|Tape, /dev/rmt/0cbn
scsidev@2.0.0:STK 9840 1.28|Tape, /dev/rmt/0cbn |
|