[Bugs] [Bug 1257709] Copy NFS-Ganesha export files as part of volume snapshot creation
bugzilla at redhat.com
bugzilla at redhat.com
Fri Oct 30 20:39:55 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1257709
--- Comment #10 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12034 committed in master by Kaleb KEITHLEY
(kkeithle at redhat.com)
------
commit 5583bac79851d24f0a552478b361049fe63c32b7
Author: Jiffin Tony Thottan <jthottan at redhat.com>
Date: Thu Aug 27 23:26:40 2015 +0530
snapshot : copying nfs-ganesha export file
While taking snapshot, the export file used by the volume should
copy to snap directory. So that when restore of snapshot happens,
the volume can retain all its configuration for exporting via
nfs-ganesha. The export file is stored at "/etc/ganesha/export" in
the following format "export.<volname>.conf"
The fix handles given cases in the following manner :
case a: The nfs-ganesha(global) is ON during snapshot and restore.
i.) Volume was exported during snapshot. When we restore snapshot,
then volume should be exported back with old configuration
file.
ii.) Volume was unexported during snapshot. When we restore
snapshot,
then volume should unexported again.
case b: The nfs-ganesha is ON during snapshot and OFF during restore
Volume was exported during snapshot. When we restore snapshot, the
conf will be copied to corresponding location and if nfs-ganesha
enabled
again, then volume will be exported.
For the clones, export conf file will created in /etc/ganesha/export and
then
export it via ganesha.
Change-Id: Ideecda15bd4db58e991cf6c8de7bb93f3db6cd20
BUG: 1257709
Signed-off-by: Jiffin Tony Thottan <jthottan at redhat.com>
Reviewed-on: http://review.gluster.org/12034
Reviewed-by: Avra Sengupta <asengupt at redhat.com>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
--
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=erT79Ap2QF&a=cc_unsubscribe
More information about the Bugs
mailing list