免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6327 | 回复: 8
打印 上一主题 下一主题

[VTL与磁带系统] vistor 的再总结 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-07-06 17:10 |只看该作者 |倒序浏览
本帖最后由 johnson2002 于 2010-07-06 17:24 编辑

1) 重新建库的话,得killall httpd, 删掉所有的/usr/cofio目录文件.
  重新执行 vs-install , 再把之前注册的key重新注册一下 vs-license -s *****.
  重新执行 vs-install 最好选择1 个drive, size选为1G, 否则会出现96错误.
2) as4不能安装,必须as5.
3) 'Failed to load VTL driver module 'vs_drv' 问题,有人说是 因为包没装全的原因, 我自己的实验是:装了所有的开发包的话在执行vs-install的时候也提示. 我试过在 as5 u4 x86-64, as5 GA x86-64 全报这个错误(我已经装全开发的包了) ,后来在as5 u4 x86, as5 GA x86 都成功了,感觉 64位上不能安装. 编译老出错,但网站上只说需要 2.6的内核,没说64位的不支持.
我的测试就是只能在32 位的linux上安装,才不会有'Failed to load VTL driver module 'vs_drv' 问题. 感觉其他的同学测试也是多用32位。

大家可以检查该文件来check 编译是否成功
vi /usr/cofio/vistor/log/MakeScript.log

make: Entering directory `/usr/src/kernels/2.6.18-8.el5-x86_64'
  CC [M]  /usr/cofio/vistor/src/vskernel.o
In file included from /usr/cofio/vistor/src/vskernel.c:6:
include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
/usr/cofio/vistor/src/vskernel.c:499: error: conflicting types for 鈥楰MemAllocate鈥?
                                                                                      /usr/cofio/vistor/src/vskernel.h:238: error: previous declaration of 鈥楰MemAllocate鈥?was here
/usr/cofio/vistor/src/vskernel.c:504: error: conflicting types for 鈥楰MallocAtomic鈥?
                                                                                       /usr/cofio/vistor/src/vskernel.h:240: error: previous declaration of 鈥楰MallocAtomic鈥?was here
/usr/cofio/vistor/src/vskernel.c:509: error: conflicting types for 鈥楰Malloc鈥?
                                                                                 /usr/cofio/vistor/src/vskernel.h:239: error: previous declaration of 鈥楰Malloc鈥?was here
/usr/cofio/vistor/src/vskernel.c:522: error: conflicting types for 鈥楳emCpy鈥?
                                                                                /usr/cofio/vistor/src/vskernel.h:248: error: previous declaration of 鈥楳emCpy鈥?was here
/usr/cofio/vistor/src/vskernel.c:527: error: conflicting types for 鈥楳emSet鈥?
                                                                                /usr/cofio/vistor/src/vskernel.h:249: error: previous declaration of 鈥楳emSet鈥?was here
/usr/cofio/vistor/src/vskernel.c:532: error: conflicting types for 鈥楳emCmp鈥?
                                                                                /usr/cofio/vistor/src/vskernel.h:250: error: previous declaration of 鈥楳emCmp鈥?was here
/usr/cofio/vistor/src/vskernel.c: In function 鈥榁Sprintf鈥?
/usr/cofio/vistor/src/vskernel.c:1063: error: cast specifies array type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楻egisterCharDev鈥?
/usr/cofio/vistor/src/vskernel.c:1144: warning: value computed is not used
/usr/cofio/vistor/src/vskernel.c: In function 鈥楩ileOpSetOpen鈥?
/usr/cofio/vistor/src/vskernel.c:1231: warning: assignment from incompatible pointer type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楩ileOpSetRelease鈥?
/usr/cofio/vistor/src/vskernel.c:1240: warning: assignment from incompatible pointer type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楩ileOpSetIoctl鈥?
/usr/cofio/vistor/src/vskernel.c:1249: warning: assignment from incompatible pointer type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楽cDeviceGetVendor鈥?
/usr/cofio/vistor/src/vskernel.c:2079: warning: return discards qualifiers from pointer target type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楽cDeviceGetModel鈥?
/usr/cofio/vistor/src/vskernel.c:2084: warning: return discards qualifiers from pointer target type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楽cDeviceGetRevision鈥?
/usr/cofio/vistor/src/vskernel.c:2089: warning: return discards qualifiers from pointer target type
/usr/cofio/vistor/src/vskernel.c: In function 鈥楽csiAddDevice鈥?
/usr/cofio/vistor/src/vskernel.c:2216: warning: initialization makes pointer from integer without a cast
/usr/cofio/vistor/src/vskernel.c:2215: warning: unused variable 鈥榖Success鈥?
                                                                               make[1]: *** [/usr/cofio/vistor/src/vskernel.o] Error 1pt.log" 38L, 2986C
make: *** [_module_/usr/cofio/vistor/src] Error 2
make: Leaving directory `/usr/src/kernels/2.6.18-8.el5-x86_64'




4) web界面上的add library 好像不能添加完全的信息(主要是size ),导致在那添加的lib 不可用, .
Library Name:  
Robotic Arm:
Tape Drive:  
Number of driver:
No of slots:  


5) 我现在遇到的问题, 可以backup, 但restore失败.
提示: no data in archive.
       status of restore from image created *********= media manager detected image that was not in tar format.

the restore failed to recover the requested files
请牛人指正!!


-----------------------------------------付别人的总结:---------------------------------------------


有几点注意事项:
1.请保证RHEL为5.0版本,内核为2.6.18-8.el5,尝试过使用RHEL 5.1和5.2,有不同的错误提示。
2.安装RHEL时,请选择开发工具,禁用防火墙,禁用SELinux。
3.使用激活码时,如果已经过期,可以尝试更改系统日期。
4.使用iscsi initator识别到带库之后,点击取消,不必安装驱动。
5.使用symantec的驱动程序安装包,选择为所有磁带库设备使用symantec驱动,并一定勾选即插即用(一开始没有勾选,使得每次重启之后,
无法在iscsi服务启动并找到带库之前加载驱动,会失败)。在安装完驱动之后,会提示重新启动,不需要重启,可以立即使用nbu存储设备配置界
面来识别到机械臂和驱动器,在识别过程中,机械臂和驱动器没有关联,可以通过拖放,将驱动器拖放到机械臂下。



Vistor vs_drv.ko加载的问题解决方法
#./vistor start
ERROR: module file /usr/cofio/vistor/vs_drv.ko cannot be found
ERROR: Failed to start VTL - 'Failed to load VTL driver module 'vs_drv''. Please check that your platform is supported and contact Cofio Customer support

如上错误是由于一些package没有安装导致,在多次试验后总结解决方法如下
此环境是RHEL 5 u2
# uname -a
Linux cofio 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 athlon i386 GNU/Linux

You must install the following packages:
# rpm -ivh [package]   # package指的是如下rpm package
kernel-2.6.18-92.el5.i686.rpm
libgomp-4.1.2-42.el5.i386.rpm
kernel-headers-2.6.18-92.el5.i386.rpm
glibc-headers-2.5-24.i386.rpm
glibc-devel-2.5-24.i386.rpm
gcc-4.1.2-42.el5.i386.rpm
kernel-devel-2.6.18-92.el5.i686.rpm

# tar -zxvf vistor_2_1_1.tgz
vs-dist
vs-install

# ./vs-install
。。。。
即可成功完成vistor的正确安装

论坛徽章:
0
2 [报告]
发表于 2010-07-06 17:53 |只看该作者
呵呵
很详细
这个东西对linux操作版本要求是很严格,最好是as5.0  32bit的版本!

论坛徽章:
0
3 [报告]
发表于 2010-07-06 18:41 |只看该作者
回复 2# xzc999


    是的, 官方 website上没提这个,我也是失败多次后总结出来的。

论坛徽章:
0
4 [报告]
发表于 2010-07-07 11:11 |只看该作者
多谢,对喜欢玩VTL的很有帮助

论坛徽章:
10
处女座
日期:2015-01-22 16:08:50技术图书徽章
日期:2018-09-13 11:25:52技术图书徽章
日期:2018-09-13 11:25:45技术图书徽章
日期:2018-09-13 11:25:37技术图书徽章
日期:2018-09-13 11:25:29黑曼巴
日期:2018-06-04 09:03:192017金鸡报晓
日期:2017-01-10 15:19:56极客徽章
日期:2016-12-07 14:03:402015年迎新春徽章
日期:2015-03-04 09:50:28技术图书徽章
日期:2018-09-13 11:26:01
5 [报告]
发表于 2010-07-07 12:04 |只看该作者
谢谢兄台了

论坛徽章:
0
6 [报告]
发表于 2010-07-13 17:27 |只看该作者
谢谢lz的共享,顶

论坛徽章:
0
7 [报告]
发表于 2010-07-26 16:07 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
8 [报告]
发表于 2013-01-09 16:28 |只看该作者
楼主能否传一份vistor的软件包或image镜像,在baidu,google找了很久了,官方下不到了貌似不再研发这个产品了,我的邮箱fishcool19810729@gmail.com

论坛徽章:
0
9 [报告]
发表于 2013-01-10 18:20 |只看该作者
同求vistor的软件包或image镜像,victor.yu16@gmail.com
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP