Chinaunix

标题: networker配置库找不到机械手 [打印本页]

作者: zzq1014    时间: 2010-12-10 14:39
标题: networker配置库找不到机械手
高手请进:
  solaris平台配置带库,inquire能发现设备,设备文件存在:
0cn     0lbn    0u      1c      1hn     1mbn    2       2h      2ln     2ub     3cb     3l      3mn     5st     5stn
bash-2.05# inquire
scsidev@1.7.0:IBM     03584L32        4.02|Autochanger (Jukebox)
scsidev@1.7.1:IBM     ULTRIUM-TD1     18N2|Tape, /dev/rmt/3cbn
                                           S/N: 10B004D001
                                           WWNN=600A0B80001331304230303444303031
scsidev@1.7.2:IBM     ULTRIUM-TD1     18N2|Tape, /dev/rmt/2cbn
                                           S/N: 10B004D002
                                           WWNN=600A0B80001331304230303444303032
scsidev@1.7.3:IBM     ULTRIUM-TD1     18N2|Tape, /dev/rmt/1cbn
                                           S/N: 10B004D003
                                           WWNN=600A0B80001331304230303444303033
scsidev@1.7.4:IBM     ULTRIUM-TD1     18N2|Tape, /dev/rmt/0cbn
                                           S/N: 10B004D004
                                           WWNN=600A0B80001331304230303444303034
scsidev@1.8.0:SCST_BIOlv06             102|Disk, /dev/rdsk/c3t8d0s2
scsidev@1.8.1:SCST_BIOlv07             102|Disk, /dev/rdsk/c3t8d1s2
scsidev@2.0.0:SEAGATE ST373307LSUN72G 0507|Disk, /dev/rdsk/c1t0d0s2
                                           S/N: 3HZ1D2BZ00007348KJWX
scsidev@2.2.0:HP 18.2GST318406LC      HP04|Disk, /dev/rdsk/c1t2d0s2
                                           S/N: 3FE0B86A            
                                           ATNN=SEAGATE ST318406LC      3FE0B86A
                                           IENN=0004CFFFFE5E035D
bash-2.05# ls -l /dev/rmt/*smc /dev/rmt/*st
lrwxrwxrwx   1 root     other         59 Dec 10 14:18 /dev/rmt/4smc -> ../../devices/pci@1e,600000/fibre-channel@3/IBMtape@7,0:smc
lrwxrwxrwx   1 root     other         58 Dec 10 14:18 /dev/rmt/5st -> ../../devices/pci@1e,600000/fibre-channel@3/IBMtape@7,1:st
但在networker配置带库找不到机械手.

未命名1.jpg (31.5 KB, 下载次数: 21)

未命名1.jpg

未命名1.jpg (31.5 KB, 下载次数: 20)

未命名1.jpg

作者: zzq1014    时间: 2010-12-10 15:24
给点力 啊!怎没人给力啊!
作者: deadwind    时间: 2010-12-10 21:59
1. 尝试在solaris下安装一个较新版本的networker安装包
2. 贴一下cfgadm -al
作者: wolfheader    时间: 2010-12-13 10:25
不明白啊,装过其他的备份软件?
作者: 100心    时间: 2010-12-13 14:52
从control path找找。
作者: zzq1014    时间: 2010-12-13 16:54
本人估计认为是带库的问题!
作者: Sun_Up    时间: 2010-12-17 02:02
You are installing a virtual tape library which may be made from EMC and simulated IBM 3584 tape library.

0cn     0lbn    0u      1c      1hn     1mbn    2       2h      2ln     2ub     3cb     3l      3mn  
The above IBM OEM tape drives are configured with Solaris st driver.

4smc  5st     5stn
The drive and changer are configued with IBMtape driver.

The tape library is also attached on Emulex FC HBA.

What version of Emulex HBA driver is running?
Did you modify /kernel/drv/lpfc.conf and /etc/driver_alisas for IBMtape driver?
Did you have a good setup for Solaris sgen driver in sgen.conf for the changer?

Newworker uses Solaris passthru driver sgen as the changer driver, but can run st or IBMtape driver for tape drive.

Good Luck!
作者: michael1983    时间: 2010-12-17 23:35
楼上太给力了
楼主试试呗
作者: zzq1014    时间: 2010-12-20 10:16
我的fc 是qlogic的,sgen,st都modify配置好,没什么问题
作者: 100心    时间: 2010-12-20 19:58
还是从 磁带库上找设置吧,见过那么多大部分还是那里原因。
作者: sun_up    时间: 2010-12-23 08:52
A changer (/dev/rmt/4smc) has been configured with IBMtape driver.
bash-2.05# ls -l /dev/rmt/*smc /dev/rmt/*st
lrwxrwxrwx   1 root     other         59 Dec 10 14:18 /dev/rmt/4smc -> ../../devices/pci@1e,600000/fibre-channel@3/IBMtape@7,0:smc

Run "/opt/IBMtape/tapelist -l" to check if the above tape library you are looking for, same as this one.
scsidev@1.7.0:IBM     03584L32        4.02|Autochanger (Jukebox)

If so, a control path is setup at the library but sgen doesn't detect and configure it.
作者: zzq1014    时间: 2010-12-23 10:30
本帖最后由 zzq1014 于 2010-12-23 10:39 编辑

回复 11# sun_up


    bash-2.05# /opt/IBMtape/tapelist  -l
Inst#  Special File     Device      Serial No      TGT/LUN Ucode   World Wide NN    World Wide PN    Device Physical Path                         Path Type
----- --------------- ------------ ---------------- ------- ------ ---------------- ---------------- -------------------------------------------- ----------
82    /dev/rmt/10smc  03584L32           10B004M001   9/0   4.02   600A0B8000133130      N/A          /devices/pci@1e,600000/fibre-channel@3/IBMtape@9,0  N/A   
83    /dev/rmt/11st   ULTRIUM-TD1        10B004D001   9/1   18N2   600A0B8000133130      N/A          /devices/pci@1e,600000/fibre-channel@3/IBMtape@9,1  N/A   
bash-2.05#




sgen is already configured !
作者: kerlion    时间: 2010-12-23 13:04
提示: 作者被禁止或删除 内容自动屏蔽
作者: zzq1014    时间: 2010-12-23 13:06
设备文件是有的!
作者: kerlion    时间: 2010-12-23 13:28
提示: 作者被禁止或删除 内容自动屏蔽
作者: zzq1014    时间: 2010-12-23 15:25
bash-2.05# add_drv sgen
Driver (sgen) is already installed.
bash-2.05# modinfo |grep sgen
bash-2.05#

sgen为什么看不见?
作者: 100心    时间: 2010-12-24 10:16
# update 一下。
作者: zzq1014    时间: 2010-12-24 17:20
我现在晕了!

bash-2.05# rem_drv sgen
bash-2.05# add_drv sgen
devfsadm: driver failed to attach: sgen
Warning: Driver (sgen) successfully added to system but failed to attachbash-2.05#

update_drv sgen
devfsadm: driver failed to attach: sgen
Warning: Driver (sgen) successfully added to system but failed to attach
作者: sun_up    时间: 2010-12-25 05:42
bash-2.05# add_drv sgen
devfsadm: driver failed to attach: sgen
Warning: Driver (sgen) successfully added to system but failed to attachbash-2.05#

>> The above message shows that the sgen driver is loaded into kernel but can't find any device to attach.

bash-2.05# add_drv sgen
Driver (sgen) is already installed.
bash-2.05# modinfo |grep sgen
bash-2.05#

sgen为什么看不见?
>> If no device works with the driver, Solaris kernel will unload the driver from the kernel to save the kernel memory automatically. That is why you cann't find sgen in modinfo.

I suggest you read Networker document to check if any entry must be added for the device in /kernel/drv/sgen.conf. On Solaris, most of drivers use the conf file to tell the system what device (target and lun ID) the driver wants to configure, and the system presents the requested device to the driver to attach. Also contact with EMC whether you uninstall IBMtape driver from the system.
作者: 100心    时间: 2010-12-25 20:07
我现在晕了!

bash-2.05# rem_drv sgen
bash-2.05# add_drv sgen
devfsadm: driver failed to attach: ...
zzq1014 发表于 2010-12-24 17:20



    是的,奇怪了。




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