Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Force Certain VMs to use Array instead of Cache

Featured Replies

I'm looking for a way to make certain VMs use the array as opposed to cache. I have two use-cases for this. One being that I would like to have several VMs with larger hard drives. I don't want them chewing through my cache drive, so I would prefer to have them use a small fraction of my primary array space. The other being that I would like to have a pfSense VM and from what I've heard, those can be a little rough on SSDs. The only problem is, I would also like to have most of my VMs on the cache. When assigning where to keep the domains share, we are given 4 options for the cache drives. No, Yes, Only, and Prefer. If my understanding of these is correct, no will not work because it doesn't allow me to use cache. Yes won't work because it moves everything from my cache to my array when the mover is invoked. Only won't work because it doesn't allow me to use my array. Prefer won't work because it moves everything from my array to my cache when the mover is invoked. Is there some sort of thing that just says "Allow me to keep everything where I originally put it"? Thank you in advance.

 

EDIT: I had an idea right after I posted this. I'm going to try it out, but also post it here to get an opinion on going about it this way. I created a share named "domains-array" that is set to No for the use cache option. I'm thinking I should be able to set up new VMs and set the hard drive location to manual and tell it to save the hard drive there. I have no reason to think that the hard drive would get moved after doing it this way. Does anyone have any input on whether or not this is the way this should be done?

Edited by bamhm182

  • Community Expert

I think you are over-thinking this!.   You can always specify a specific disk for the vdisk of your VMs.    That way you bypass the User Share System System and have absolute control over where the vdisk is placed.

  • Author

I swear I tried that and it moved my VM to the cache when the mover pop'd. I'll try it again for sanity sake. Thanks.

  • Community Expert
36 minutes ago, bamhm182 said:

I swear I tried that and it moved my VM to the cache when the mover pop'd. I'll try it again for sanity sake. Thanks.

That will only happen if you put it into a folder that has a name corresponding to a share which is set to Cache=Prefer.   Remember that all top level folders on array drives are effectively User Shares.

  • Author

So you're saying it will move it over if it tries to put it in /mnt/user/domains/myArrayVM/disk1, but I specify to put it on disk 3 in the array and my domains share is set to prefer? If that's the case, I would still have to make a domains-array share and save the vdisk in /mnt/user/domains-array/myArrayVM/disk1

 

EDIT: I ran a few tests. Putting a vm on disk 3 while domains was set to preferred ended up having the vdisk move to the cache. Putting the vm on domains-array where domains-array is set to force the use of the array allowed me to have to the vm disk on the array. I'm just going to manually set their drive directory when I need them on the array. It doesn't happen very often, so it shouldn't be a huge issue.

Edited by bamhm182

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.