How to run TrueNAS on Proxmox?

How to run TrueNAS on Proxmox?

Christian Lempa

2 года назад

220,964 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Shoult55
Shoult55 - 20.09.2023 23:53

The question is not HOW do I run TrueNAS as a VM under ProxMox. The question should be why would you want to? Other than file store services, TrueNAS does nothing that ProxMox doesn't do better. But wait. You can run a fileserver in a container in ProxMox. The storage devices in that container can use ZFS. If you want media services you can easily run Jellyfin in that same container serving content off your ZFS file store. And that file store can easily be shared out to your Windows, Linux and Mac machines on your network.

This is exactly what I have setup. A ZFS fileseve/JellyFin server and it runs in a mere 600Mb of RAM (excluding ZFS cache). On a low power Intel N305 CPU it idles at .16% usage and with two Jellyfin clients and several simultaneous file transfers I've yet to see CPU rise past 35%.

I love TrueNAS and I love ProxMox but when I found out how light a touch I could replace TrueNAS with, well for now I'm done with TrueNAS.

Ответить
Robert.Jay Mercer
Robert.Jay Mercer - 06.08.2023 00:36

Hello Christian, thanks again for your great content. Quick question, could you tell me what kind of terminal you re using? I kind of like the look of the interface...
Thank you again

Ответить
シムカ
シムカ - 03.08.2023 00:03

what i really didn't like and recommend - it to virtualize core infrastructure elements like NAS. Despite for someone it could sound like good idea, on practice - if the virtualization server fails (hardware or software) - would fail everything on it. Same for workloads, NAS would use shared cores - and even if the cores would be pinned - the L1, L2, L3 cache is shared - thus would impact the nas performance. And i'm not quite see any benefits in virtualizing it - just get some mini-itx arm based pc, several jbods and several pci sas hba controllers - done. You can build SSD/HDD/M2 or mixed configurations, no problem

Ответить
Chris Carruthers
Chris Carruthers - 20.07.2023 23:25

Followed this. Worked like a charm.

Ответить
Bobby Bologna
Bobby Bologna - 20.07.2023 05:53

I'm just trying to figure out...why?

Ответить
Pablo Martinez
Pablo Martinez - 19.07.2023 23:58

bist du deutscher ?

Ответить
GerrysPlace
GerrysPlace - 15.07.2023 15:06

I like this vid. Good insight.

Ответить
Declan Kiernan
Declan Kiernan - 13.07.2023 11:20

love the honesty and dedication man, keep going :)

Ответить
Zach Boatwright
Zach Boatwright - 09.07.2023 01:08

Does the hard drive you pass through have to only be used by Truenas? As an example, I have a large hard drive that has files for home assistant and Jellyfin on it. Do I need to move those to another hard drive before passing it through to Truenas?

Ответить
Rodrigo cSouza
Rodrigo cSouza - 03.07.2023 00:37

Hi Christian and everyone, with the passthrough of the disks to Truenas, do you have the SMART tests working? I can't see any tests results and even if I try a manual run, I got an error message "Short offline self test failed [unsupported scsi opcode]", does not matter the type of test selected.

Ответить
Javier García González
Javier García González - 01.07.2023 19:31

You're just an amazing mentor! Thanks for all the knowledge, much appreciated

Ответить
Greg Stearns
Greg Stearns - 19.06.2023 19:28

One little thing (and I've been seeing this in a lot of similar tutorials), but "SCSI" is pronounced "Scuzzy". Probably not something that comes up a lot if you didn't work in enterprise storage in the 90s, so I'm not surprised that nobody else has mentioned it

Ответить
Dave Laporte
Dave Laporte - 14.06.2023 03:38

Thank you! This was a great video!

Ответить
Poncho Bob
Poncho Bob - 10.06.2023 21:39

let's say that i've setup a truenas/freenas or unraid within a vm. and i want this nas to use my to 2 harddrives in raid 1. would that be possible?

Ответить
Matthew Briffa
Matthew Briffa - 03.06.2023 06:14

I do not know when this happened, but now my internal SATA controller is in a seperate IOMMU group.
I seem to be able to pass through just fine without having to resort to the work around.

Anyone else find this?

Ответить
Brighton Sikarskie
Brighton Sikarskie - 11.05.2023 08:14

I loved that you showed how to do it without pcie passthrough, every tutorial did pcie which wouldnt work for my setup! Thank you so much!!

Ответить
Krautmaster86
Krautmaster86 - 04.05.2023 22:59

currently im running a ITX Server with 16x LSI in a similar config, DMZ, 10G, LAN, Truenas Core VM on Server 2019 and passing the LSI to the VM. Im thinking about switching to proxmox due to ur videos or... stick with installing Truenas Scale as main OS on the server. It has 2x2TB SSD Raid 1 which is used for all kind of VMs for now, but i wonder if this fits fine for Truenas Scale and how the virtualization is on that. 2TB would be massive waste for Truenas only. Most VMs i currently use are fine in Scale with Apps, Plex, Nextcloud, but sometimes app dont fit and therefore virtualiszation would be ideal. thus i never worked with proxmox and i think truenas scale as main OS should be quite capable on Vms too + cloudflare tunnels for all of the apps to be accessible

Ответить
pr0jectSkyneT
pr0jectSkyneT - 04.05.2023 21:55

How do you install the qemu-guest,-agent on the TrueNAS Core VM?

Ответить
drachenfliger 13
drachenfliger 13 - 11.04.2023 17:01

Now, there is a confusing topic to me, which is File system, you mentioned that truenas(core) had its own software raid, proxmox uses a software raid aswell, but what about the hardware raid card in a server how to configure it correctly then?

Ответить
Melroy van den Berg
Melroy van den Berg - 06.04.2023 00:24

Don't use ZFS on consumer SSDs... In that case avoid ZFS.

Ответить
VilleF1N
VilleF1N - 02.04.2023 21:11

Would be really cool if you could do a video about importing existing pools from other NAS' such as QNAP and Synology into TrueNAS. Totally not asking because that's what I need to figure out since my QNAP kicked the bucket or anything...

Ответить
matthijs leenhouts
matthijs leenhouts - 24.03.2023 03:55

Can you use TrueNAS core as a shared storage server for your vm's end containers on proxmox? mount it by nfs or iscsi end a separed server as proxmox virtualization server? i have 2 hp proliant servers? HP ml350 g6 treunas server end Hp dl360p g8 with 172 gb ram proxmox server?

Ответить
roland jay moris
roland jay moris - 16.03.2023 18:33

is this work on raid 5 server ?

Ответить
Ivars R.
Ivars R. - 11.03.2023 23:00

there is Linux command: blkid

Ответить
Richard Gerrard
Richard Gerrard - 10.03.2023 07:45

champion, excellent guide as always

Ответить
Björn
Björn - 05.03.2023 18:45

Hallo Christan, sobald ich meinen HBA Controller durchreiche bootet TrueNAS nicht mehr, selbst beim manuellen auswählen des TrueNAS Boot HDD im SeaBIOS. Problem mit der Methode einzeln durchzureichen SMART TESTS funktionieren nicht. :( Wäre cool wenn du ein Video dazu machen könntest.

Weitere infos: Bei kommt beim Booten mit HBA immer der Fehler "this harddrive is only a truenas data partition" oder so ähnlich, aber ohne HBA funktioniert es. Die bootreihenfolge ändern oder deaktivieren von Geräten unter options in der vm hat auch nichts gebracht.

Ответить
Agraham
Agraham - 05.03.2023 17:49

What is betterwith for Trunas on Proxmox? Pass through disk, pass through sata controller or just do do that and use virtual disks?

Ответить
Jay C
Jay C - 03.03.2023 07:53

Always go HBA over PCI SATA expansion which are junk. And you don't need to spend hundreds on a new HBA card, just buy one second hand, super easy to find a DELL H200 or similar online for under $50.

Ответить
Jaroslav Chytil
Jaroslav Chytil - 02.03.2023 08:23

is there chance to have drive (just for data) where will be files and if something happen with proxmox that i can unplug it and directly to connect it to my laptop and i will see all? thanks

Ответить
a85ihs
a85ihs - 24.02.2023 19:52

Ok so I have truenas on baremetal then decided to do via proxmox last month.

After a while I skipped adding apps in truenas and left it only for shares smb and app made into proxmox mostly lxc so far so good, however my only issue

Truenas doesnt see the cpu temperature from cpu. Can any one share how did they fix that

Ответить
Marko Kraljevic
Marko Kraljevic - 22.02.2023 14:19

i just need to run samba container in proxmox with 512mb ram

Ответить
Leonardo Carvalho
Leonardo Carvalho - 20.02.2023 17:03

I just wanna say THANK YOU! This video is the only one that explains how to add a hard disk not the card itself. It can be not elegant but for me that don´t have a card and it´s hard to get one in affordable price (i live in Brazil) works perfect! Thank you! Thank you! Thank you! Thank you!

Ответить
Paulius Sutkus
Paulius Sutkus - 08.02.2023 11:35

If you have problems on truenas that it cannot identify unique disks, use sata insteads of scsi: qm set 103 -sata1 /dev/disk/by-id/...

Ответить
Yondu Odonta
Yondu Odonta - 25.01.2023 20:11

what is the outcome in relative terms when comparing no passthrough vs passthrough?

Ответить
Flying Mushroom
Flying Mushroom - 17.01.2023 17:56

Any reason to still go for TrueNAS CORE instead of SCALE?

Ответить
Adam Stankiewicz
Adam Stankiewicz - 15.01.2023 04:20

For me I used OVMF (UEFI) BIOS, TPM module, UEFI during installation, and then specify serial number for TrueNAS so it doesn't complain, optionally disabling backup as TrueNAS can handle it itself e.g. "qm set 101 -scsi1 /dev/disk/by-id/ata-SOMETHING_WCJ5ADA,backup=0,serial=WCJ5ADA" Not that UI will still show name like da1 but don't worry, if you go do details there is "serial" visible and truenas won't show notification message complaining anymore

Ответить
Chicken Permission
Chicken Permission - 10.01.2023 05:15

ddr5 has on die ecc

Ответить
JakeFrosty Ch.
JakeFrosty Ch. - 23.12.2022 18:22

I know this comment is very late but not all motherboards have SATA as something you cannot passthrough, some boards show their sata controller as PCIe devices/chipset and allow you to passthrough them to said VMs (works for me, however it doesn't mean that It'll work for everyone)

Ответить
Anton Draganov
Anton Draganov - 07.12.2022 12:31

Exactly what I was looking for!

Ответить
Punch 3n3ergy
Punch 3n3ergy - 02.12.2022 20:54

Is ECC Ram really needed when only using 1 HDD with TrueNAS? I'd like to get the snapshot and deduplication capability but i unfortunately don't have an ECC compatible System.

Ответить
Phillip Obertubbesing
Phillip Obertubbesing - 01.12.2022 12:52

Excellent video. Thanks for elaborating on how to set up the physical drives independently with the Truenas VM. Personally, I would instead use RaidZ and have TrueNas control the RAID System rather than having to use a controller to manage the hard drives. I'm sure you would sacrifice a little performance. However, everyone's use case can be different.

Ответить
Lars Thorwald
Lars Thorwald - 30.11.2022 05:53

I like these videos, but they'd be way more useful if you said more about the "why" behind the procedures. Yes, it's possible to virtualize TrueNAS, and you've done a great job of telling us how to do it. But what, if anything do we actually gain by doing this? What's the reason? ....because you can? It seems that the more roles / VMs / functions are added to a single physical machine, the more exposed it becomes in the event of hardware failure. If my production server, NAS, gaming rig, etc., are all in the same machine, when something goes physically wrong, instead of just losing one, I lose all. Of course, if the point is just to use the platform as a learning tool, that makes total sense, and it's probably a great idea to have one or more 'disposable' machines laying around for practice and learning. Great tutorials. Thanks!

Ответить
James Brooks
James Brooks - 26.11.2022 08:02

i attached the hdds to the scsi controller and i can view them in the proxmox gui but when in truenas it gives me a warning about non-unique serial numbers and the serial field is blank for all drives despite showing up in proxmox

Ответить
Kevin Newton
Kevin Newton - 07.11.2022 07:26

Thank you. I've been struggling to make this work for a couple of days. It works now.

Ответить
Zade Keys
Zade Keys - 26.10.2022 02:31

I'd love to see a solution that takes an old outdated dedicated NAS, connects it to a Pi running the NAS appliance and then gives you a (new) webgui+SSH+updates for the physically old Nas. :)

Ответить
Billy Morgan
Billy Morgan - 24.10.2022 19:33

I'm curious why you are logged in as 'root'; is it required or only for demonstration purposes??

Ответить
Hans Carlsson
Hans Carlsson - 14.10.2022 15:38

Why have background music in a video like this. Annoying and stupid.

Ответить
Ahmed Nazmy
Ahmed Nazmy - 25.09.2022 10:41

Thanks, You helped my a lot

Ответить
Stanley Kurasaki
Stanley Kurasaki - 22.09.2022 03:52

Was the reason to pass through the HD vs just allocating a pool of space from proxmox for the storage?

Ответить
Craig H
Craig H - 15.09.2022 16:36

I've been tempted by TrueNAS, but I already have an existing folder structure on my external drives that I don't want to lose.

I ended up just mounting the external drive on my pve host and pointing SAMBA at it.

Ответить