TrueNAS Scale Virtualization Features and How To Get Started Building VM's

  Рет қаралды 60,242

Lawrence Systems

Lawrence Systems

Күн бұрын

lawrence.video/truenas
VM Bridge Forum Post
www.truenas.com/community/thr...
Connecting With Us
---------------------------------------------------
+ Hire Us For A Project: lawrencesystems.com/hire-us/
+ Tom Twitter 🐦 / tomlawrencetech
+ Our Web Site www.lawrencesystems.com/
+ Our Forums forums.lawrencesystems.com/
+ Instagram / lawrencesystems
+ Facebook / lawrencesystems
+ GitHub github.com/lawrencesystems/
+ Discord / discord
Lawrence Systems Shirts and Swag
---------------------------------------------------
►👕 lawrence.video/swag
AFFILIATES & REFERRAL LINKS
---------------------------------------------------
Amazon Affiliate Store
🛒 www.amazon.com/shop/lawrences...
UniFi Affiliate Link
🛒 store.ui.com?a_aid=LTS
All Of Our Affiliates that help us out and can get you discounts!
🛒 lawrencesystems.com/partners-...
Gear we use on Kit
🛒 kit.co/lawrencesystems
Use OfferCode LTSERVICES to get 10% off your order at
🛒 lawrence.video/techsupplydirect
Digital Ocean Offer Code
🛒 m.do.co/c/85de8d181725
HostiFi UniFi Cloud Hosting Service
🛒 hostifi.net/?via=lawrencesystems
Protect you privacy with a VPN from Private Internet Access
🛒 www.privateinternetaccess.com...
Patreon
💰 / lawrencesystems
⏱️ Time Stamps ⏱️
00:00 TrueNAS Scale Hypervisor (add timestamp for demo)
01:04 Working Features
03:00 VM Bridge Issue
04:51 Missing Features
07:24 How To Build A VM
10:48 VM Management
11:52 Cloning Vitrual Machines
12:32 VM Zvol Management
13:13 Device Management
13:48 VM Snapshots
#TrueNAS #NAS #virtualization

Пікірлер: 97
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
lawrence.video/truenas VM Bridge Forum Post www.truenas.com/community/threads/accessing-nas-from-vm-still-broken-without-bridge.106033/post-729793 ⏱ Time Stamps ⏱ 00:00 ▶ TrueNAS Scale Hypervisor (add timestamp for demo) 01:04 ▶ Working Features 03:00 ▶ VM Bridge Issue 04:51 ▶ Missing Features 07:24 ▶ How To Build A VM 10:48 ▶ VM Management 11:52 ▶ Cloning Vitrual Machines 12:32 ▶ VM Zvol Management 13:13 ▶ Device Management 13:48 ▶ VM Snapshots
@openappse
@openappse Жыл бұрын
Just want to thank you for your unique commitment to the industry. We need more like you.
@TrueNAS
@TrueNAS Жыл бұрын
As usual, Tom, fantastic video! We can't wait to show you and the community some exciting things that we are cooking up for 2023! Cheers!
@urzalukaskubicek9690
@urzalukaskubicek9690 Жыл бұрын
Please make it easier for new VMs to be able to talk/see to TrueNAS. As Tom said, TrueNAS is NAS first, so we usually want to be able to read/write some data that is on TrueNAS dataset(s) from inside VM, currently setting this is really cumbersome, because by default the newly created VM can't see/ping TrueNAS. Thanks 🙏
@v2point0
@v2point0 Жыл бұрын
Well, thanks for convincing me this is exactly what I want for my setup! Its not too "fluffy" with features I do not need at my scale but gets the job done.
@stevmoon
@stevmoon Жыл бұрын
To have your virtual machine talk to the host is to configure a bridge on your network adapter. 20Gb/s on the virtual interface should be plenty of speed for your VM to communicate to the host.
@nathanielescudero5379
@nathanielescudero5379 Жыл бұрын
Thanks for producing the best vids about truenas scale that I've seen. If I have one wish it would be to drill down more for us enthusiastic newbs who need a more step by step guide and explanations of all the features that you (and many KZfaqrs) skim over assuming prior knowledge. Of course you may not want to bore the already familiar but tutorial videos for beginners would be great. For example setup VM, Different use cases for clone, snapshot and replication. Off-site backups? A friend and I are trying to make 2 server to run VM game servers, one at each site. We'd like to build in some data resilience. We also hit the snag of the host/VM visibility so a guide for the work around would be great. Sorry for the big wish list but we hope you'll be our teacher on this. :)
@Maisonier
@Maisonier 11 ай бұрын
After 4 months what did you do?
@nathanielescudero5379
@nathanielescudero5379 11 ай бұрын
@@Maisonier Sorry but after 4 months it's a distant memory. I think it may have had something to do with the IP setup of the VM's
@veritanuda
@veritanuda Жыл бұрын
Just FYI the limitations in features are not part of KVM it can do both clustering and backing up of VMs. I am guessing who ever is working out the logic for the GUI hasn't figured out how to present that yet. But it is only a matter of time. As to VMs not accessing the host by default, that is definitely a feature, not a bug. As you alluded usually it is a separate VM and NAS and would always have some sort of credentials certificates between them. To access and NAS share though the VM you should just add the local share the VMs pool instead. It would be redundant to rely on networking protocols when you access the raw dataset locally anyway. Good video though and I am happy to see Scale coming on with leaps and bounds. Cheers
@DiStickStoffMono0xid
@DiStickStoffMono0xid Жыл бұрын
hey tom, thanks for that video :) another note on truenas scale that might be of interest for anyone: it seems like power saving options do not work very well if you transfer your installation to a different system (mainboard / cpu upgrade). i did have to reinstall the system and restore config to get all cpu c-states to work etc. just a heads up :)
@terrysimons
@terrysimons Жыл бұрын
They're using qemu under the hood, and qemu requires a tun/tap interface to interact with the host, and because of that, it's required to bridge that interface to any networks that might be natively on the host. TrueNAS probably needs to build some infrastructure around their qemu support to enable this to work smoothly.
@NickF1227
@NickF1227 Жыл бұрын
Hey I was featured in the video that’s my thread ❤❤❤
@NickF1227
@NickF1227 Жыл бұрын
You should check out my other thread about how insecure the VNC implementation is (and sometimes broken!)
@goncaloduarte8675
@goncaloduarte8675 Жыл бұрын
Grate video Thank you. Can you explain how to determine with USB controller we have on the system to make the USB Passthrough Device :)
@nyccontrabass3489
@nyccontrabass3489 8 ай бұрын
Man, I understood very few of the technical terms you used. I’m such a beginner.
@christopherpeterson6004
@christopherpeterson6004 Жыл бұрын
Any idea if we can restore vm's backed up with XCP-NG on a local dataset via NFS? I'm looking to match features for Datto backup. Also looking for a more intuitive Web interface which can organize snapshots vs Full backups
@mountaintime6700
@mountaintime6700 Жыл бұрын
Tom, Can you do an updated video on how APPs (and TrueCharts) Use SSL Certs? It looks like the choose certificate option is deprecated and there is no info in the Docs on the new options or why APPs don't pick up renewed wildcard certs.
@ryzenforce
@ryzenforce Жыл бұрын
Don't forget that TrusNAS scale is (announced) an hyperconverged virtualization platform (like HP Simplivity, Nutanix, etc) but also offer the other stuff like file sharing (NAS) and application hosting all in one box with no licensing. What I want to see is how to put those TrusNAS scale in cluster. Now let's watch the video.. ;-P
@pkt1213
@pkt1213 Жыл бұрын
So this will probably be my move when rebuilding my home setup. I have 2 optical drives I need to attach to my system.
@JavierEstebanSancho
@JavierEstebanSancho 9 ай бұрын
Hi and thanks for the video, I have a question. How can I add true nas storage to virtual machine? Also it's a good Idea tu use this kind of virtual machine to install docker and there install all the containers like plex, navidrome, etc..?????
@SqreurDJ
@SqreurDJ Жыл бұрын
I'm still doubting in what I should do with my server. I'm using it now as a windows server file sharing server. I'm doubting between Proxmox (with a windows vm filesharing and several other Vm's) or Truenas with builtin filesharing and several VM's.
@sagarsriva
@sagarsriva 10 ай бұрын
Thanks
@ThineHolyBacon
@ThineHolyBacon Жыл бұрын
I've tried to think of usecases where it makes sense to run a VM on the NAS, and my best use casse really is A) Very small 1-25 employee businesses that only need a basic DC + File share, or B) Read-only DC/DNS for a remote site (and it's offsite storage), or C) A jump client to be able to perform management on some of the other infrastructure. Of course there are other strategies, but I know clients for some of the sites I help manage that would sufficiently run, or run better with, the VM running directly on the box that hosts a more robust storage box vs Storage + Vm host + networking to make that work well.
@WarrenGarabrandt
@WarrenGarabrandt Жыл бұрын
I have a VM running on my NAS simply to mount all the shares and upload them to cloud storage for backups. That's all that VM does.
@ThineHolyBacon
@ThineHolyBacon Жыл бұрын
@@WarrenGarabrandt Oh that's a pretty good idea for Cloud based backup solutions that don't natively integrate with the NAS like Barracuda MSP or something. Nice idea!
@majorgear1021
@majorgear1021 6 ай бұрын
TN is my all in one solution. Since custom apps only support a single image, I use a VM to run apps that require multiple images, also known as docker stacks.
@pepeshopping
@pepeshopping Жыл бұрын
Still staying with ESXi after testing Proxmox and Truenas scale. May convert my Tryenas Core systems to Scale, but don’t have any reason just yet.
@accesser
@accesser Жыл бұрын
@12:59 this is cool, is that a common feature amongst other hypervisors if they have a ZFS mount?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
Depends on how they implemented it.
@jeffhex
@jeffhex Жыл бұрын
Thank you for this video. Do you have any experience running docker containers other than the TrueNAS Apps on TrueNAS scale?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
Yes, but not well enough to make videos about it.
@jeffhex
@jeffhex Жыл бұрын
@@LAWRENCESYSTEMS Thanks for the response. I'm still looking for more info about that. It seems given the way TNS runs their virtual machines, doing lightweight VMs with containers may be a better option, but I don't yet really get how to manage them in their interface.
@majorgear1021
@majorgear1021 6 ай бұрын
Good Q! I’m using custom apps and bridged networking to run apps and given them their own IP’s so that I don’t need to use port forwarding to make them accessible. However , if you have a multi-container app , like one with a web front end and db backend, running native docker in a VM is probably your best bet.
@Lindomar850
@Lindomar850 Жыл бұрын
friend can't install vm on supermicro x9dbl-if 2x e5-2470v2 not add 20 cores,40 threads vm, The product of vCPUs, cores and threads must not exceed 255 on this system. truenas scale, do you have an idea? thanks!
@user-xk7ly8js1d
@user-xk7ly8js1d Жыл бұрын
When creating a VM und want to upload the ISO-image via the WebUI it always gives me a 403 Forbidden error. Tried several permission settings for the dataset to upload but with no success. Tom did not show his upload in the video thus I can’t learn from him how to do. Who can help me out?
@melchorcarino9375
@melchorcarino9375 Жыл бұрын
VM access to Internet over bridge (IP with TCP Port Aliases ) or NAT is essential for me. Its better to develop websites on isolated environment before deploying it to the Server. I'm currently developing Multiple Websites with various versions and brands of Database and Host.
@brandonmartino1363
@brandonmartino1363 11 ай бұрын
the networking issues stems from a similar sriov pcie device problem with net ROM options and what is known as nic promiscuous mode. Not all nic(Netwrok Cards) support this mode, with short in short can support vlan bridge traffic to host. simalr with dockers and mac_vlan network setps where host traffic and docker traffic for "security" are designed as such. But i agree there should be a checkbox to software or have host traffic accessible without the need of passing a nic card to the VM.
@brandonmartino1363
@brandonmartino1363 11 ай бұрын
This is why in proxmox the network is set to a bridge for traffic ...
@jb-mq3iv
@jb-mq3iv Жыл бұрын
It is possible to set dynamic memory to VM? Can't find this information anywhere. Thanks!
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
Nope, not an option.
@_m.a-x
@_m.a-x 10 ай бұрын
Mr. T, I have a rather weird question, but trust me it makes sense given my deployment scenario. -- can you virtualize a Hyper-V hypervisor (nested virtualization) on TrueNAS Scale? Looking forward to your response, or anyone who might chime in to clarify.
@harrytsang1501
@harrytsang1501 8 ай бұрын
I'm speaking from experiences with proxmox and see if you can find the equivalent since it's just KVM under the hood. I understand that as you'd want WSL2 in a Windows guest - Intel needs CPU model set to Skylake-Client-noTSX-IBRS, with args '+vmx,-hypervisor' - AMD needs host with args '+svm,-hypervisor' Enabling hyper v makes everything in guest windows 12% slower because the whole windows became a guest OS
@M3PH11
@M3PH11 Жыл бұрын
1:57 or, as in my case, if you have a highpoint nvme raid card you want to use inside a vm
@bartgrefte
@bartgrefte Жыл бұрын
Just out of curiosity, how do you choose and set up the physical VM-storage, is it as simple as putting two NVMe drives in a mirror or is there more to it with TrueNAS and ZFS?
@UntouchedWagons
@UntouchedWagons Жыл бұрын
VM storage can be as simple as that.
@aemonblackfyre4159
@aemonblackfyre4159 Жыл бұрын
Depends on what you need I guess You might have a couple of ssds in raid10
@bartgrefte
@bartgrefte Жыл бұрын
@@aemonblackfyre4159 Just something to run a couple of VM's (HASS, Windows) and docker containers for databases and some other things. So no need for SLOG or something like that?
@UntouchedWagons
@UntouchedWagons Жыл бұрын
I find the CPU settings confusing. I run Scale on a Poweredge R420 which is a dual CPU system. If I want to give a VM access two 2 cores on each of the 2 CPUs what do I set those settings to? 4, 2 and 2? The little help bubbles aren't very helpful in my opinion. In proxmox I just set the number of sockets and cores then enable NUMA. Also how are you supposed to backup these VMs?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
You can backup the ZVOL via replication to another ZFS.
@lemingtonstation9899
@lemingtonstation9899 Жыл бұрын
How did you get the vm to speak to the host for the iso every time I try to do it it tells me there’s no permission to do this
@questionablecommands9423
@questionablecommands9423 Жыл бұрын
Using the VM feature in TrueNAS seems like the ideal place to fire up a PXE boot/provisioning server like Foreman or MASS.
@ColbyPerry
@ColbyPerry Жыл бұрын
I'm working on a configuration/deployment where I'm aiming to use TrueNAS Scale and have it host a Windows Server VM that will have WDS enabled and working to PXE boot into a WinPE environment.
@ShiggitayMediaProductions
@ShiggitayMediaProductions Жыл бұрын
So if I understand what you said Tom regarding TNS networking in VMs, virtualizing something like Opnsense or pfSense wouldn't work well if at all? I just setup TNS out of curiosity and as a replacement for Core for my uses, and I love it... If I could take my QTOM or w/e miniPC's SSD out and plop it into my TNS server with PCI passthrough that'd be awesome. Please let me know what's possible.
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
Might work but not something I have tested.
@M3PH11
@M3PH11 Жыл бұрын
never virtualise your network edge protection
@ShiggitayMediaProductions
@ShiggitayMediaProductions Жыл бұрын
@@M3PH11 wut?
@NBCJackBauer
@NBCJackBauer 8 ай бұрын
Hello! Could somebody please point me to a tutorial or video on how to give a VM (Ubuntu) an IP address outside of my DHCP range? I have two NICs in my Truenas System. One gets its IP adress via DHCP from my router (192.168...) and the other is configured with a static IP (10.10.0...). I'd like to have my VM an address from the 10.10... range, but even if I attach the second NIC in "Devices" to it, it will always get an IP of 192.168....X. I can't find a comprehensive walkthrough on this so any help is much appreciated!
@rimsoned3828
@rimsoned3828 Жыл бұрын
I would love a discussion video about the clustering abilities of truenas scale
@stephenreaves3205
@stephenreaves3205 Жыл бұрын
whoo hoo!
@tedcalouri2694
@tedcalouri2694 4 ай бұрын
Every TrueNAS SCALE tutorial I find on VM hosting glosses over networking. I have no issues creating the VMs but getting them on the network is an entirely different proposition. I create linux VMs and am unable to update repositories or host services because the procedure you provided (and many other KZfaq hosts) do not go over network setup. A VM that is completely offline has limited value. Do you have a video on getting TrueNAS VMs on your local network?
@tedcalouri2694
@tedcalouri2694 3 ай бұрын
I contacted TrueNAS scale support. While TrueNAS scale VMs are able to interact with the NAS storage itself, they have not validated a usecase where VMs hosted on the NAS are accessible by other systems on the LAN. You cannot for example host a simple webserver for clients on your LAN.. How is that valuable as a VM host?
@sagarsriva
@sagarsriva Жыл бұрын
Great video as always. What would be the best way to access files etc. in a zfs dataset ( which is NFS/SMB shared) with an Ubuntu VM inside the TrueNAS given host networking communication is missing?
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
Configure the bridge networking as mentioned in the forum post.
@sagarsriva
@sagarsriva Жыл бұрын
@@LAWRENCESYSTEMS ok thanks will find the doc
@ShedewrS
@ShedewrS Жыл бұрын
Which option is better to use now: - TrueNAS Scale? - Proxmox+TrueNAS Core? - Or does Proxmox+TrueNAS Scale make sense? Because now the difference between TrueNAS Scale and Proxmox is getting smaller and smaller.
@dryounas
@dryounas Жыл бұрын
how about proxmox unraid?
@SpookyLurker
@SpookyLurker Жыл бұрын
I personally prefer Proxmox for VMs. I'd use Core if I had enough drives to make a proper ZFS array.
@Carlos-Rodrigues
@Carlos-Rodrigues Жыл бұрын
I still continue with Proxmox. Flexibility, easy to maintain the cluster, ZFS mounting disks across the cluster and VM replication/forward to another PRX server ❤️
@majorgear1021
@majorgear1021 6 ай бұрын
It depends on your needs.I recently downscaled from 3 proxmox servers and 8 vm’s to one TNS server with no vm’s. It’s much simpler to maintain and also saves $$$ on electricity!
@NickyNiclas
@NickyNiclas Жыл бұрын
Started virtualizing TrueNAS Scale on top of proxmox instead of dealing with all the shortcomings.
@Mr.Leeroy
@Mr.Leeroy Жыл бұрын
What's the point of virtualizing Scale and not Core?
@NickyNiclas
@NickyNiclas Жыл бұрын
@@Mr.Leeroy I'm currently learning Scale by using it in my homelab and I actually prefer it now after getting used to it. I run Core virtualized the same way but that's mostly to stay up to date on what's new.
@stacygirard647
@stacygirard647 6 ай бұрын
hi im getting soon a old pc for my nas (first nas ill have) i wish i had bigger one but wanted one fast and i need to save to get a better system for it so i get this one this week (2nd hand pc ) not very good pc at fist i planed to put proxmox and true nas as vm on it but cause i ll have only a i5 6th gen so 4 core 8 thread , wiht only 16 gig ram (this part will be upgraded in a few weeks or month) when i do cause i wont use proxmox on this one ill use that vm to use linux ill be experiencing on this one then when i get my bigger server ill have a better machine and better knowledge of what to do :-) i decided to go wiht 3 ssd for hard drive ( plus 1 for isntalation and one for the cache) . so untill i get it (cause im waiting the guy to come to bring it ( up untill this weekend) until i installed it on my laptop(the pc i have here)as a vm to start to experiement on how example to implement aps(like my next cloud ectÈ=_ so ill scheckseveral of video too about it
@castigo1986
@castigo1986 Жыл бұрын
Ah, JGreco. Nuff said.
@bashkimalija9948
@bashkimalija9948 Жыл бұрын
Has trueNAS scale been fixed? Im thinking of the bug on slow disk speeds.
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
Still testing to see how it compares to Core.
@bashkimalija9948
@bashkimalija9948 Жыл бұрын
@@LAWRENCESYSTEMS i really appreciate your time and work. This "bug" is the only thing holding me back from moving over. Cant wait to see an update on Truenas Scale performance.
@johnroz
@johnroz Жыл бұрын
I can’t wait for TrueNas Scale to mature so I can switch away from VMWare. XCP-NG won’t run on my 12th Gen Intel.
@ryzenforce
@ryzenforce Жыл бұрын
For XCP-ng, as long as they remain on a CentOS kernel (because Citrix Xen is on RHEL), I will not use that as an hypervisor. Too risky with Ryzen processors. Promox is still my go-to home setup as it is based on Debian and it just works on everything.
@UntouchedWagons
@UntouchedWagons Жыл бұрын
XCP-ng has a super ancient kernel so I'm not surprised that it doesn't support 12th gen. Try Proxmox, it ships with a 5.15 (IIRC) kernel but 5.19 is available.
@LAWRENCESYSTEMS
@LAWRENCESYSTEMS Жыл бұрын
I did no know it was not supported, did you post in their forums?
@ryzenforce
@ryzenforce Жыл бұрын
@@LAWRENCESYSTEMS They have issues with it, and more with the 13th gen and Zen 4 at the moment.
@rigell2764
@rigell2764 Жыл бұрын
So, it's basically turning into unraid
@majorgear1021
@majorgear1021 6 ай бұрын
Unraid Pro
@zer0th
@zer0th Жыл бұрын
So you created a 4 cpu 4 core vm, cloned it, and they were each 2 cpu 2 core, then deleted the clone, and the original vm reverted to 4 cpu 4 core. Interesting.
@takavar2
@takavar2 Жыл бұрын
The moment I see jgreco username and that stupid grinch avatar in a thread i stop reading that link and look elsewhere for answers. If he shows up you know there will be no answers, only smug self congratulatory garbage and belittling the user for wanting to do anything at all.
@diavuno3835
@diavuno3835 Жыл бұрын
Sounds less refined than synology vms
Getting the Most Performance out of TrueNAS and ZFS
18:31
Techno Tim
Рет қаралды 70 М.
I had VDEV Layouts all WRONG! ...and you probably do too!
17:42
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 58 МЛН
Whyyyy? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 20 МЛН
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 51 МЛН
Downsizing my Home Lab to a SINGLE PC
17:56
Raid Owl
Рет қаралды 285 М.
Don’t run Proxmox without these settings!
25:45
Christian Lempa
Рет қаралды 108 М.
Migrating to a New Hypervisor!
24:25
John's Tech
Рет қаралды 2 М.
The Difference Between TrueNAS Scale and TrueNAS Core
13:36
Lawrence Systems
Рет қаралды 154 М.
HomeLab Services Tour 2024 - What Am I Self Hosting?
40:00
Techno Tim
Рет қаралды 370 М.
How To Setup TrueNAS Scale Apps With Shares For Host Path Volumes
14:12
Lawrence Systems
Рет қаралды 66 М.
How Much Memory Does ZFS Need and Does It Have To Be ECC?
6:59
Lawrence Systems
Рет қаралды 48 М.
TrueNAS vs Unraid - Which one is the BEST NAS OS for my HomeLab
19:23
Explaining ZFS LOG and L2ARC Cache: Do You Need One and How Do They Work?
25:08
Building A DIY NAS On A Budget - TrueNAS Scale
17:09
Hardware Haven
Рет қаралды 1,2 МЛН
5 НЕЛЕГАЛЬНЫХ гаджетов, за которые вас посадят
0:59
Кибер Андерсон
Рет қаралды 1,6 МЛН
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
i love you subscriber ♥️ #iphone #iphonefold #shortvideo
0:14
Si pamerR
Рет қаралды 3,7 МЛН
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 1,8 МЛН