lvchange -a y "$DISK" >/dev/null 2>&1
# Cleanup the lock, regardless of whether we started the LV
- lvchange -a n "/dev/xenvg/lock_${LV}"
- lvremove -f "/dev/xenvg/lock_${LV}"
+ lvchange -a n "/dev/xenvg/lock_${LV}" >/dev/null 2>&1
+ lvchange -a ey "/dev/xenvg/lock_${LV}" >/dev/null 2>&1
+ lvremove -f "/dev/xenvg/lock_${LV}" >/dev/null 2>&1
fi
return $RET