Merge pull request #160 from atodorov-storpool/tmCephOnSharedFs

tm/ceph {pre,post}migrate do nothing if not SYSTEM DS
This commit is contained in:
Jaime Melis authored and GitHub committed 2017-05-12 14:23:29 +02:00
commit 8d4cfaf16b
2 files changed
+14

No files matched your search

+7
View File
@@ -53,6 +53,13 @@ fi
#--------------------------------------------------------------------------------
if [ -n "$7" ]; then
log "Called from tm/$7 but I've nothing to do"
exit 0
fi
#--------------------------------------------------------------------------------
migrate_other "$@"
exec_and_log "$SSH $SRC_HOST rm -rf $DST_PATH"
+7
View File
@@ -53,6 +53,13 @@ fi
#--------------------------------------------------------------------------------
if [ -n "$7" ]; then
log "Called from tm/$7 but I've nothing to do"
exit 0
fi
#--------------------------------------------------------------------------------
DST_PATH_DIRNAME=`dirname $DST_PATH`
DST_PATH_BASENAME=`basename $DST_PATH`