diff --git a/src/tm_mad/fs_lvm/delete b/src/tm_mad/fs_lvm/delete index dcd025663f..f1476c1617 100755 --- a/src/tm_mad/fs_lvm/delete +++ b/src/tm_mad/fs_lvm/delete @@ -68,6 +68,8 @@ DEV=$($SSH "$DST_HOST" "readlink $DST_PATH 2> /dev/null | grep \"^/dev/\"") if [ -n "$DEV" ]; then + LOCK="tm-fs_lvm-${DS_SYS_ID}.lock" + if [ "${ZERO_LVM_ON_DELETE}" = "yes" ]; then # Activate device ACTIVATE_CMD=$(cat <