add docs how to disconnect or replace a drive - #151
Merged
Conversation
Signed-off-by: Simon L. <szaimen@e.mail.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new FAQ article that documents what to do when a drive that was mounted to the server should not stay connected permanently - and, on top of that, how to replace a drive with a new one.
Disconnecting a drive
Unplugging is not enough, since the mount was made persistent during the setup. There is one section per drive type, because the leftovers differ:
veracrypt-automount.sh, theis-drive-connected.shcronjob, the entries in the permission/snapshot/scrub scripts, plus the SMB-shares, Nextcloud storages and PLEX/Jellyfin librariesfstabentry, the permission/snapshot/scrub entries and the PLEX/Jellyfin librariesfstabentry and PLEX/Jellyfin, since no snapshot/scrub/permission scripts get created for thosefstablines (dislocker+ the loop mount) and optionally purgingdislockernoauto, but the daily/off-shore backup cronjob needs to get disabledReplacing a drive
The key point in all four replacement sections is to reuse the mountpath of the old drive, so that the SMB-shares, the Nextcloud storages, the PLEX/Jellyfin libraries and the backup scripts keep working without touching their configuration.
The Veracrypt section is separate because the
BTRFS Veracrypt/NTFS Veracryptscripts always format and encrypt - running them again would delete the data that was just copied over - so the automount block gets written by hand there. The Bitlocker section is separate because only one Bitlocker drive can be mounted at a time, so the data has to take a detour.Notes
Thanks a lot to @LeoHobi for the suggestion!