December 3, 201411 yr Hello all, I've got a little bit of a situation with my server, somehow (I have no idea) my appdata share for docker containers got switched from "use cache disk only" which is what it had been set to and allowed all of my data disks to spin down while my docker stuff lived happily on the cache, to "use cache disk no" I noticed my newest disk (4) was not going to standby, and now I see it's because part of this share is on it! Can I fix this by simply switching the setting back to cache only? I want to be sure everything gets back on to the cache disk the right way!
December 3, 201411 yr Community Expert You have to manually move back any files to the cache disk that should be there rather than on the array disk. Simply changing the share setting will not move any data - it just applies to new files.
December 3, 201411 yr Author You have to manually move back any files to the cache disk that should be there rather than on the array disk. Simply changing the share setting will not move any data - it just applies to new files. Will cutting and pasting from a windows PC work? I'm new to linux and that would be way easier for me.
December 3, 201411 yr Community Expert You have to manually move back any files to the cache disk that should be there rather than on the array disk. Simply changing the share setting will not move any data - it just applies to new files. Will cutting and pasting from a windows PC work? I'm new to linux and that would be way easier for me. It will work fine as long as you work purely on the disk level shares. You must not try and mix using a disk share and a user share in the same copy command as that normally leads to data loss.
December 3, 201411 yr Author Got it, I'm going to stop the docker service and give it a try, with me luck!
December 3, 201411 yr Author After copying and pasting some of the directories from disk4 to cache I am getting an error (need admin access) deleting some of the directories form disk4, what do I need to do to delete them? I am also getting a "file access denied" on some of the files in my plexmediaserver when trying to copy with to option to skip or try again, how should I handle these?
December 3, 201411 yr Author Posting this for anyone else who has a similar issue, I ran rm -rf /mnt/disk4/appdata to remove anything that I was unable to delete from windows. I also ran rsync --progress -avh /mnt/disk4/appdata /mnt/cache/appdata I ended up eventually using the mv command and getting everything in the right place. I did lose my plex db for some reason but I was able to restore it from it's own nightly backup. I still don't know how my appdata go switched from cache only, I suspect it was when I added a new drive to the array or during the latest beta upgrade. Next time I add a drive I'll take my dockers offline and double check the share settings before starting them!
May 28, 20188 yr This is an old thread, but the solution these days using v6+ would be to set the share to "prefer" cache. Stop the docker and do a move. It should move to the cache drive.
Archived
This topic is now archived and is closed to further replies.