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.

Windows VM best practices

Featured Replies

I am getting ready to redo a few windows VMs this week and am looking to get some suggestions or best practice recommendations.  I am currently having an issue where I keep having to grow the size of my primary disk .  I know windows does have a tendency to do this.  I was thinking that when I rebuild the VM that I would keep just the windows install on the primary disk and then assign a second disk for all my programs.  Is this what most of you do?  Also curious how large you make the windows primary disk.

 

Any other tips or suggestions not listed in limetech's VM guides would be greatly appreciated!

 

Thanks,

Dan

 

I would say, generally primary vdisk should be strictly for Windows critical components. All apps go on a share (either mounted as a disk or as a symlink folder). That way you don't have to constant grow your Primary vdisk (nor Secondary vdisk).

Also if doing Windows 7 VMs then switch the VNC video driver to cirrus from QXL.  Using QXL you will never get past the "Starting Windows" screen on Windows 7.

 

 

 

 

 

 

Edit:  mispelled VNC :-[

I think preparing "base" VM helps a lot in the long run so you don't have to start from scratch every time you decide you need another VM with that OS.

 

I have 25GB "base" Win10 VM with all stuff I will need in every VM created out of it (so all updates at the time of creation, devices, drivers, applications like skype, slack, notepad++, windows commander, etc.). It's also activated Win10 so I wouldn't have issues when I clone it (I have several keys from kinguin but only used one so not leeching anything, money got paid).

 

That VM initially had 150GB vdisk but then I realized that's silly because copying that vdisk around takes some time even on ssd. Also not every VM will need so much space. So I cleaned up what I could within Win10 (like 9GB of Windows.old even though I did new clean installation not an upgrade) and got under 20GB with all files. So I shrunk it to 25GB and now I can spawn new "clone" in matter of seconds.

 

Now I have private VM resized to 50GB and work VM resized to 100GB. Also another 50GB VM hosting MSSQL server and IIS I use for my work and private development projects.

 

Also I think good idea is to put your VMs vdisks on out of array SSD, not on cache SSD (xfs is much better for running VMs than btrfs). Thing that a lot of newbies lured to unRaid by Linus and his "X gamers, 1 CPU" videos misses when they configure their setups :) Just install Unassigned Devices plugin, mount SSD not added to array and that's all.

I think preparing "base" VM helps a lot in the long run so you don't have to start from scratch every time you decide you need another VM with that OS.

 

I have 25GB "base" Win10 VM with all stuff I will need in every VM created out of it (so all updates at the time of creation, devices, drivers, applications like skype, slack, notepad++, windows commander, etc.). It's also activated Win10 so I wouldn't have issues when I clone it (I have several keys from kinguin but only used one so not leeching anything, money got paid).

 

That VM initially had 150GB vdisk but then I realized that's silly because copying that vdisk around takes some time even on ssd. Also not every VM will need so much space. So I cleaned up what I could within Win10 (like 9GB of Windows.old even though I did new clean installation not an upgrade) and got under 20GB with all files. So I shrunk it to 25GB and now I can spawn new "clone" in matter of seconds.

 

Now I have private VM resized to 50GB and work VM resized to 100GB. Also another 50GB VM hosting MSSQL server and IIS I use for my work and private development projects.

 

Also I think good idea is to put your VMs vdisks on out of array SSD, not on cache SSD (xfs is much better for running VMs than btrfs). Thing that a lot of newbies lured to unRaid by Linus and his "X gamers, 1 CPU" videos misses when they configure their setups :)Just install Unassigned Devices plugin, mount SSD not added to array and that's all.

 

Excellent info. The last part is what I was looking to confirm. About to take the wraps off the first SSD going into my unraid box specifically for a Windows 10 VM. Haven't played *at all* with VMs yet so I hope it's relatively painless. Now I know where to start!

How did you shrink a VM though?

xfs is much better for running VMs than btrfs.

 

Do you have any sources or information to back this statement?

I'm genuinely curious, but also have my doubts to the validity of the recommendation.

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.