/mnt/user/appdata vs /mnt/cache/appdata


Recommended Posts

13 hours ago, zoggy said:

to bring this back from the dead, why cant you switch between the two? (if you stop everything first) -- for example I have a mix mash of both methods across my dockers and want to normalize them to one way

No, there's isn't anything that say you "cant" switch between the two.

I prefer /mnt/cache for best performance (and stability e.g. I have never had the db corruption problem with Plex that plagued some Unraid 6.7.x users).  But then I have a 2TB cache + my temp space is mounted unassigned + I write direct to array so I never run out of cache space (unless there's a major problem)

Link to comment
  • 6 months later...
On 2/21/2017 at 6:39 PM, Squid said:

Whenever that supposed problem comes up, I bug everyone to post exactly how to reproduce, and no one ever can.  During 6.2 Beta days, Tom was very quick to fix any issues that docker container's appdata existing on user shares instead of disk shares.

 

To each their own though. The important thing is that the app runs correctly...

noob here, just finished initial install and neither my docker or vm are starting; I see the settings for docker & vm are pointing to /mnt/user/system.... and both have a warning that the path doesn't exist; looking at my system I see it created these automatically under /mnt/cache/system.... (when I looked at my "default" shares that were supposed to have been created automatically - per spaceinvader's video, none were created. I manually created appdata, domains, isos, & system after the fact. before just changing my settings for docker & vm to the /mnt/cache/.... I wanted to make sure there wasn't some other fix as squid was referring to possibly do

shark-dive-diagnostics-20200731-0118.zip

Link to comment
11 hours ago, SharkDiverToo said:

I see the settings for docker & vm are pointing to /mnt/user/system.... and both have a warning that the path doesn't exist; looking at my system I see it created these automatically under /mnt/cache/system.... (when I looked at my "default" shares that were supposed to have been created automatically - per spaceinvader's video, none were created. I manually created appdata, domains, isos, & system after the fact. before just changing my settings for docker & vm to the /mnt/cache/....

/mnt/cache/system is part of /mnt/user/system. The user shares are simply the aggregate of the top level folders on cache and array. The top level folder on cache named system is part of the user share named system.

 

And it doesn't look like you have any files on any shares.

 

Can your server reach the internet?

Jul 31 00:42:18 Shark-Dive shfs: error: get_limetech_time, 254: Connection timed out (110): -2 (7)
Jul 31 00:42:18 Shark-Dive shfs: error: main, 3391: Connection timed out (110): no devices

You can't start with a trial key without "phone home".

Link to comment

Yes, the server is able to get to the internet:

 

root@Shark-Dive:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=113 time=16.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=113 time=16.9 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=113 time=16.8 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=113 time=16.8 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=113 time=16.8 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=113 time=16.8 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=113 time=16.9 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=113 time=16.8 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=113 time=16.9 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=113 time=16.8 ms
64 bytes from 8.8.8.8: icmp_seq=11 ttl=113 time=26.9 ms
64 bytes from 8.8.8.8: icmp_seq=12 ttl=113 time=16.8 ms
^C
--- 8.8.8.8 ping statistics ---
12 packets transmitted, 12 received, 0% packet loss, time 11022ms
rtt min/avg/max/mdev = 16.751/17.662/26.855/2.771 ms

 

I haven't started adding files to the system yet, just trying to get it fully operational first.

Link to comment
On 7/31/2020 at 12:33 PM, trurl said:

/mnt/cache/system is part of /mnt/user/system. The user shares are simply the aggregate of the top level folders on cache and array. The top level folder on cache named system is part of the user share named system.

 

And it doesn't look like you have any files on any shares.

 

Can your server reach the internet?


Jul 31 00:42:18 Shark-Dive shfs: error: get_limetech_time, 254: Connection timed out (110): -2 (7)
Jul 31 00:42:18 Shark-Dive shfs: error: main, 3391: Connection timed out (110): no devices

You can't start with a trial key without "phone home".

If the /mnt/cache/system is part of /mnt/user/system as you stated then why doesn't unraid see the /mnt/cache/system/docker/docker.img file or the /mnt/cache/system/libvirt/libvirt.img file that are currently on my system (automatically created)?

 

When I open a terminal and go to /mnt/user/ there are no files or sub folfders (such as system) there.

 

I also don't know why the share folders are not showing up under the Shares Tab, User Shares (even after I tried to manually create them and there were no errors indicating they weren't created). In SpaceInvaders videos it shows I should see an isos, appdata, domains, & system. When I look under Shares, Disk Shares tab and click on the View Index of the cache I can see the appdata, system, and domains were created there. I think that is because I followed SpaceInvaders advice that those should be set as Prefer for cache. I set isos to go to array when I created that so I thiink that is why I see it on Disk1 when I look at it (nothing in the folder).

 

Also, not sure why it makes you think Internet isn't available, my license shows as Trial with 23 days left. It was able to reach out get that started. 

 

Any and all advice appreciated. :) 

If there any additional guides to read/watch that would be helpful, that would be great as well.

Link to comment

I went ahead and changed the docker and vm paths to point to the cache folders vs the user folders and they have come up (was holding off because of Squid's comments about fixing the cache vs user). Once I changed the path to use the cache folders the docker and vms came up (which I expected but wanted to make sure I was using best practices between the cache & user folders).

 

So I was trying to use a file as my keyfile, but it kept having issues, finally realized I had to create that file with the actual name of "keyfile" to get the encryption to start. Temporarily I have saved that file on my boot drive and setup it to be copied to the root at startup so the array will start. will move it to an ftps location and change the go file to support that later.

 

I created new user shares (Media, Downloads, & Data) and those are showing up in the Shares Tab now, I think the others I originally created didn't show up because I used locations/names that the system uses (just a thought).

 

Attached screenshot of Main Page as requested

 

I'm currently trying to find info to make sure I setup binhex-krusader and other apps, will be sending over isos at a later time, etc. still have some hardware mods to finish (adding some old drives, additional fan and heat sinks to my nvmes). Work in progress that is secondary to my work in progress on my house lol. BUt trying to squeeze it in.

unRaid_08-01-2020.png

Link to comment
24 minutes ago, SharkDiverToo said:

I think the others I originally created didn't show up because I used locations/names that the system uses (just a thought).

I think the reason you didn't have any user shares at all is because your array disks couldn't be read due to encryption. If any array or cache disks are unreadable it will sometimes break user shares completely.

 

20 minutes ago, SharkDiverToo said:

the appdata, domains, system under User Shares

If those folders exist at the top level of cache, they should show up in your user shares because cache is part of user shares.

 

Post new diagnostics.

Link to comment

Here is the latest Diagnostics. I appreciate you looking into this.

 

Is there any reason that I can't choose the Stable Branch under the Update OS? Is it because I started in the Next Branch with 6.9?

 

I haven't downloaded any dockers yet, just expanded the image and added a few more plugins, been reviewing more recommended plugins, etc.

 

If I need to start over now would be the time, thught the pre-clear and parity builds take some time lol.

 

As the screenshot above shows the appdata, domains, system, & isos still are not appearing in the User Shares. So as you said probably got broken when was having issues getting the encryption started. Is there a way to fix it or doesw it take a re-install?

shark-dive-diagnostics-20200801-2003.zip

Link to comment

I can turn that off, just was what came up as a default in the system, hadn't seen anything that indicated what to change from defaults. Still in the process of creating everything and working on getting dockers & vms determined, etc.

 

Seems to be stuck trying to shutdown the array. Here is the current screenshot of the Global Share Settings as requested however the array is having problems shutting down. I'll check on it in a little while to see if it finally shutdown.

 

 

 

 

unRaid_Global_Share_Settings_Array_Stopping_08-02-2020.png

Link to comment

SO this is starting to get funny, on 8/1 I had created several shares and they were the only ones appearing: Downloads, Data, & Media. The "standard" user shares were not appearing in the User Shares (appdata, domains, isos, system). After several reboots, now the standard User Shares are appearing but the Shares I added no longer appear.

unRaid_Shares_08-01-2020.png

unRaid_Shares_08-02-2020.png

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.