From 9f397ab0fe70a7163f49a17ea22506527e1ed2bc Mon Sep 17 00:00:00 2001 From: Alessandro Felder Date: Fri, 23 Feb 2024 10:51:40 +0000 Subject: [PATCH 1/3] Add warning to mounting ceph instructions. --- docs/source/programming/Mount-ceph-ubuntu.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/programming/Mount-ceph-ubuntu.md b/docs/source/programming/Mount-ceph-ubuntu.md index a8cb02e..d754ef8 100644 --- a/docs/source/programming/Mount-ceph-ubuntu.md +++ b/docs/source/programming/Mount-ceph-ubuntu.md @@ -73,3 +73,7 @@ The next time you reboot your machine, the storage should be mounted automatical To unmount the storage, run `sudo umount /media/ceph-neuroinformatics` (or whatever your mount point is). To permanently unmount the storage, remove the lines you added to the `fstab` file and run `sudo mount -a` again. + +:::{warning} +Do not trust your instincts and use `sudo rm -r /media/ceph-neuroinformatics` to permanently unmount, even though it looks like a local folder. This will delete files on `ceph`! +::: From 110fb958bd7dccfe2bdc827685061329dd63f443 Mon Sep 17 00:00:00 2001 From: Alessandro Felder Date: Fri, 23 Feb 2024 10:53:29 +0000 Subject: [PATCH 2/3] add warning to temp mounting instructions. --- docs/source/programming/Mount-ceph-ubuntu-temp.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/programming/Mount-ceph-ubuntu-temp.md b/docs/source/programming/Mount-ceph-ubuntu-temp.md index b6f7fbf..5f154d9 100644 --- a/docs/source/programming/Mount-ceph-ubuntu-temp.md +++ b/docs/source/programming/Mount-ceph-ubuntu-temp.md @@ -48,6 +48,9 @@ Remember that because the mounting is temporary, the `ceph` partition will be un You can check that the partition is correctly unmounted by running `df -h` and verifying it does not show in the output. +:::{warning} +Do not trust your instincts and use `sudo rm -r /media/ceph-neuroinformatics` to unmount, even though it looks like a local folder. This will delete files on `ceph`! +::: ## References - [Mount network drive under Linux temporarily/permanently](https://www.rz.uni-kiel.de/en/hints-howtos/connecting-a-network-share/Linux/through-temporary-permanent-mounting/mount-network-drive-under-linux-temporarily-permanently) From 4095eaee55a88c2e3704da02552550fd64568501 Mon Sep 17 00:00:00 2001 From: Alessandro Felder Date: Fri, 23 Feb 2024 13:34:59 +0000 Subject: [PATCH 3/3] Accept review comment Co-authored-by: sfmig <33267254+sfmig@users.noreply.github.com> --- docs/source/programming/Mount-ceph-ubuntu-temp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/programming/Mount-ceph-ubuntu-temp.md b/docs/source/programming/Mount-ceph-ubuntu-temp.md index 5f154d9..6bae637 100644 --- a/docs/source/programming/Mount-ceph-ubuntu-temp.md +++ b/docs/source/programming/Mount-ceph-ubuntu-temp.md @@ -49,7 +49,7 @@ Remember that because the mounting is temporary, the `ceph` partition will be un You can check that the partition is correctly unmounted by running `df -h` and verifying it does not show in the output. :::{warning} -Do not trust your instincts and use `sudo rm -r /media/ceph-neuroinformatics` to unmount, even though it looks like a local folder. This will delete files on `ceph`! +Do not use `sudo rm -r /media/ceph-neuroinformatics` to unmount, even though it looks like a local folder. This will delete files on `ceph`! ::: ## References