Migrate /mnt/ to /mnt/nas

This commit is contained in:
Joey Hafner 2022-03-02 21:22:19 -08:00
parent 59ded36036
commit c334e9ccb8
5 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# NAS # NAS
The NAS is relied upon for many other hosts on the network, which need to be offlined before the NAS can be shut down. The NAS is relied upon for many other hosts on the network, which need to be offlined before the NAS can be shut down.
1. Determine which service stacks rely on the NAS by running `grep -rnwli ~+ -e '/mnt/media\|/mnt/torrenting\|/mnt/calibre'` from the root of the `homelab` repo. 1. Determine which service stacks rely on the NAS by running `grep -rnwli ~+ -e '/mnt/nas/media\|/mnt/torrenting\|/mnt/nas/calibre'` from the root of the `homelab` repo.
2. `docker-compose down` the stacks which rely on the NAS 2. `docker-compose down` the stacks which rely on the NAS
3. `cat /etc/fstab` to get the list of mount points which rely on the NAS 3. `cat /etc/fstab` to get the list of mount points which rely on the NAS
4. For each NAS mount, run `sudo umount` for that share. 4. For each NAS mount, run `sudo umount` for that share.

View File

@ -1,4 +1,4 @@
DOCKER_DATA=/home/joey/data/arr DOCKER_DATA=/home/joey/data/arr
MEDIA_DIR=/mnt/media MEDIA_DIR=/mnt/nas/media
DOWNLOAD_DIR=/mnt/md0/torrenting/NZB DOWNLOAD_DIR=/mnt/md0/torrenting/NZB
INCOMPLETE_DOWNLOAD_DIR=/mnt/md0/torrenting/NZB_incomplete INCOMPLETE_DOWNLOAD_DIR=/mnt/md0/torrenting/NZB_incomplete

View File

@ -9,7 +9,7 @@ services:
- TZ=America/Los_Angeles - TZ=America/Los_Angeles
volumes: volumes:
- calibre-web-rpg_data:/config - calibre-web-rpg_data:/config
- /mnt/calibre/rpg:/books - /mnt/nas/calibre/rpg:/books
labels: labels:
- traefik.http.routers.calibre-rpg.rule=Host(`calibre-rpg.jafner.net`) - traefik.http.routers.calibre-rpg.rule=Host(`calibre-rpg.jafner.net`)
- traefik.http.routers.calibre-rpg.tls.certresolver=lets-encrypt - traefik.http.routers.calibre-rpg.tls.certresolver=lets-encrypt
@ -26,7 +26,7 @@ services:
- TZ=America/Los_Angeles - TZ=America/Los_Angeles
volumes: volumes:
- calibre-web-sff_data:/config - calibre-web-sff_data:/config
- /mnt/calibre/sff:/books - /mnt/nas/calibre/sff:/books
labels: labels:
- traefik.http.routers.calibre-sff.rule=Host(`calibre-sff.jafner.net`) - traefik.http.routers.calibre-sff.rule=Host(`calibre-sff.jafner.net`)
- traefik.http.routers.calibre-sff.tls.certresolver=lets-encrypt - traefik.http.routers.calibre-sff.tls.certresolver=lets-encrypt

View File

@ -1,2 +1,2 @@
DOCKER_DATA=/home/joey/data/plex DOCKER_DATA=/home/joey/data/plex
MEDIA_DIR=/mnt/media MEDIA_DIR=/mnt/nas/media

View File

@ -1,5 +1,5 @@
DOCKER_DATA=/home/joey/data/tdarr DOCKER_DATA=/home/joey/data/tdarr
MEDIA_DIR=/mnt/media/Video MEDIA_DIR=/mnt/nas/media/Video
TRANSCODE_DIR=/mnt/md0/tdarr TRANSCODE_DIR=/mnt/md0/tdarr
## Generic ## Generic