从 HP 网站下载 Library and Tape Tools ,包含了磁带库和机械手的驱动程序。
To install the L&TT package:
1.Login as root.
2.Navigate to the temporary directory:
cd /tmp
3.Download or copy hp_ltt.tar (where is the version number) to this directory.
If you are copying the file from a different directory, enter the following command, substituting the directory in which the file currently resides for :
cp //hp_ltt.tar /tmp
4.Un-tar the L&TT tar file:
tar -xvf hp_ltt.tar
5.Run the installation script in the /tmp directory:
./install_hpltt
6.After the software is successfully installed, enter the following commands to remove the temporary files from the installation process:
cd /tmp
rm -rf install_hpltt
rm -rf HPLTT (where is the version number)
安装好驱动程序以后,重新启动操作系统。
reboot -- -r
运行 /opt/ltt/hp_ltt 工具,扫描可以连接到的磁带机设备。在识别出磁带机以后,在cfgadm中可以查看磁带机设备。
cfgadm -al
... ...
c4 fc-fabric connected configured unknown
c4::2000f4ce46ae6ccc unavailable connected unconfigured failed
c4::50014380072cd01c unknown connected unconfigured unknown
c4::50014380072fa188 unknown connected unconfigured unknown
c4::5001438016043c42 tape connected configured unknown
c4::5001438016043c48 tape connected configured unknown
c4就是磁带机,记住编号是5001438016043c42和5001438016043c48。
**测试磁带读写**
在磁带库管理界面中,将磁带入库,测试磁带的读写。磁盘名字中,第一个字符是编号,第二个是磁带密度,可以分为l(低),m(中),h(高),c(压缩的)及u(高压缩的),最后一列中n代表no-rewind,表示操作完以后,不能倒带。
tar cvf /dev/rmt/0chn /opt
tar tvf /dev/rmt/0chn
Comments
There are currently no comments
New Comment