October 2, 20169 yr OK very new docker user here, and somewhere along the line I must have missed a step. I created the location for Dockers to be stored on an SSD, Disk 1. I would also want any application data created for use with dockers to be on the same disk but I didnt recall seeing the step to do this. As a result, app data (and all its nearly 200,000 files associated with plex) are on Disk 3. app data, is a user share. With Plex turned off, I changed the settings to split level of zero and only allowed access to disk 1, but when i went to move the files, I got "access denied" errors in terracopy. So how do I relocate the full contents of the folder?
October 2, 20169 yr OK very new docker user here, and somewhere along the line I must have missed a step. I created the location for Dockers to be stored on an SSD, Disk 1. I would also want any application data created for use with dockers to be on the same disk but I didnt recall seeing the step to do this. As a result, app data (and all its nearly 200,000 files associated with plex) are on Disk 3. app data, is a user share. With Plex turned off, I changed the settings to split level of zero and only allowed access to disk 1, but when i went to move the files, I got "access denied" errors in terracopy. So how do I relocate the full contents of the folder? Due to varying permissions in appdata folders, as a general rule, you can't just move the files around over the network My suggestion would be to use midnight commander (mc at the command line) to move it around. (Or the dolphin / krusader docker apps) But you're going to have to be really careful about not mixing user shares and disk shares with these ways otherwise you'll run into the User Share Copy Bug Alternatively you can also use CA's backup/restore feature to accomplish this (and deleting the existing appdata in between) but it'll take twice as long as the above mentioned methods
October 2, 20169 yr Author Due to varying permissions in appdata folders, as a general rule, you can't just move the files around over the network My suggestion would be to use midnight commander (mc at the command line) to move it around. (Or the dolphin / krusader docker apps) But you're going to have to be really careful about not mixing user shares and disk shares with these ways otherwise you'll run into the User Share Copy Bug Alternatively you can also use CA's backup/restore feature to accomplish this (and deleting the existing appdata in between) but it'll take twice as long as the above mentioned methods Thanks for this. First experience with either of those apps, but I got Krusader installed and the transfer from disk 3 to disk 1 is running now. Terracopy does verification. Is there any concern with that since i'm copying such a large number of files, even though they are all very small files. Not much I can do about it now, but just wondering. I didn't catch an option for verification, but could have missed it.
October 2, 20169 yr Due to varying permissions in appdata folders, as a general rule, you can't just move the files around over the network My suggestion would be to use midnight commander (mc at the command line) to move it around. (Or the dolphin / krusader docker apps) But you're going to have to be really careful about not mixing user shares and disk shares with these ways otherwise you'll run into the User Share Copy Bug Alternatively you can also use CA's backup/restore feature to accomplish this (and deleting the existing appdata in between) but it'll take twice as long as the above mentioned methods Thanks for this. First experience with either of those apps, but I got Krusader installed and the transfer from disk 3 to disk 1 is running now. Terracopy does verification. Is there any concern with that since i'm copying such a large number of files, even though they are all very small files. Not much I can do about it now, but just wondering. I didn't catch an option for verification, but could have missed it. Nah, it should all work fine. Just make sure that you set the appdata share after your done to only include disk1
October 2, 20169 yr Author Thanks for this. First experience with either of those apps, but I got Krusader installed and the transfer from disk 3 to disk 1 is running now. Terracopy does verification. Is there any concern with that since i'm copying such a large number of files, even though they are all very small files. Not much I can do about it now, but just wondering. I didn't catch an option for verification, but could have missed it. Nah, it should all work fine. Just make sure that you set the appdata share after your done to only include disk1 Got that done already. Thanks much!! I'll drop a note when all is back to normal or if I run into trouble.
October 2, 20169 yr Author Nah, it should all work fine. Just make sure that you set the appdata share after your done to only include disk1 Got that done already. Thanks much!! I'll drop a note when all is back to normal or if I run into trouble.
October 2, 20169 yr Community Expert You really should consider putting appdata on the cache drive. Many applications read and write their appdata frequently, and the writes to a drive in the array will also update parity, degrading performance and keeping your parity drive spinning.
October 2, 20169 yr Author You really should consider putting appdata on the cache drive. Many applications read and write their appdata frequently, and the writes to a drive in the array will also update parity, degrading performance and keeping your parity drive spinning. I don't currently use a cache drive, but am considering it now. Plex has 6 GB of app data with 190K very small files. I think most of those stay put on the server, so if they are in the cache drive, why doesnt unRaid try to write them to the array anyway? Do I really just want a SSD mounted outside the array for this? EDIT : Original question is resolved. The data was all moved to the correct disk and user share info prevents it spreading out.
October 3, 20169 yr Community Expert You put your appdata share on the cache disk and set it to Use cache disk: Only, then it won't be moved. This is pretty much the standard way of doing this.
October 3, 20169 yr Do I really just want a SSD mounted outside the array for this? As already noted, you will see significant performance increases with all docker apps by using a cache drive. Even if its just a cheap hard drive and not an ssd, writes will probably be ~3 times faster. This *could* be noticeable when plex is transcoding multiple streams.
October 3, 20169 yr Author Well if i'm going to use a cache disk, it will likely be the drive I'm currently using anyway. The only other thing I've used this drive for is housing my zappitti menu for my Dune player to use. Is it possible to remount this drive outside the array as a cache drive and not loose everything on it? I know I would need to re-build parity after removing it from the array. Any thoughts on how to go about this?
October 3, 20169 yr Well if i'm going to use a cache disk, it will likely be the drive I'm currently using anyway. The only other thing I've used this drive for is housing my zappitti menu for my Dune player to use. Is it possible to remount this drive outside the array as a cache drive and not loose everything on it? I know I would need to re-build parity after removing it from the array. Any thoughts on how to go about this? Make a note of all your current drive configurations, then Tools - New Config, and reassign the drives accordingly, but make the one the cache drive. Parity will rebuild, no data will be lost
October 3, 20169 yr Author Well if i'm going to use a cache disk, it will likely be the drive I'm currently using anyway. The only other thing I've used this drive for is housing my zappitti menu for my Dune player to use. Is it possible to remount this drive outside the array as a cache drive and not loose everything on it? I know I would need to re-build parity after removing it from the array. Any thoughts on how to go about this? Make a note of all your current drive configurations, then Tools - New Config, and reassign the drives accordingly, but make the one the cache drive. Parity will rebuild, no data will be lost In the interest of abundant caution, i'll just make sure i'm clear. - both my app data and docker storage location are pointed to this one drive (Disk 1). 1. No data lost, ncluding the data i have left on the drive to be used for cache. It wont be wiped out when re-assigned? 2. Can you change the docker storage location? It doesnt seem to have that option. 3. Once i change the docker settings to say use cache drive only (if it can be), Plex will find the existing app data?
October 3, 20169 yr Community Expert Well if i'm going to use a cache disk, it will likely be the drive I'm currently using anyway. The only other thing I've used this drive for is housing my zappitti menu for my Dune player to use. Is it possible to remount this drive outside the array as a cache drive and not loose everything on it? I know I would need to re-build parity after removing it from the array. Any thoughts on how to go about this? Make a note of all your current drive configurations, then Tools - New Config, and reassign the drives accordingly, but make the one the cache drive. Parity will rebuild, no data will be lost In the interest of abundant caution, i'll just make sure i'm clear. - both my app data and docker storage location are pointed to this one drive (Disk 1). 1. No data lost, ncluding the data i have left on the drive to be used for cache. It wont be wiped out when re-assigned? 2. Can you change the docker storage location? It doesnt seem to have that option. 3. Once i change the docker settings to say use cache drive only (if it can be), Plex will find the existing app data? Before changing your drive assignments, go to Docker Settings and set Enable to No, then delete your docker.img. After changing your drive assignments, go to Docker Settings and set the new path for docker.img and set Enable to Yes. Then go to Community Applications and reinstall everything from the Previous Apps. And be sure to set you appdata share to cache-only.
October 3, 20169 yr Author Well if i'm going to use a cache disk, it will likely be the drive I'm currently using anyway. The only other thing I've used this drive for is housing my zappitti menu for my Dune player to use. Is it possible to remount this drive outside the array as a cache drive and not loose everything on it? I know I would need to re-build parity after removing it from the array. Any thoughts on how to go about this? Make a note of all your current drive configurations, then Tools - New Config, and reassign the drives accordingly, but make the one the cache drive. Parity will rebuild, no data will be lost In the interest of abundant caution, i'll just make sure i'm clear. - both my app data and docker storage location are pointed to this one drive (Disk 1). 1. No data lost, ncluding the data i have left on the drive to be used for cache. It wont be wiped out when re-assigned? 2. Can you change the docker storage location? It doesnt seem to have that option. 3. Once i change the docker settings to say use cache drive only (if it can be), Plex will find the existing app data? Before changing your drive assignments, go to Docker Settings and set Enable to No, then delete your docker.img. After changing your drive assignments, go to Docker Settings and set the new path for docker.img and set Enable to Yes. Then go to Community Applications and reinstall everything from the Previous Apps. And be sure to set you appdata share to cache-only. once I reinstall the app, will Plex find it's original appdata and therefore maintain it's original configuration and all the media libraries, or will that have to rebuild from the ground after reinstalling it?
October 3, 20169 yr Community Expert If the volume mapping is the same, or at least points to the same host folders, then it should find everything.
October 4, 20169 yr Author Preparing to do this change over tonight, and migrating a few things off that were kept there. This is only a 60 GB SSD and I think will be about 1/3 full for Plex. I don't have dieing need for a cache drive. In the interest of leaving this free for Plex or future dockers, can this drive be mounted outside the array, not be used as a cache, and be used for docker / app data storage? if not, then what happens when you are copying data and the cache fills up? does it just flip over to write directly to the array? Thanks.
October 4, 20169 yr Community Expert There is no requirement for user share writes to go to cache. In fact, unless you have specifically set a user share to use cache, any write to it will always go directly to the array. I don't cache any user shares since I have never cared about write speed. That way my cache drive can just be used for dockers and my user share files are always written directly to parity protection.
October 4, 20169 yr Author There is no requirement for user share writes to go to cache. In fact, unless you have specifically set a user share to use cache, any write to it will always go directly to the array. I don't cache any user shares since I have never cared about write speed. That way my cache drive can just be used for dockers and my user share files are always written directly to parity protection. AHhh, TY. Not having used a cache disk before I didn't realize you had to turn it on for the user shares you wanted to use it. I think someone made mention of this earlier but not realizing that fact (it needing to be switched on) I missed it. Makes sense now, ty.
October 4, 20169 yr Author I think have this set write. Appdata share settings: All disks are in the excluded list only disk 1 is in the included list. It won't let me have none on this list. Disk 1 is also excluded. Use cache disk is set to "Only" as told. I'm assuming this over-rides the above, but just being sure. See attached image. Parity rebuild underway.
October 4, 20169 yr Community Expert You should never set both include and exclude. There is never any need, anything you intend can be accomplished by setting one or the other. Include means "only these disks", exclude means "except these disks", and setting neither allows all disks, except in the case of cache-only, which means cache-only. For you case clear both and just use cache-only.
October 4, 20169 yr Author You should never set both include and exclude. There is never any need, anything you intend can be accomplished by setting one or the other. Include means "only these disks", exclude means "except these disks", and setting neither allows all disks, except in the case of cache-only, which means cache-only. For you case clear both and just use cache-only. Interesting, never heard to not set both. All of my other shares are set up that way. If you don't check any boxes, I think it's all defaulted to utilizing all disks. You can "exclude all" but you can not "include none." Anyway, I'll go with the settings you said. Thanks again. The parity was almost rebuilt this morning. Plex found everything and didn't have to rebuild so all looks good. Thanks to all who helped!!
October 4, 20169 yr Community Expert You should never set both include and exclude. There is never any need, anything you intend can be accomplished by setting one or the other. Include means "only these disks", exclude means "except these disks", and setting neither allows all disks, except in the case of cache-only, which means cache-only. For your case clear both and just use cache-only. ... If you don't check any boxes, I think it's all defaulted to utilizing all disks... That's what I said.
October 4, 20169 yr You should never set both include and exclude. There is never any need, anything you intend can be accomplished by setting one or the other. Include means "only these disks", exclude means "except these disks", and setting neither allows all disks, except in the case of cache-only, which means cache-only. For you case clear both and just use cache-only. Interesting, never heard to not set both. All of my other shares are set up that way. If you don't check any boxes, I think it's all defaulted to utilizing all disks. You can "exclude all" but you can not "include none." Anyway, I'll go with the settings you said. Thanks again. The parity was almost rebuilt this morning. Plex found everything and didn't have to rebuild so all looks good. Thanks to all who helped!! If you think about it, include and exclude are mutually exclusive and by definition no need to set both. There are rules in place for when there are conflicts between the two, but in your case setting use cache only trumps everything else. (the fix common problems plugin flags it as a warning of you set both include and exclude at the same time) Sent from my LG-D852 using Tapatalk
October 5, 20169 yr Author Well I thought all was well and good. However, Plex won't launch anything. After removing and re-installing the docker, all the media is "unavailable" and won't launch. The database info is there, the graphics are there, the media is there, but it still says "unavailable." I can manually navigate to the media locations and launch them just fine, but Plex won't recognize them. when you go into the library, there is a "update library" button. When you click it, it runs for a second or less and says complete.
Archived
This topic is now archived and is closed to further replies.