科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网存储频道如何安装LTO磁带库驱动-Solaris

如何安装LTO磁带库驱动-Solaris

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

由于Solaris的设备可能由于光纤链路的改变而改变,SCSI设备的配置文件中又不能区分SCSI总线。所以本文的例子是在最简单(不考虑其他设备、其他设备驱动程序)的情况下适用。

2007年9月8日

关键字:

  • 评论
  • 分享微博
  • 分享邮件

产品:LTO3580、LTO3581、LTO3582、LTO3583
主机平台:Sun Microsystems SPARC and UltraSPARC platforms
操作系统:Solaris (SPARC)7, 8, or 9
其他软件版本:tapeUtil


如何安装LTO磁带库驱动-Solaris
 
    我们这里的例子假设您使用的是SCSI设备,LTO是唯一的磁带设备,您只有一块SCSI卡。
注意:
    由于Solaris的设备可能由于光纤链路的改变而改变,SCSI设备的配置文件中又不能区分SCSI总线。所以本文的例子是在最简单(不考虑其他设备、其他设备驱动程序)的情况下适用。如果实际环境中还有其他的SCSI卡、其他的磁带设备、光纤环境变化等因素存在,请参考相关文档,以免造成失误。

1) 驱动程序的获得:
在写本文的时候我们可以从以下的网值获得驱动程序:
ftp://ftp.software.ibm.com/storage/devdrvr/Solaris/

IBMtape.CURRENT.bin
http://www-1.ibm.com/servers/storage/support/lto/

1.1)LTO驱动程序包:IBMtape.CURRENT.bin -我们得到的是atdd.1.9.

0.1.bin

2) 安装前要求:
2.1)从下面的网站确定你的操作系统的补丁级别是否符合要求:
http://www.storage.ibm.com/tape/lto/compatibility.html
2.2)从下面的网站确定你的HBA卡(如果使用光纤)是否符合要求:
http://knowledge.storage.ibm.com/HBA/HBASearchTool
2.3)确定确定你的SCSI卡(如果使用光纤)是否符合要求:
高压差分(HVD):
– Sun Microsystems? Dual-channel Differential UltraSCSI Host Adapter, PCI
(P/N X6541A)
– Sun Microsystems SBus Ultra Differential Fast/Wide Intelligent SCSI-2 Host
Adapter (UDWIS/S) (P/N X1065A)
– Sun Microsystems Dual–channel Differential UltraSCSI Host Adapter, PCI
(P/N X6541A)
– Sun Microsystems SBus Ultra Differential Fast/Wide Intelligent SCSI–2 Host
Adapter (UDWIS/S) (P/N X1065A)
低压差分 (LVD) Solaris Version 8,或更高:
– Sun Microsystems PCI Adapter with two fast Ethernet Interfaces and two
SCSI Interfaces (P/N X2222A)

3) 安装:
    请计划一个可以停机的时间,停止应用备份数据。
3.1)安装驱动程序包:
    使用pkgadd命令安装软件包:
----------------------------------------------------------
% /usr/sbin/pkgadd -d /tmp/IBMtape.4.0.4.5
The following packages are available:
1 IBMtape IBM 32-bit and 64-bit SCSI Tape & Medium Changer Device
Driver 4.0.4.5 (sparc) 4.0.4.5
Select package(s) you wish to process (or 'all' to process all packages).
(default: all) [?,??,q]: 1
Select [1] and click Enter. The following messages should follow:
Processing package instance <IBMtape> from </sepp/IBMtape.4.0.4.5.bin>
IBM 32-bit and 64-bit SCSI Tape & Medium Changer Device Driver 4.0.4.5
(sparc) 4.0.4.5
IBM SCSI Tape & Medium Changer Device Driver for Sun Solaris 2.x Version
4.0.4.5
Contains Licensed Internal Code Licensed Materials - Property of IBM(C)
Copyright 1994-2000. IBM Corporation All Rights Reserved
Portions (C) 1994 Sun Microsystems
US Government Users Restricted Rights - Use, duplication, or disclosure
restricted by GSA ADP Schedule Contract with IBM
(R) IBM is a registered trademark of IBM Corporation(R) Solaris is a
registered trademark of Sun Microsystems
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <IBMtape> [y,n,?] y
Installing IBM 32-bit and 64-bit SCSI Tape & Medium Changer Device Driver
4.0.4.5 as <IBMtape>
## Installing part 1 of 1.
/opt/IBMtape/IBMtape.conf
/opt/IBMtape/tapeutil
/opt/IBMtape/tapeutil.c
/usr/include/sys/oldtape.h
/usr/include/sys/smc.h
/usr/include/sys/st.h
/usr/include/sys/svc.h
/usr/kernel/drv/IBMtape
/usr/kernel/drv/sparcv9/IBMtape
[ verifying class <none> ]
## Executing postinstall script.
## The /usr/kernel/drv/IBMtape.conf file already exists.
## It will be preserved as the current configuration file
## for the IBM SCSI Tape & Medium Changer Device Driver.
## Loading IBM SCSI Tape & Medium Changer Device Driver.
Aug 8 14:10:38 sol-e unix:
Aug 8 14:10:38 sol-e
Aug 8 14:10:38 sol-e IBM SCSI Tape & Medium Changer Device Driver
Aug 8 14:10:38 sol-e for Solaris 2.x
Aug 8 14:10:38 sol-e
Aug 8 14:10:38 sol-e Version 4.0.4.5
Aug 8 14:10:38 sol-e
Aug 8 14:10:38 sol-e (C) COPYRIGHT IBM Corporation, 1994-1998
Aug 8 14:10:38 sol-e Licensed Materials - Property of IBM
Aug 8 14:10:38 sol-e All Rights Reserved
Aug 8 14:10:38 sol-e
Aug 8 14:10:38 sol-e US Government Users Restricted Rights -
Aug 8 14:10:38 sol-e Use, duplication, or disclosure restricted
Aug 8 14:10:38 sol-e by GSA ADP Schedule Contract with IBM Corp.
Aug 8 14:10:38 sol-e
Aug 8 14:10:38 sol-e last message repeated 1 time
Aug 8 14:10:38 sol-e
Aug 8 14:10:43 sol-e unix: /kernel/drv//sparcv9/fca-pci symbol
Aug 8 14:10:43 sol-e unix: ddi_model_convert_from multiply defined
Aug 8 14:10:43 sol-e unix: NOTICE: IBMtape _probe: Found Medium
Changer ULT3583-TL , Inst 193, Tgt 2, Lun 1
Installation of <IBMtape> was successful.

----------------------------------------------------------
3.2)编辑内核模块配置文件IBMtape.conf
----------------------------------------------------------
name="IBMtape"class="scsi"
target=2 lun=0
..............
name="IBMtape"class="scsi"
target=2 lun=1
----------------------------------------------------------

3.3)重新启动:
----------------------------------------------------------
# reboot -- -r
----------------------------------------------------------

4)检验安装的结果:
----------------------------------------------------------
% ls -l /dev/rmt/*st /dev/rmt/*smc
lrwxrwxrwx 1 root other 46 Aug 26 16:36 /dev/rmt/0st ->
../../devices/pci@6,4000/scsi@3/IBMtape@b,0:st
lrwxrwxrwx 1 root other 47 Aug 26 16:36 /dev/rmt/1smc ->
../../devices/pci@6,4000/scsi@3/IBMtape@b,1:smc
----------------------------------------------------------
其中dev/rmt/0st 是驱动器;/dev/rmt/1smc 是机械臂。
 

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章