rebooted now vm's not showing


Recommended Posts

ok so im a litter curious why i would want my appdata to all be in cache, my cache is only 500g and my appdata folder has several TB of data in it, i only wanted to use the cache to dump files onto the machine and then move them into the array periodically. if i switch to prefer it will fill my cache all the time

Link to comment

Why would your appdata have several TB? Do you have your container applications configured to write downloads into appdata or something?

 

appdata should only contain the "working storage" of your containers. Downloads and other things the applications write should go to other shares.

 

appdata, domains, and system shares should be on cache because cache will give your applications and VMs better performance if their working storage is not impacted by the slower parity writes. And they should be on cache so they won't keep array disks spinning, since the files in these shares are in constant use.

 

Those shares are cache-prefer by default for those reasons.

 

I don't know what you have done but it is not the way people normally do it.

 

 

Link to comment
2 minutes ago, fagostini said:

this you are saying should help the vm's / dockers reappear ?

No it won't fix your problem, but the fact that you set things up this way may have something to do with the cause of your problems.

 

Which dockers do you normally run?

 

Apps - Previous Apps will let you reinstall your dockers just as they were, but just as they were doesn't seem like the correct way.

Link to comment

the dockers are less of a concern for me right now, so if i move all the excess data from appdata to a new share and change the share settings for the main ones to prefer the vm should stay after a reboot at least right?

 

originally i had plex docker and it saved the data to appdata so i changed the cache to yes so it wasn't full all the time, everything worked fine for months that way even after reboots. i changed a cpu pinning for the vms and when it came back up they disappeared.

 

thanks for all the info, when i got unraid it was difficult to get best practices from online and now it is biting me :/

 

so you think migrating the bulk storage of plex to a new share and changing the cache settings wont really solve the issues?

Link to comment
Just now, fagostini said:

the dockers are less of a concern for me right now, so if i move all the excess data from appdata to a new share and change the share settings for the main ones to prefer the vm should stay after a reboot at least right?

appdata doesn't have anything to do with VMs normally so I don't know what you have done there.

 

2 minutes ago, fagostini said:

originally i had plex docker and it saved the data to appdata so i changed the cache to yes so it wasn't full all the time, everything worked fine for months that way even after reboots. i changed a cpu pinning for the vms and when it came back up they disappeared.

2 minutes ago, fagostini said:

so you think migrating the bulk storage of plex to a new share and changing the cache settings wont really solve the issues?

The only things plex stores are its library, which can get somewhat large but nothing like what you have. Transcodes are also stored as a subdirectory of that library by default but that can be changed.

 

Other than that plex doesn't really write anything, except possibly DVR, which should be on another share. And any media you want plex to play should be on other shares and not appdata.

 

 

Looking again at your diagnostics it seems you don't actually have any shares except appdata, domains, isos and system. These shares are not intended for any of your media, downloads, or any other files you may want to write to your server.

 

appdata is strictly for the working storage of your containers. By working storage, I mean anything it might need to keep track of what it is doing. Plex, for example, has a database that it keeps track of where all of your media is stored and other information about that media. The media itself does not belong in appdata.

 

domains is strictly for your VMs. This is where the OS for each of your VMs goes. The VMs will typically access storage from other shares on your Unraid server.

 

isos is where the installation files for your VMs go. This will be where you save downloaded distributions of whatever OS you want to install as a VM.

 

system is where your docker image and libvirt images go. The docker image actually contains the downloaded executable code for each of your docker containers.

 

You should not be storing anything in these shares. They are for the system to use to manage your dockers and VMs.

 

Sounds like you need to rework almost everything. Do you have backups that would allow you to just start over?

 

Link to comment

i don't think i need to start over, i got the vm running in the beginning and i am already transferring everything out of the appdata folder, outside of the plex media nothing else should be an issue. originally the pex was a docker and i thought i had to store all its files together in the appdata section. major noob here

 

i do want to say thanks for explaining all the to me, i feel like an idiot for not figuring that out when i started.

Edited by fagostini
Link to comment

Mover moves cache-prefer shares from array to cache. Mover moves cache-yes shares from cache to array. Mover ignores cache-no and cache-only shares.

 

Mover cannot move open files, so it won't be able to move the system share and possibly the others unless you disable the Docker and VM Services in Settings.

Link to comment
2 hours ago, fagostini said:

so does it move the data back to array when the system powers off?

I'll leave out the part of your question about "when the system powers off" because I can't make any sense of it.

 

There is a process called Mover that runs on a schedule. Daily in the middle of the night is the default but you can change that. Mover is intended to run during idle time.

 

Each user share has a Use cache setting which controls how that user share uses cache. Mover uses these settings to decide whether to move the share from cache to array, from array to cache, or to just skip that share.

 

There is Help in the webUI. You can toggle Help for the whole webUI using Help (?) in the main menu. You can also toggle help for a specific setting by clicking on its label.

 

Rather than explaining all the details of how Unraid uses cache, I will give you some links and you can ask more questions after reading them.

 

https://wiki.unraid.net/UnRAID_6/Overview#Cache

 

https://forums.unraid.net/topic/46802-faq-for-unraid-v6/page/2/#comment-537383

 

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.