BC-NFS安装依赖

[root@BC-NFS01 glusterFS_installer]# sh install_local.sh
18-09-19 22:43:28 [install_local.sh] INFO : Installing platform...
18-09-19 22:43:30 [install_local.sh] INFO : Install platform pkgs successfully!
18-09-19 22:43:30 [install_local.sh] INFO : Installing sg3...
18-09-19 22:43:31 [install_local.sh] INFO : Install sg3 pkgs successfully!
18-09-19 22:43:31 [install_local.sh] WARN : Command [fuser] not existed, please install by yourself before reinstall!
18-09-19 22:43:31 [install_local.sh] WARN : Command [ifconfig] not existed, please install by yourself before reinstall!
18-09-19 22:43:31 [install_local.sh] WARN : Command [lspci] not existed, please install by yourself before reinstall!
18-09-19 22:43:31 [install_local.sh] WARN : Command [route] not existed, please install by yourself before reinstall!
18-09-19 22:43:31 [install_local.sh] WARN : Command [lsof] not existed, please install by yourself before reinstall!
18-09-19 22:43:31 [install_local.sh] WARN : Command [sgpio] not existed, please install by yourself before reinstall!

[root@BC-NFS01 glusterFS_installer]# cd /etc/yum.repos.d/
[root@BC-NFS01 yum.repos.d]# mv bak/* .
[root@BC-NFS01 yum.repos.d]# yum clean all
[root@BC-NFS01 yum.repos.d]# yum makecache

[root@BC-NFS01 yum.repos.d]# yum -y install net-tools
[root@BC-NFS01 yum.repos.d]# yum whatprovides fuser
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirrors.cn99.com
  • extras: mirrors.cn99.com
  • updates: mirrors.cn99.com
    psmisc-22.20-15.el7.x86_64 : Utilities for managing processes on your system
    Repo : base
    Matched from:
    Filename : /usr/sbin/fuser

[root@BC-NFS01 yum.repos.d]# yum -y install psmisc-22.20-15.el7.x86_64

[root@BC-NFS01 yum.repos.d]# yum whatprovides lspci
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirrors.cn99.com
  • extras: mirrors.cn99.com
  • updates: mirrors.cn99.com
    pciutils-3.5.1-3.el7.x86_64 : PCI bus related utilities
    Repo : base
    Matched from:
    Filename : /usr/sbin/lspci

[root@BC-NFS01 yum.repos.d]# yum -y install pciutils-3.5.1-3.el7.x86_64

[root@BC-NFS01 yum.repos.d]# yum whatprovides lsof
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirrors.cn99.com
  • extras: mirrors.cn99.com
  • updates: mirrors.cn99.com
    lsof-4.87-5.el7.x86_64 : A utility which lists open files on a Linux/UNIX system
    Repo : base

[root@BC-NFS01 yum.repos.d]# yum -y install lsof-4.87-5.el7.x86_64

[root@BC-NFS01 yum.repos.d]# yum whatprovides sgpio
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirrors.cn99.com
  • extras: mirrors.cn99.com
  • updates: mirrors.cn99.com
    sgpio-1.2.0.10-13.el7.x86_64 : SGPIO captive backplane tool
    Repo : base

[root@BC-NFS01 yum.repos.d]# yum -y install sgpio-1.2.0.10-13.el7.x86_64

[root@BC-NFS01 yum.repos.d]# mv C* bak/
[root@BC-NFS01 yum.repos.d]# yum clean all
[root@BC-NFS01 yum.repos.d]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
repolist: 0

---> Package python-gluster.noarch 0:3.8.4-54.15.el7.bclinux will be installed
--> Processing Dependency: /usr/lib/ocf/resource.d for package: glusterfs-resource-agents-3.8.4-54.15.el7.bclinux.noarch
--> Finished Dependency Resolution
Error: Package: glusterfs-server-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-server-3.8.4-54.15.el7.bclinux.x86_64)
Requires: nfs-utils
Error: Package: glusterfs-fuse-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-fuse-3.8.4-54.15.el7.bclinux.x86_64)
Requires: attr
Error: Package: glusterfs-rdma-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-rdma-3.8.4-54.15.el7.bclinux.x86_64)
Requires: libibverbs.so.1()(64bit)
Error: Package: glusterfs-server-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-server-3.8.4-54.15.el7.bclinux.x86_64)
Requires: rpcbind
Error: Package: glusterfs-devel-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-devel-3.8.4-54.15.el7.bclinux.x86_64)
Requires: pkgconfig(sqlite3)
Error: Package: glusterfs-server-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-server-3.8.4-54.15.el7.bclinux.x86_64)
Requires: liburcu-cds.so.1()(64bit)
Error: Package: glusterfs-devel-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-devel-3.8.4-54.15.el7.bclinux.x86_64)
Requires: pkgconfig(uuid)
Error: Package: glusterfs-events-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-events-3.8.4-54.15.el7.bclinux.x86_64)
Requires: python-requests
Error: Package: glusterfs-resource-agents-3.8.4-54.15.el7.bclinux.noarch (/glusterfs-resource-agents-3.8.4-54.15.el7.bclinux.noarch)
Requires: /usr/lib/ocf/resource.d
Error: Package: glusterfs-rdma-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-rdma-3.8.4-54.15.el7.bclinux.x86_64)
Requires: libibverbs.so.1(IBVERBS_1.1)(64bit)
Error: Package: glusterfs-rdma-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-rdma-3.8.4-54.15.el7.bclinux.x86_64)
Requires: librdmacm.so.1()(64bit)
Error: Package: glusterfs-rdma-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-rdma-3.8.4-54.15.el7.bclinux.x86_64)
Requires: libibverbs.so.1(IBVERBS_1.0)(64bit)
Error: Package: glusterfs-api-devel-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-api-devel-3.8.4-54.15.el7.bclinux.x86_64)
Requires: pkgconfig(uuid)
Error: Package: glusterfs-rdma-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-rdma-3.8.4-54.15.el7.bclinux.x86_64)
Requires: librdmacm.so.1(RDMACM_1.0)(64bit)
Error: Package: glusterfs-api-devel-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-api-devel-3.8.4-54.15.el7.bclinux.x86_64)
Requires: libacl-devel
Error: Package: glusterfs-server-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-server-3.8.4-54.15.el7.bclinux.x86_64)
Requires: liburcu-bp.so.1()(64bit)
Error: Package: glusterfs-geo-replication-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-geo-replication-3.8.4-54.15.el7.bclinux.x86_64)
Requires: rsync
Error: Package: glusterfs-events-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-events-3.8.4-54.15.el7.bclinux.x86_64)
Requires: python-prettytable
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

[root@BC-NFS01 yum.repos.d]# yum -y install epel-release
[root@BC-NFS01 yum.repos.d]# yum -y install libibverbs.x86_64 nfs-utils attr
[root@BC-NFS01 yum.repos.d]# yum whatprovides liburcu-*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirrors.cn99.com
  • epel: mirrors.aliyun.com
  • extras: mirrors.cn99.com
  • updates: mirrors.cn99.com
    userspace-rcu-0.7.16-1.el7.x86_64 : RCU (read-copy-update) implementation in user space
    Repo : epel
    Matched from:
    Provides : liburcu-bp.so.1()(64bit)
    Provides : liburcu-mb.so.1()(64bit)
    Provides : liburcu-signal.so.1()(64bit)
    Provides : liburcu-common.so.1()(64bit)
    Provides : liburcu-qsbr.so.1()(64bit)
    Provides : liburcu-cds.so.1()(64bit)

[root@BC-NFS01 yum.repos.d]# yum -y install userspace-rcu-0.7.16-1.el7.x86_64

[root@BC-NFS01 yum.repos.d]# yum whatprovides python-requests
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirrors.cn99.com
  • epel: mirrors.aliyun.com
  • extras: mirrors.cn99.com
  • updates: mirrors.163.com
    python-requests-2.6.0-1.el7_1.noarch : HTTP library, written in Python, for human beings
    Repo : base

[root@BC-NFS01 yum.repos.d]# yum -y install python-requests-2.6.0-1.el7_1.noarch
[root@BC-NFS01 yum.repos.d]# yum -y install pacemaker-cli-1.1.18-11.el7.x86_64
[root@BC-NFS01 yum.repos.d]# yum -y install libibverbs-15-7.el7_5.x86_64
[root@BC-NFS01 yum.repos.d]# yum -y install librdmacm-15-7.el7_5.x86_64
[root@BC-NFS01 yum.repos.d]# yum -y install libacl-devel-2.2.51-14.el7.x86_64
[root@BC-NFS01 yum.repos.d]# yum -y install userspace-rcu-0.7.16-1.el7.x86_64
[root@BC-NFS01 yum.repos.d]# yum -y install rsync
[root@BC-NFS01 yum.repos.d]# yum -y install python-prettytable-0.7.2-3.el7.noarch

[root@BC-NFS01 glusterFS_installer]# sh install_local.sh
...
Error: Package: glusterfs-devel-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-devel-3.8.4-54.15.el7.bclinux.x86_64)
Requires: pkgconfig(sqlite3)
Error: Package: glusterfs-devel-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-devel-3.8.4-54.15.el7.bclinux.x86_64)
Requires: pkgconfig(uuid)
Error: Package: glusterfs-api-devel-3.8.4-54.15.el7.bclinux.x86_64 (/glusterfs-api-devel-3.8.4-54.15.el7.bclinux.x86_64)
Requires: pkgconfig(uuid)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

[root@BC-NFS01 yum.repos.d]# yum -y install sqlite-devel-3.7.17-8.el7.x86_64 libuuid-devel-2.23.2-52.el7.x86_64

[root@BC-NFS01 glusterFS_installer]# sh install_local.sh
......
18-09-19 23:40:10 [install_local.sh] ERROR : Install CTDB failed! Error message: Loaded plugins: fastestmirror
--> Finished Dependency Resolution
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtdb.so.1(TDB_1.2.2)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libreplace-samba4.so()(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtevent.so.0(TEVENT_0.9.9)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: tdb-tools
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtdb-wrap-samba4.so()(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtevent-unix-util.so.0(TEVENT_UNIX_UTIL_0.0.1)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtime-basic-samba4.so()(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtdb-wrap-samba4.so(SAMBA_4.4.4)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtdb.so.1(TDB_1.2.5)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libsamba-util.so.0()(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtdb.so.1(TDB_1.2.10)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtalloc-report-samba4.so()(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libsamba-util.so.0(SAMBA_UTIL_0.0.1)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libsamba-debug-samba4.so()(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libsamba-debug-samba4.so(SAMBA_4.4.4)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libsocket-blocking-samba4.so(SAMBA_4.4.4)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: samba-client-libs = 4.4.4-14.el7_3
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtevent.so.0()(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtime-basic-samba4.so(SAMBA_4.4.4)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libreplace-samba4.so(SAMBA_4.4.4)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtalloc.so.2(TALLOC_2.0.2)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtevent-unix-util.so.0()(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libsocket-blocking-samba4.so()(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtdb.so.1(TDB_1.2.1)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtalloc-report-samba4.so(SAMBA_4.4.4)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtdb.so.1()(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtalloc.so.2()(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtdb.so.1(TDB_1.3.0)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtevent.so.0(TEVENT_0.9.16)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtevent.so.0(TEVENT_0.9.14)(64bit)

[root@BC-NFS01 yum.repos.d]# yum -y install libtdb-1.3.15-1.el7.x86_64
[root@BC-NFS01 yum.repos.d]# yum -y install samba-client-libs-4.7.1-9.el7_5.x86_64
[root@BC-NFS01 yum.repos.d]# yum -y install libtevent-0.9.33-2.el7.x86_64
[root@BC-NFS01 yum.repos.d]# yum -y install tdb-tools-1.3.15-1.el7.x86_64
[root@BC-NFS01 yum.repos.d]# yum -y install samba-client-libs-4.7.1-9.el7_5.x86_64
[root@BC-NFS01 yum.repos.d]# yum -y install libtevent-0.9.33-2.el7.x86_64

[root@BC-NFS01 glusterFS_installer]# sh install_local.sh
...
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtime-basic-samba4.so(SAMBA_4.4.4)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libreplace-samba4.so(SAMBA_4.4.4)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtdb-wrap-samba4.so(SAMBA_4.4.4)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtevent-unix-util.so.0(TEVENT_UNIX_UTIL_0.0.1)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtevent-unix-util.so.0()(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libsamba-debug-samba4.so(SAMBA_4.4.4)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: samba-client-libs = 4.4.4-14.el7_3
Installed: samba-client-libs-4.7.1-9.el7_5.x86_64 (@updates)
samba-client-libs = 4.7.1-9.el7_5
Available: samba-client-libs-4.7.1-6.el7.i686 (base)
samba-client-libs = 4.7.1-6.el7
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libsocket-blocking-samba4.so(SAMBA_4.4.4)(64bit)
Error: Package: ctdb-4.4.4-14.el7_3.x86_64 (/ctdb-4.4.4-14.el7_3.x86_64)
Requires: libtalloc-report-samba4.so(SAMBA_4.4.4)(64bit)

检查了一下,好像是我安装的samba-client-libs版本高了
Installed Packages
samba-client-libs.x86_64 4.7.1-9.el7_5 @updates
Requires: samba-client-libs = 4.4.4-14.el7_3

rhel7.2##################33

[root@BC-NFS1 glusterFS_installer]# sh install_local.sh
18-09-21 17:10:19 [install_local.sh] INFO : Installing platform...
18-09-21 17:10:22 [install_local.sh] INFO : Install platform pkgs successfully!
18-09-21 17:10:22 [install_local.sh] INFO : Installing sg3...
18-09-21 17:10:23 [install_local.sh] INFO : Install sg3 pkgs successfully!
18-09-21 17:10:23 [install_local.sh] INFO : Rpm MegaCli is already installed!
18-09-21 17:10:23 [install_local.sh] INFO : Rpm nss-softokn-freebl-3 is already installed!
18-09-21 17:10:24 [install_local.sh] INFO : Rpm autogen-libopts-5 is already installed!
18-09-21 17:10:24 [install_local.sh] INFO : Rpm mailx-12 is already installed!
18-09-21 17:10:24 [install_local.sh] INFO : Rpm ntpdate-4 is already installed!
18-09-21 17:10:25 [install_local.sh] INFO : Rpm ntp-4 is already installed!
18-09-21 17:10:25 [install_local.sh] INFO : curl rpms are already updated!
18-09-21 17:10:25 [install_local.sh] INFO : Installing glusterFS...
18-09-21 17:10:48 [install_local.sh] INFO : Install glusterFS pkgs successfully!
18-09-21 17:10:48 [install_local.sh] INFO : Installing FTP...
18-09-21 17:10:48 [install_local.sh] INFO : Install FTP successfully!
18-09-21 17:10:48 [install_local.sh] INFO : Installing CTDB...
18-09-21 17:10:48 [install_local.sh] INFO : Install CTDB successfully!
18-09-21 17:10:48 [install_local.sh] INFO : Installing ad realm...
18-09-21 17:10:48 [install_local.sh] INFO : Install samba pkgs successfully!
18-09-21 17:10:48 [install_local.sh] INFO : Install krb5 pkgs successfully!
18-09-21 17:10:49 [install_local.sh] INFO : Install samba-winbind pkgs successfully!
18-09-21 17:10:49 [install_local.sh] INFO : Install nss-pam pkgs successfully!
18-09-21 17:10:49 [install_local.sh] INFO : Installing sdsom...
18-09-21 17:12:10 [install_local.sh] INFO : Install sdsom pkgs successfully!
18-09-21 17:12:10 [install_local.sh] INFO : Config version info successfully!
18-09-21 17:12:11 [install_local.sh] INFO : OS tuning successfully!
18-09-21 17:12:11 [install_local.sh] INFO : OS permission successfully!
18-09-21 17:12:11 [install_local.sh] INFO : Get udevadm version successfully!
18-09-21 17:12:11 [install_local.sh] INFO : Configure udev 60-persistent-storage.rules successfully!
18-09-21 17:12:11 [install_local.sh] INFO : Chkconfig crond off successfully!
18-09-21 17:12:11 [install_local.sh] INFO : Chkconfig sdsom-rcm off successfully!
18-09-21 17:12:11 [install_local.sh] INFO : Chkconfig salt-minion off successfully!
18-09-21 17:12:11 [install_local.sh] INFO : systemctl disable sdsom-keepalived.service successfully!
18-09-21 17:12:11 [install_local.sh] INFO : Chkconfig sdsom-httpd on successfully!
18-09-21 17:12:11 [install_local.sh] INFO : Chkconfig sdsom-agent on successfully!
18-09-21 17:12:11 [install_local.sh] INFO : Chkconfig glusterd on successfully!
18-09-21 17:12:11 [install_local.sh] INFO : Chkconfig sdsom-redis on successfully!
18-09-21 17:12:11 [install_local.sh] INFO : Chkconfig sdsom-daphne on successfully!
18-09-21 17:12:11 [install_local.sh] INFO : Chkconfig sdsom-runworker on successfully!
18-09-21 17:12:11 [install_local.sh] INFO : ====================================================================
18-09-21 17:12:11 [install_local.sh] INFO : == Install sucessfully, please [reboot] OS to enable the changed! ==
18-09-21 17:12:11 [install_local.sh] INFO : ====================================================================

manager用户是个管理员,没有操作资源的权限,需要创建一个操作员(ljy1)才能在管理平台创建卷

底层创建了一个卷,没有ljy1之前,当是df没结果
[root@BC-NFS1 disk]# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/centos-root xfs 18G 2.0G 16G 12% /
devtmpfs devtmpfs 910M 0 910M 0% /dev
tmpfs tmpfs 920M 0 920M 0% /dev/shm
tmpfs tmpfs 920M 8.5M 912M 1% /run
tmpfs tmpfs 920M 0 920M 0% /sys/fs/cgroup
/dev/vda1 xfs 497M 125M 373M 26% /boot
node0001:/ctdb fuse.glusterfs 18G 2.0G 16G 12% /var/lib/sdsom/var/run/ctdb
node0001:/samba fuse.glusterfs 18G 2.0G 16G 12% /var/lib/sdsom/var/run/samba
node0001:/sdsom_sql fuse.glusterfs 18G 2.0G 16G 12% /var/lib/sdsom/var/lib/sdsom
/dev/bcache0 xfs 50G 33M 50G 1% /gluster/brick-0
/dev/bcache16 xfs 50G 33M 50G 1% /gluster/brick-1
tmpfs tmpfs 184M 0 184M 0% /run/user/0

创建了ljy1之后,使用ljy1登陆创建卷,df能出结果
[root@BC-NFS1 disk]# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/centos-root xfs 18G 2.0G 16G 12% /
devtmpfs devtmpfs 910M 0 910M 0% /dev
tmpfs tmpfs 920M 0 920M 0% /dev/shm
tmpfs tmpfs 920M 8.5M 912M 1% /run
tmpfs tmpfs 920M 0 920M 0% /sys/fs/cgroup
/dev/vda1 xfs 497M 125M 373M 26% /boot
node0001:/ctdb fuse.glusterfs 18G 2.0G 16G 12% /var/lib/sdsom/var/run/ctdb
node0001:/samba fuse.glusterfs 18G 2.0G 16G 12% /var/lib/sdsom/var/run/samba
node0001:/sdsom_sql fuse.glusterfs 18G 2.0G 16G 12% /var/lib/sdsom/var/lib/sdsom
/dev/bcache0 xfs 50G 33M 50G 1% /gluster/brick-0
/dev/bcache16 xfs 50G 33M 50G 1% /gluster/brick-1
tmpfs tmpfs 184M 0 184M 0% /run/user/0
node0001:/ljy1volrep fuse.glusterfs 50G 33M 50G 1% /mnt/gluster/ljy1volrep

转载于:https://www.cnblogs.com/liangjiongyao/p/10318106.html

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值