Chinaunix

标题: SUN主机上识别IBM3584的问题,求救 [打印本页]

作者: ff_jxj    时间: 2008-02-27 14:42
标题: SUN主机上识别IBM3584的问题,求救
SUN v880 系统版本为solaris 9
IBM 3584 磁带库,配有10个光纤LTO3磁带驱动器

系统能正常识别驱动器,但是无论如何我都无法找到带库的机械臂
cfgadm -al也只能看到10个驱动器

安装IBM的驱动后(IBMtape.4.1.6.6.bin),没任何效果,在/dev/rmt下依然是solaris自动识别的设备(如设备1是0cbn而不是0stcbn).没有smc文件

/kernel/drv/st.conf所有项已经全部注释掉
/usr/kernel/drv/IBMtape.conf 除target 7和15外全开放

/opt/IBMtape/diags_info 执行显示一切正常

安装networker后使用inquire,也只能搜到10个驱动器

诸位高手,谁有具体实施案例的,帮帮兄弟

很紧急,求救
作者: redwaves    时间: 2008-02-27 15:10
带库问题
作者: ff_jxj    时间: 2008-02-27 15:16
原帖由 redwaves 于 2008-2-27 15:10 发表
带库问题


因为在IBM595上能正常识别驱动器和机械臂,所有说带库问题很勉强.....

而且就算带库有问题,也不应该IBMtape的驱动根本无效果吧,怎么也该生成0stcbn什么的啊

可是现在的情况是IBM的驱动装了,但是根本没被调用

唉,难道是哪里的配置还需要做,或者是这个驱动程序不支持LTO3驱动器.......
作者: 科学球    时间: 2008-02-27 16:47
试试在/etc/system中加入这行
forceload: drv/st

也许是因内存原因导致st驱动程序被系统卸载。

另外,不知道是使用的哪种备份软件?如机械手需要备份软件驱动,那么对应的驱动配置文件也应该加入/etc/system
作者: david5337    时间: 2008-02-27 17:23
SUN上识别到的设备跟IBM会有不一样的地方;比如,机械手,SUN上不是smc!
嘎嘎,找个SUN工程师帮你们做哦;不需要单独装tape drive的驱动程序的啦!
作者: ff_jxj    时间: 2008-02-27 18:11
原帖由 科学球 于 2008-2-27 16:47 发表
试试在/etc/system中加入这行
forceload: drv/st

也许是因内存原因导致st驱动程序被系统卸载。

另外,不知道是使用的哪种备份软件?如机械手需要备份软件驱动,那么对应的驱动配置文件也应该加入/etc/system


现在最郁闷的事情是IBMtape驱动程序安装后不起作用,好像系统一直就是调用st驱动的......

如果真是st被系统卸载了反而还简单了

也难说IBMtape是不是依赖st的,或者st被卸载了IBMtape也无法加载吧,我明天去试试看

谢谢你回贴

最大的郁闷是用户的机房在不通网不通车的遥远郊外,唉,做次测试就是半天
作者: ff_jxj    时间: 2008-02-27 18:13
原帖由 david5337 于 2008-2-27 17:23 发表
SUN上识别到的设备跟IBM会有不一样的地方;比如,机械手,SUN上不是smc!
嘎嘎,找个SUN工程师帮你们做哦;不需要单独装tape drive的驱动程序的啦!


如果有这条件就好了,可惜SUN的工程师说不负责配置IBM设备,IBM工程师说自己不会solaris,反正都有借口.....

还有,在solaris下装IBM的带库驱动,生成的机械臂设备文件,确实是smc......
作者: andy_lyb    时间: 2008-02-27 22:00
IBM工程师说自己不会solaris,反正都有借口.....
还有,在solaris下装IBM的带库驱动,生成的机械臂设备文件,确实是smc......


谁卖的带库谁负责呀。IBM带库要连到人家SUN服务器上,IBM当然要负责连上去,并且确认磁带库机械手和磁带机设备可以正常被服务器识别并且控制读写。
否则人家就从SUN买带库好了,干嘛要买你IBM的?
作者: sun_up    时间: 2008-02-28 00:06
ftp://ftp.software.ibm.com/storage/devdrvr/Solaris/IBMtape.README

I believe you are using Sun branded HBA. That is Sun design that all of tape drives are always configured with Sun native st driver by the Sun SAN Foundation Software. Follow the instruction to fix the issue in IBMtape.Readme:

4). Configure with Sun FC HBA
   a) Attach IBM tape devices on the host
   b) Install the appropriate version of Sun HBA driver
   c) Run # cfgadm -al to display the configuration between HBA and the tape device
      Run # cfgadm -c configure device to configure the tape device with the HBA if needed
   d) Install the IBMtape tape driver
   e) Add the following appropriate lines in /etc/driver_aliases
      IBMtape "scsiclass,01.vIBM.pXXX"
      IBMtape "scsiclass,08.vIBM.pXXX"

      where 01 is the type of tape drive and 08 is the type of medium changer,
      XXX is the product ID string in the standard inquiry data. In an example, for IBM
      LTO-2 drive with the product ID of ULT3580-TD2, XXX is ULT3580-TD2. The above entry
      needs to be add in the file.
             IBMtape "scsiclass,01.vIBM.pULT3580-TD2"

      A list of the entry for the supported IBM tape devices:
       For the tape drives:
       IBMtape "scsiclass,01.vIBM.pULT3580-TD1"
       IBMtape "scsiclass,01.vIBM.pULTRIUM-TD1"
       IBMtape "scsiclass,01.vIBM.pULT3580-TD2"
       IBMtape "scsiclass,01.vIBM.pULTRIUM-TD2"
       IBMtape "scsiclass,01.vIBM.pULT3580-TD3"
       IBMtape "scsiclass,01.vIBM.pULTRIUM-TD3"
       IBMtape "scsiclass,01.vIBM.pULT3580-HH3"
       IBMtape "scsiclass,01.vIBM.pULTRIUM-HH3"
       IBMtape "scsiclass,01.vIBM.pULT3580-TD4"
       IBMtape "scsiclass,01.vIBM.pULTRIUM-TD4"
       IBMtape "scsiclass,01.vIBM.p03590B1A"
       IBMtape "scsiclass,01.vIBM.p03590E1A"
       IBMtape "scsiclass,01.vIBM.p03590H1A"
       IBMtape "scsiclass,01.vIBM.p03590E11"
       IBMtape "scsiclass,01.vIBM.p03590H11"
       IBMtape "scsiclass,01.vIBM.p03592J1A"
       IBMtape "scsiclass,01.vIBM.p03592E05"

       For the medium changers,
       IBMtape "scsiclass,08.vIBM.p03584L32"
       IBMtape "scsiclass,08.vIBM.p03584L22"
       IBMtape "scsiclass,08.vIBM.pULT3582-TL"
       IBMtape "scsiclass,08.vIBM.pULT3583-TL"
       IBMtape "scsiclass,08.vIBM.pULT3581-TA"
       IBMtape "scsiclass,08.vIBM.pULT3581-TA2"
       IBMtape "scsiclass,08.vIBM.p03590B11"
       IBMtape "scsiclass,08.vIBM.p03590E11"
       IBMtape "scsiclass,08.vIBM.p03590H11"
       IBMtape "scsiclass,08.vIBM.p3576-MTL"
       IBMtape "scsiclass,08.vIBM.p3573-TL"
       IBMtape "scsiclass,08.vIBM.p3577-TL"

       Note:
         The entry is also added running # update_drv command on Solaris 8 (need patch 111804-03),
         Solaris 9 and later version OS. For example,
            # update_drv -av -i '"scsiclass,01.vIBM.pULT3580-TD2"' IBMtape

   f) Reboot the system running # reboot -- -r
   g) Run # /opt/IBMtape/tapelist -l to display the configured tape devices information
作者: sun_up    时间: 2008-02-28 00:11
One more thing ...

The entries added in driver_aliases file will be automatic removed by the system, once IBMtape driver is unloaded from the kernel or uninstalled from the system. Backup these entries into a file. And, copy it into driver_aliases file using # cat backup_file >> /etc/driver_aliases each time when you upgrade IBMtape driver.
作者: klin121628    时间: 2008-02-28 00:17
这个有点夸张了,不会SOLARIS你卖什么带库啊,而且带库做配置的时候也会需要选择主机平台的
作者: ff_jxj    时间: 2008-02-28 09:14
原帖由 sun_up 于 2008-2-28 00:06 发表
ftp://ftp.software.ibm.com/storage/devdrvr/Solaris/IBMtape.README

I believe you are using Sun branded HBA. That is Sun design that all of tape drives are always configured with Sun native st d ...


thanks so much
作者: mantuntun    时间: 2008-02-29 18:39
标题: 回复 #9 sun_up 的帖子
好贴,有空试试看。

Solaris Medium changer scsiclass = 8
作者: aib    时间: 2008-02-29 22:36
呵呵,我这边有个项目也是SUN主机连HP的带库。
SUN说他不懂HP的设备,HP问我Solaris有没有ioscan。。。
最终还是自己搞定...
作者: redwaves    时间: 2008-03-03 09:37
原帖由 aib 于 2008-2-29 22:36 发表
呵呵,我这边有个项目也是SUN主机连HP的带库。
SUN说他不懂HP的设备,HP问我Solaris有没有ioscan。。。
最终还是自己搞定...



HP问我Solaris有没有ioscan---------太牛了呀




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2