path: root/extras/
diff options
authorAmar Tumballi <>2009-04-17 16:07:00 -0700
committerAnand V. Avati <>2009-04-18 11:15:23 +0530
commit093141a74962f11654c44fe2292605f9cf65e709 (patch)
tree6750f7f4dee35e02530d5559fee8e85ed365d9cb /extras/
parent9a4a2e2286cb372ca462f6f25f78de686ea3e4ce (diff)
added migration script from unify based setup to distribute based setup
Signed-off-by: Anand V. Avati <>
Diffstat (limited to 'extras/')
1 files changed, 23 insertions, 0 deletions
diff --git a/extras/ b/extras/
new file mode 100755
index 000000000..fd23a46fe
--- /dev/null
+++ b/extras/
@@ -0,0 +1,23 @@
+# This is a template script which can be used to migrate the GlusterFS
+# storage infrastructure from 'cluster/unify' to 'cluster/distribute'
+# This script needs to be executed on the machine where namespace volume
+# of 'cluster/unify' translator resides. And also, one need to mount the
+# new 'cluster/distribute' volume with "option lookup-unhashed yes" on
+# the same machine.
+# If the namespace volume was replicated (ie, afr'ed), then this can be
+# executed just on one of the namespace machines..
+# Only the variables defined below needs to be changed to appropriate path
+# This is export from old 'cluster/unify' volume's namespace volume.
+# This is the new mount point with 'cluster/distribute' volume
+cd ${namespace_export};
+find . -exec stat ${distribute_mount}/{} \;