Skip to content
Snippets Groups Projects
Commit ff018796 authored by Administrator's avatar Administrator
Browse files

Kill drive process to avoid to avoid the error "fusermount: failed to unmount...

Kill drive process to avoid to avoid the error "fusermount: failed to unmount /shared-buckets: Resource busy"
parent 72248270
No related branches found
No related tags found
No related merge requests found
Pipeline #416 passed with stage
in 2 seconds
......@@ -17,7 +17,7 @@ MAAP_ENV=$(curl -s https://api.ops.maap-project.org/api/environment/bucketPrefix
check_dir () {
if [ ! -d $1 ]; then
echo "$1 does not exist. Unmounting..."
fusermount -u $1
umount -l $1
echo "Remounting $1..."
s3fs maap-$MAAP_ENV-workspace:$2 $1 -o use_cache=/scratch$2 -o imdsv1only -o iam_role=auto
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment