December 31, 20178 yr Hi all, I am new to UNRAID. I have recently set up my box after waiting for a week to preclear all my 8TB drives Everything is up and running with UNRAID joined to my Active directory. I am in the process of setting up Docker and I am running into a problem where the appdata share is not residing in the cache drive. I have spent hours on this and cant work it out I have tried the following steps; 1. Set appdata to cache prefered 2. Set appdata to cache only 3. Deleted appdata share and started from scratch (checked it was delete from mnt/ 4. tried excluding my array drives (Disk 1,2,3) 4. tried restarting the array multiple times 5. tried the mover button multiple times Appdata share screen appdata location Any help would be ace on this
December 31, 20178 yr You appdata share screen shot shows Use Cache: Yes. This means that it will put new files onto the cache drive, and then nightly move them onto the array. You want use Cache: Preferred or Only Your appdata location screen shot doesn't actually mean anything because the way that the system works is that All shares (whether they reside on the cache drive or not) will always appear within /mnt/user, and this may be the source of your confusion in thinking that its not being stored on the cache drive when set to Preferred or Only .
December 31, 20178 yr Author Squid thanks for this. I figured this out the hard way lol The steps I followed to fix this were the following You have to ensure that VM Manager is off and Docker is off. I didnt relise VM Manager was on and stopping Mover from moving some of the files. Then I; 1. I set my user shares to use cache = preferred 2. Clicked the Move now 3. Configured Docker and VM manager to point to the cache drive 4. Then I set user shared to use cache = Only This all worked A word of advice for newbies. As squid mentioned I got really confused on why the same shares showed up under /user. So decided to use MC and delete them all only to find the were deleted from cache. (lucky nothing important was in them). I hope it helps the next person
December 31, 20178 yr Author Hi Squid, Your second point had me really confused until i deleted the files and saw the behavior. Can I ask what is the source of truth where the actual data resides? I.e. how do I make sure and know what really sits in the cache drive? You are right when I log via SSH the same directories appear in cache as they do in user share. Are these a type of symlink ? are there any CLI commands I should be aware of to know exactly where the real files sit? Thanks again
December 31, 20178 yr If you perform a command-line login (using the console, telnet, ssh) and then for example run the command "df", you'll notice that the path /mnt/user is not mounted from a specific disk path, but is a mount named "shfs". So it's just software that creates a virtual file system that responds to your requests and maps down to actual files on the different disk shares. This means that no files will ever be stored in any user share, since the user shares are just a "window" showing the merged content from other shares.
January 1, 20188 yr Author Thanks pwm that makes a lot of sense I now know to be careful when deleting things. I’ll stick to web GUI until I know the ins and outs Sent from my iPhone using Tapatalk
Archived
This topic is now archived and is closed to further replies.