27
2011
12

在RHEL6 Linux上安装Stornext FS 4.2安装故障解决

RHEL6 Linux上安装Stornext FS 4.2时出现了一些安装错误,现将这些安装故障解决总结如下:

安装stornext内核缺乏软件包支持,报错如下:

[root@rhel64-a stornext]# rpm -ivh snfs-RedHat60AS-4.2.0.21780.x86_64.rpm
error: Failed dependencies:
        gcc >= 3.0 is needed by snfs-RedHat60AS-4.2.0.21780.x86_64
        kernel-devel >= 2.6.0 is needed by snfs-RedHat60AS-4.2.0.21780.x86_64
        make >= 3.80 is needed by snfs-RedHat60AS-4.2.0.21780.x86_64
[root@rhel64-a stornext]#

解决方案:yum install gcc kernel-devel make


未关闭selinux,报错如下

[root@rhel64-a stornext]# rpm -ivh snfs-RedHat60AS-4.2.0.21780.x86_64.rpm
Preparing...                ########################################### [100%]

    =======================================================
    SELinux is enabled.
    SELinux is not supported.
    Please disable SELinux in /etc/sysconfig/selinux,
    reboot, and then run this script again.
    =======================================================

error: %pre(snfs-RedHat60AS-4.2.0.21780.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping snfs-RedHat60AS-4.2.0.21780
[root@rhel64-a stornext]#

解决方案:修改/etc/sysconfig/selinux文件,将selinux设置为disabled


安装stornext内核文件报错如下:

[root@rhel64-a stornext]# rpm -ivh snfs-RedHat60AS-4.2.0.21780.x86_64.rpm
Preparing...                ########################################### [100%]
   1:snfs                   ########################################### [100%]
  CC [M]  /usr/cvfs/install/linuxif_fs.o
/bin/sh: perl: command not found
make[2]: *** [/usr/cvfs/install/linuxif_fs.o] 错误 127
make[1]: *** [_module_/usr/cvfs/install] 错误 2
make: *** [cvfs.ko] 错误 2
    =======================================================
    The SNFS kernel link failed, please check you have
    the correct package installed to compile external
    modules for your kernel. This will either be a
    kernel-source or kernel-devel/kernel-smp-devel package
    depending on your distribution.
    =======================================================
warning: %post(snfs-RedHat60AS-4.2.0.21780.x86_64) scriptlet failed, exit status 1

解决方案:缺乏perl程序包的支持,yum install perl


在服务端安装stornext客户端报错如下

[root@rhel64-b stornext]# rpm -ivh snfs-client-RedHat60AS_2632-4.2.0.21780.x86_64.rpm
Preparing...                ########################################### [100%]
FATAL: Module cvfs is in use.

    =======================================================
    The SNFS kernel modules are currently memory resident.
    Please unload the modules or stop SNFS using the
    "/etc/init.d/cvfs fullstop" command.
    =======================================================

error: %pre(snfs-client-RedHat60AS_2632-4.2.0.21780.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping snfs-client-RedHat60AS_2632-4.2.0.21780

这是因为stornext内核已经在运行,需要先停止stornext服务,再安装stornext客户端。

解决方案:

[root@rhel64-b stornext]# /etc/init.d/cvfs fullstop
Unmounting SNFS filesystems  [确定]

Stopping SNFS Daemons
Stopping SNFS PortMapper
Waiting for FSMs to finish..

SNFS Stop [确定]
Unloading SNFS module 'cvfs'.
SNFS Unload [确定]

« 上一篇下一篇 »

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。