From 33dcbc6e535a6c461ef01c8f7b44a99d5f79c277 Mon Sep 17 00:00:00 2001 From: Kaimbacher Date: Fri, 1 Jul 2022 13:42:02 +0000 Subject: [PATCH] Update 'hard_disk_partition_making_filesystem' --- hard_disk_partition_making_filesystem.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/hard_disk_partition_making_filesystem.md b/hard_disk_partition_making_filesystem.md index c51ef44..94489ad 100644 --- a/hard_disk_partition_making_filesystem.md +++ b/hard_disk_partition_making_filesystem.md @@ -52,4 +52,24 @@ sudo mkdir /catalogue-data sudo mount /dev/sdb1 /catalogue-data ``` -Folder /catalogue-data is the data path required by GeoNetwork configured via environment variables [environment variables in jetty service](https://gitea.geologie.ac.at/geolba/geonetwork/wiki/Installation-Java-8-JDK-&-Jetty-9#step-3-create-jetty-service) \ No newline at end of file +Folder /catalogue-data is the data path required by GeoNetwork configured via environment variables [environment variables in jetty service](https://gitea.geologie.ac.at/geolba/geonetwork/wiki/Installation-Java-8-JDK-&-Jetty-9#step-3-create-jetty-service) + +# 3. Auto-mount filesystem on server start +`sudo nano /etc/fstab ` + +add the following line: + +``` bash +# /etc/fstab: static file system information. +# +# Use 'blkid' to print the universally unique identifier for a +# device; this may be used with UUID= as a more robust way to name devices +# that works even if disks are added and removed. See fstab(5). +# +# +... +/dev/sdb1 /catalogue-data ext4 defaults 0 0 +``` + + +