[Bugs] [Bug 1377198] Volume restart couldn' t re-export the volume exported via ganesha.

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 19 11:39:36 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1377198



--- Comment #3 from Shashank Raj <sraj at redhat.com> ---
Trying this particular scenario also removes the symlink created between
/etc/ganesha/ganesha.conf and
/var/run/gluster/shared_storage/nfs-ganesha/ganesha.conf:

[root at dhcp43-116 ganesha]# ls -ltr
total 12
-rw-r--r--. 1 root root  776 Aug 29 17:04 ganesha-ha.conf.sample
-rw-r--r--. 1 root root 1054 Aug 29 23:12 ganesha-ha.conf
-rw-r--r--. 1 root root 1403 Sep 16 02:20 ganesha.conf.rpmsave
lrwxrwxrwx. 1 root root   56 Sep 19 22:12 ganesha.conf ->
/var/run/gluster/shared_storage/nfs-ganesha/ganesha.conf

[root at dhcp43-116 ganesha]# gluster vol set v1 ganesha.enable on
volume set: success

[root at dhcp43-116 ganesha]# ls -ltr
total 12
-rw-r--r--. 1 root root  776 Aug 29 17:04 ganesha-ha.conf.sample
-rw-r--r--. 1 root root 1054 Aug 29 23:12 ganesha-ha.conf
-rw-r--r--. 1 root root 1403 Sep 16 02:20 ganesha.conf.rpmsave
lrwxrwxrwx. 1 root root   56 Sep 19 22:12 ganesha.conf ->
/var/run/gluster/shared_storage/nfs-ganesha/ganesha.conf

[root at dhcp43-116 ganesha]# showmount -e localhost
Export list for localhost:
/v1 (everyone)

[root at dhcp43-116 ganesha]# ls -ltr
total 12
-rw-r--r--. 1 root root  776 Aug 29 17:04 ganesha-ha.conf.sample
-rw-r--r--. 1 root root 1054 Aug 29 23:12 ganesha-ha.conf
-rw-r--r--. 1 root root 1403 Sep 16 02:20 ganesha.conf.rpmsave
lrwxrwxrwx. 1 root root   56 Sep 19 22:12 ganesha.conf ->
/var/run/gluster/shared_storage/nfs-ganesha/ganesha.conf

[root at dhcp43-116 ganesha]# gluster vol stop v1
Stopping volume will make its data inaccessible. Do you want to continue? (y/n)
y
volume stop: v1: success

[root at dhcp43-116 ganesha]# ls -ltr
total 12
-rw-r--r--. 1 root root  776 Aug 29 17:04 ganesha-ha.conf.sample
-rw-r--r--. 1 root root 1054 Aug 29 23:12 ganesha-ha.conf
-rw-r--r--. 1 root root 1403 Sep 16 02:20 ganesha.conf.rpmsave
lrwxrwxrwx. 1 root root   56 Sep 19 22:12 ganesha.conf ->
/var/run/gluster/shared_storage/nfs-ganesha/ganesha.conf

[root at dhcp43-116 ganesha]# showmount -e localhost
Export list for localhost:
[root at dhcp43-116 ganesha]# gluster vol start v1
volume start: v1: success
[root at dhcp43-116 ganesha]# showmount -e localhost
Export list for localhost:

[root at dhcp43-116 ganesha]# ls -ltr
total 16
-rw-r--r--. 1 root root  776 Aug 29 17:04 ganesha-ha.conf.sample
-rw-r--r--. 1 root root 1054 Aug 29 23:12 ganesha-ha.conf
-rw-r--r--. 1 root root 1403 Sep 16 02:20 ganesha.conf.rpmsave
-rw-r--r--. 1 root root 1450 Sep 19 22:23 ganesha.conf

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=4T2xWZx5i2&a=cc_unsubscribe


More information about the Bugs mailing list