Move Docker data from server to NAS #72
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
assigned to @Jafner
changed the description
changed the description
Re: "Inventory services to be migrated"
Below are listed services that store data at
/home/joey/data/$app
. Bolded services should be migrated.marked the checklist item Inventory services to be migrated as completed
Re: "Offline all services to be migrated",
Re: "Copy data from server to share",
Re: "Reconfigure service volumes"
SFTPWe're seeing extremely slow copy speeds via
cp
. This must be diagnosed before we can rely on this network share for docker data.The directory in question contains 297,012 files totalling only 18 Gigabytes. The slow copy speed may be due to the many small files (average 65KB).
Used
sudo iotop
to get disk IO monitor.Used
du -sh .
to get directory size.Used
find autopirate/ -type f | wc -l
to get file count.During the same operation we're seeing much faster copy speeds. Though it does not appear to be consistent, we can assume this speed is a function of the files being copied.
It appears using
rsync -avzh
provides consistently better performance.We don't need to migrate SFTP. It has never been used, and is unlikely to ever be used.
mentioned in commit
e59148bccc
mentioned in commit
52862aaf1d
This might be a real problem.
Permissions for files on the network.
for app in autopirate jdownloader2 nextcloud plex send; do cd $app && docker-compose down && cd ~/homelab/server/config; done
While we work out a permissions-sensitive solution to NAS-based file storage, we're going to use
/mnt/md0
for permissions-sensitive workloads. For now that just means Nextcloud and Ombi.mentioned in commit
4c74ca407a
It seems Ombi is experiencing a similar issue:
We're gonna move Plex back over to the local drive. (
~/data/plex
)mentioned in commit
b112540604
This is confirmed to fix the Ombi issue.
Re: "Online services with new configuration"
marked the checklist item Offline all services to be migrated as completed
marked the checklist item Copy data from server to share as completed
marked the checklist item Reconfigure service volumes as completed
marked the checklist item Online services with new configuration as completed
We're going to close this ticket and open another for working out a long-term solution for Nextcloud storage.
mentioned in issue #73