- 论坛徽章:
- 0
|
回复 #2 阿拉丁神灯 的帖子
一、我在/var/adm/messages下找到了几行:
Oct 15 11:14:23 Host scsi: [ID 365881 kern.info] /pci@1f,700000/pci@0/pci@2/pci@0/pci@8/SUNW,qlc@1/fp@0,0/st@w500308c09bf07005,0 (st0):
Oct 15 11:14:23 Host <IBM Ultrium Gen 3 LTO>
Oct 15 11:14:23 Host scsi: [ID 799468 kern.info] st0 at fp2: name w500308c09bf07005,0, bus address 73
Oct 15 11:14:23 Host genunix: [ID 936769 kern.info] st0 is /pci@1f,700000/pci@0/pci@2/pci@0/pci@8/SUNW,qlc@1/fp@0,0/st@w500308c09bf07005,0
Oct 15 11:14:23 Host scsi: [ID 365881 kern.info] /pci@1f,700000/pci@0/pci@2/pci@0/pci@8/SUNW,qlc@2/fp@0,0/st@w500308c09bf07001,0 (st1):
Oct 15 11:14:23 Host <IBM Ultrium Gen 3 LTO>
Oct 15 11:14:23 Host scsi: [ID 799468 kern.info] st1 at fp0: name w500308c09bf07001,0, bus address 75
Oct 15 11:14:23 Host genunix: [ID 936769 kern.info] st1 is /pci@1f,700000/pci@0/pci@2/pci@0/pci@8/SUNW,qlc@2/fp@0,0/st@w500308c09bf07001,0
这里只有驱动器的描述,target应该是0和1,默认的;
二、 我开了st.conf 里的设置,增加 lun1 如下
name="st" class="scsi" target=0 lun=0;
name="st" class="scsi" target=1 lun=0;
name="st" class="scsi" target=0 lun=1;
name="st" class="scsi" target=1 lun=1;
三、我还开了sg.conf 里的
name="sgen" class="scsi" target=0 lun=0;
name="sgen" class="scsi" target=1 lun=0;
name="sgen" class="scsi" target=0 lun=1;
name="sgen" class="scsi" target=1 lun=1;
这样就ok了,磁带库的东西都认到了,我发现加载的机械手的驱动是sgen的。
但是还是留下了一个问题,我还不确定,机械手、以及驱动器究竟是要开的lun号分别对应的是哪个?
目前只有一个模糊的认识;没办法去明确了,因为备份软件不是我装,只有留待下次的机会去明确这个问题的答案了。
谢谢各位的支持!
附件:
root@Host # cd changer
root@Host # ls -al
总数 6
drwxr-xr-x 2 root root 512 10月 14日 18:06 .
drwxr-xr-x 3 root root 512 10月 14日 18:06 ..
lrwxrwxrwx 1 root root 105 10月 14日 18:06 c4t500308C09BF07005d1 -> ../../../devices/pci@1f,700000/pci@0/pci@2/pci@0/pci@8/SUNW,qlc@1/fp@0,0/sgen@w500308c09bf07005,1:changer
[ 本帖最后由 wiron 于 2008-10-15 20:55 编辑 ] |
|