Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7522719
  • 博文数量: 637
  • 博客积分: 10265
  • 博客等级: 上将
  • 技术积分: 6165
  • 用 户 组: 普通用户
  • 注册时间: 2004-12-12 22:00
文章分类

全部博文(637)

文章存档

2011年(1)

2010年(1)

2009年(3)

2008年(12)

2007年(44)

2006年(156)

2005年(419)

2004年(1)

分类:

2005-12-28 22:56:04

The following instructions explain how to update the device driver configuration file on the Sun host to enable access to target and LUN pairs that are configured on a DS8000.

Perform the following steps to update the Solaris driver configuration file:

Note:
  1. Do not change or remove entries in kernel /drv/sd.conf for preexisting devices. Doing so can cause your system to become inoperable.
  2. Do not add duplicate target and LUN pairs.
  1. Change directories by typing: cd /kernel/drv
  2. Backup the sd.conf file in this subdirectory.
  3. Edit the sd.conf file to add support for the target and LUN pairs that are configured on the host system.

    shows the lines that you must add to the file to access LUNs 0 - 49 on target 0 for fibre-channel.

    Figure 1. Example of sd.conf file entries for fibre-channel
    name="sd" class="scsi"
    target=0 lun=0;
    name="sd" class="scsi"
    target=0 lun=1;
    name="sd" class="scsi"
    target=0 lun=2;
    name="sd" class="scsi"
    target=0 lun=3;
    name="sd" class="scsi"
    target=0 lun=4;
    name="sd" class="scsi"
    target=0 lun=5;
    name="sd" class="scsi"
    target=0 lun=6;
    name="sd" class="scsi"
    target=0 lun=7;
    name="sd" class="scsi"
    .
    .
    .
    name="sd" class="scsi"
    target=0 lun=48;
    name="sd" class="scsi"
    target=0 lun=49;
    shows the start lpfc auto-generated configuration.
    Note: You will delete anything that you put within this auto-generated section if you issue the pkgrm command to remove the lpfc driver package. You might want to add additional lines to probe for additional LUNs or targets. Delete any lines that represent lpfc targets or LUNs that are not used.
    Figure 2. Example of a start lpfc auto-generated configuration
    name="sd" parent="lpfc" target=0 lun=0;
    name="sd" parent="lpfc" target=1 lun=0;
    name="sd" parent="lpfc" target=2 lun=0;
    name="sd" parent="lpfc" target=3 lun=0;
    name="sd" parent="lpfc" target=4 lun=0;
    name="sd" parent="lpfc" target=5 lun=0;
    name="sd" parent="lpfc" target=6 lun=0;
    name="sd" parent="lpfc" target=7 lun=0;
    name="sd" parent="lpfc" target=8 lun=0;
    name="sd" parent="lpfc" target=9 lun=0;
    name="sd" parent="lpfc" target=10 lun=0;
    name="sd" parent="lpfc" target=11 lun=0;
    name="sd" parent="lpfc" target=12 lun=0;
    name="sd" parent="lpfc" target=13 lun=0;
    name="sd" parent="lpfc" target=14 lun=0;
    name="sd" parent="lpfc" target=15 lun=0;
    name="sd" parent="lpfc" target=16 lun=0;
    name="sd" parent="lpfc" target=17 lun=0;
    name="sd" parent="lpfc" target=17 lun=1;
    name="sd" parent="lpfc" target=17 lun=2;
    name="sd" parent="lpfc" target=17 lun=3;
  4. Type either:
    1. reboot -- -r from the Open Windows® window to shutdown and restart the Sun host system with the kernel reconfiguration option
    2. boot -r from the OK prompt after you shutdown

    The fibre-channel adapters that are supported for attaching the storage unit to a Sun host are capable of full-fabric support. Ensure that all fibre-channel driver configurations include worldwide port name, worldwide node name, port ID, or host adapter binding of target LUN pairs.

    Binding of target LUN pairs implements the Solaris fibre-channel host adapter configuration file that is installed by the adapter software package. Refer to the manufacturer's adapter documentation and utilities for detailed configuration instructions.

    You can tune fibre-channel host adapter configuration files for host system reliability and performance.

| | |
阅读(3220) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~