Skip to content

Commit

Permalink
Merge pull request #51 from neuroinformatics-unit/alessandro-lessons-…
Browse files Browse the repository at this point in the history
…learned

Improve docs based on my "experiences" this week
  • Loading branch information
alessandrofelder authored Feb 23, 2024
2 parents 21ee726 + 4095eae commit dce09e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/programming/Mount-ceph-ubuntu-temp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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)
Expand Down
4 changes: 4 additions & 0 deletions docs/source/programming/Mount-ceph-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`!
:::

0 comments on commit dce09e6

Please sign in to comment.