mirror of
https://github.com/gluster/gluster-block.git
synced 2026-02-05 12:45:33 +01:00
- add glusterfs-server to the install list - add MAINTAINER FILE details to the ReadME - add community contact details to README - defend multipath.conf based on tcmu-runner version - add initiator side commands for resize block Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com> Reviewed-by: Amar Tumballi <amarts@redhat.com> Reviewed-by: Xiubo Li <xiubli@redhat.com>
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
Installation Instructions:
|
|
-------------------------
|
|
|
|
|
|
Install from Source:
|
|
-------------------
|
|
|
|
# git clone https://github.com/gluster/gluster-block.git
|
|
# cd gluster-block/
|
|
# dnf install gcc autoconf automake make file libtool libuuid-devel json-c-devel \
|
|
glusterfs-api-devel glusterfs-server targetcli tcmu-runner
|
|
|
|
On Fedora27 and Centos7 [Which use legacy glibc RPC], pass '--enable-tirpc=no'
|
|
# ./autogen.sh && ./configure --enable-tirpc=no && make -j install
|
|
|
|
On Fedora28 and higher [Which use TIRPC], in addition to above, we should also install
|
|
# dnf install rpcgen libtirpc-devel
|
|
|
|
And pass '--enable-tirpc=yes'(default) flag or nothing at configure time
|
|
# ./autogen.sh && ./configure && make -j install
|
|
|
|
Installation completed :-)
|
|
|
|
Check,
|
|
# gluster-block version
|
|
# gluster-block help
|
|
|
|
Make sure your version is the latest from the release, and the one you just installed.
|
|
|
|
Note: targetcli (>= 2.1.fb49) and tcmu-runner are runtime dependencies for gluster-block.
|
|
So, make sure you have them installed before starting gluster-blockd.
|
|
|
|
|
|
Download from repo:
|
|
-------------------
|
|
|
|
Fedora:
|
|
------
|
|
Get the gluster-block repo URL from https://copr.fedorainfracloud.org/coprs/pkalever/gluster-block/
|
|
|
|
URL look similar to:
|
|
https://copr.fedorainfracloud.org/coprs/pkalever/gluster-block/repo/fedora-25/pkalever-gluster-block-fedora-25.repo
|
|
|
|
$ dnf config-manager --add-repo $URL
|
|
|
|
$ dnf install gluster-block
|
|
|
|
Installation completed :-)
|
|
|
|
Check,
|
|
$ gluster-block version
|
|
$ gluster-block help
|
|
|
|
As of now gluster-block is supported on fedora >= 25.
|
|
|
|
Cheers!
|