You won't believe! I have removed "glusterfs-server" and installed it again
and now all files is present in the installation and shared storage is
working!
Here what I have done:
# yum remove glusterfs-server
# yum install glusterfs-server
# systemctl start glusterfs
# gluster volume set all
It seems that not all files have been installed. But I don't know why..
For example this folders are empty but they should have several scripts:
/var/lib/glusterd/hooks/1/set/post/
/var/lib/glusterd/hooks/1/stop/pre/
On Mon, Nov 21, 2016 at 12:15 PM, Alexandr Porunov <
alexandr.poru...@gmail.com>
Sorry, I misunderstood that command.
Here is it:
# rpm -qil glusterfs-server
Name: glusterfs-server
Version : 3.8.5
Release : 1.el7
Architecture: x86_64
Install Date: Thu 17 Nov 2016 07:23:22 PM EET
Group : System Environment/Daemons
Size: 4776600
License : GPLv2
I don't have volumes named "gluster_shared_storage".
Here is what I have:
# gluster volume status gluster_shared_storage
Volume gluster_shared_storage does not exist
I added that script
"/var/lib/glusterd/hooks/1/set/post/S32gluster_enable_shared_storage.sh"
Then I run next commands:
#
On 21/11/16 11:13, Alexandr Porunov wrote:
Version of glusterfs is 3.8.5
Here what I have installed:
rpm -ivh
http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
yum install centos-release-gluster
yum install glusterfs-server
It should be part of glusterfs-server.
Version of glusterfs is 3.8.5
Here what I have installed:
rpm -ivh
http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
yum install centos-release-gluster
yum install glusterfs-server
yum install glusterfs-geo-replication
Unfortunately it doesn't work if I just add the
On 21/11/16 01:07, Alexandr Porunov wrote:
I have installed it from rpm. No that file isn't there. The folder
"/var/lib/glusterd/hooks/1/set/post/" is empty..
which gluster version and what all gluster rpms have u installed?
For time being just download this file[1] and copy to above
I have installed it from rpm. No that file isn't there. The folder
"/var/lib/glusterd/hooks/1/set/post/" is empty..
Sincerely,
Alexandr
On Sun, Nov 20, 2016 at 2:55 PM, Jiffin Tony Thottan
wrote:
> Did u install rpm or directly from sources. Can u check whether following
>
Did u install rpm or directly from sources. Can u check whether
following script is present?
/var/lib/glusterd/hooks/1/set/post/S32gluster_enable_shared_storage.sh
--
Jiffin
On 20/11/16 13:33, Alexandr Porunov wrote:
To enable shared storage I used next command:
# gluster volume set all
To enable shared storage I used next command:
# gluster volume set all cluster.enable-shared-storage enable
But it seems that it doesn't create gluster_shared_storage automatically.
# gluster volume status gluster_shared_storage
Volume gluster_shared_storage does not exist
Do I need to manually
On 19/11/16 21:47, Alexandr Porunov wrote:
Unfortunately I haven't this log file but I have
'run-gluster-shared_storage.log' and it has errors I don't know why.
Here is the content of the 'run-gluster-shared_storage.log':
Make sure shared storage is up and running using "gluster volume
Unfortunately I haven't this log file but I have
'run-gluster-shared_storage.log' and it has errors I don't know why.
Here is the content of the 'run-gluster-shared_storage.log':
[2016-11-19 10:37:01.581737] I [MSGID: 100030] [glusterfsd.c:2454:main]
0-/usr/sbin/glusterfs: Started running
On 11/19/2016 04:13 PM, Alexandr Porunov wrote:
It still doesn't work..
I have created that dir:
# mkdir -p /var/run/gluster/shared_storage
and then:
# mount -t glusterfs 127.0.0.1:gluster_shared_storage
/var/run/gluster/shared_storage
Mount failed. Please check the log file for more
I have disabled shared_storage then removed that folder
(/var/run/gluster/shared_storage). Then I have enabled shared_storage again.
Here is the execution of the commands after that:
*# gluster volume info*
Volume Name: gv0
Type: Replicate
Volume ID: ddff3200-ff93-429f-990f-648b6d9ec237
Status:
It still doesn't work..
I have created that dir:
# mkdir -p /var/run/gluster/shared_storage
and then:
# mount -t glusterfs 127.0.0.1:gluster_shared_storage
/var/run/gluster/shared_storage
Mount failed. Please check the log file for more details.
Where to find a proper file to read logs? Because
On 11/19/2016 01:39 AM, Alexandr Porunov wrote:
Hello,
I try to enable shared storage for Geo-Replication but I am not sure
that I do it properly.
Here is what I do:
# gluster volume set all cluster.enable-shared-storage enable
volume set: success
# mount -t glusterfs
Hello,
I try to enable shared storage for Geo-Replication but I am not sure that I
do it properly.
Here is what I do:
# gluster volume set all cluster.enable-shared-storage enable
volume set: success
# mount -t glusterfs 127.0.0.1:gluster_shared_storage
/var/run/gluster/shared_storage
ERROR:
17 matches
Mail list logo