Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

TrueNAS SCALE 21.02 is delivered

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

E2zin

Neophyte
Joined
Mar 25, 2021
Messages
9
Hello, I am very excited about the TrueNAS SCALE project! I tried a Ubuntu server host, then a proxmox host and was debating running ZFS straight on the host or running TrueNAS Core in a VM when I heard about this project which happened to be exactly what I needed.

I installed TrueNAS SCALE 21.02-ALPHA.1 and I am trying to reproduce the setup I had made in proxmox (GPU passthrough to a Ubuntu VM to have a workstation on the same PC). I will post my 2 questions in a new thread, but the main question I had, first is, where to get support for TrueNAS SCALE specifically? I would love to learn how to debug my issues, but any tutorial I find is either for TrueNAS Core (so not compatible) or for Debian, in which case it is not recommended (not saved in the config file).

Can someone point me in the right direction to better understand the project, and how it all works?
How to script custom things in a way that is compatible with the config file methodology?

Thank you very much!
 

ornias

Neophyte Sage
Joined
Mar 6, 2020
Messages
1,037
I installed TrueNAS SCALE 21.02-ALPHA.1 and I am trying to reproduce the setup I had made in proxmox (GPU passthrough to a Ubuntu VM to have a workstation on the same PC). I will post my 2 questions in a new thread, but the main question I had, first is, where to get support for TrueNAS SCALE specifically? I would love to learn how to debug my issues, but any tutorial I find is either for TrueNAS Core (so not compatible) or for Debian, in which case it is not recommended (not saved in the config file).
Besides the devnotes (https://www.truenas.com/docs/hub/scale/dev-notes/ ) and answering questions there is no actual support, because it's still in ALPHA ;-)
 

E2zin

Neophyte
Joined
Mar 25, 2021
Messages
9
Thank you for that answer @ornias :smile:

What I meant is if there is somewhere explaining how to interact with the middleware?
Is there some public place where the decisions were discussed about how the implementation is done?
How to create scripts that could be run on boot, how to properly things that would normally be configured through the command line, etc.

Basically, I saw some information about this for TrueNAS Core, but it seems to be more related to FreeBSD and incompatible with SCALE (obviously).

Thank you :smile:
 

E2zin

Neophyte
Joined
Mar 25, 2021
Messages
9
For anyone this might help, I found this useful resource in another thread on this forum.
Visit <your-server-ip>/api/docs/websocket/#initshutdownscript
 

ornias

Neophyte Sage
Joined
Mar 6, 2020
Messages
1,037
What I meant is if there is somewhere explaining how to interact with the middleware?
Either the CLI or API, at least one of which is one of the top threads on the forum.
(so do some research yourself please, before asking others)

Is there some public place where the decisions were discussed about how the implementation is done?
GIT, Jira, Slack and the forum.
At times... other times iX decides things internally.

It might help becoming active in the community (or closely related communities), before trying to have a say in how things are implemented. One of the best things is actually contributing code or solutions. It makes people take you more serieus when you do give feedback.

How to create scripts that could be run on boot, how to properly things that would normally be configured through the command line, etc.
Same as with core: just add them in the GUI
 

E2zin

Neophyte
Joined
Mar 25, 2021
Messages
9
Hello @ornias, I really appreciate your feedback. I did try searching before posting but I guess I did not know what to actually use as search terms to find something. As I posted in reply to myself, I ended up finding useful info about the API. I will look more into the CLI.

I want to get more involved and will look at those places you listed. I do understand some decisions might be done internally too.
I was looking to understand how decisions were made so I could understand how it works better. I am not looking to have a say at this point :)

As for adding scripts to the GUI, I am not sure that I found where that would be, or understand how it would work.
I would appreciates some guidance for this.

I've been using FreeNAS 11.2 on my other machine since it's release and never really had to do any advanced stuff.
I know it's a fantastic piece of software and am eager to use SCALE to it's full (home) potential.

I'm sorry if my questions are too basic or could be found, but I get lost between tutorials between FreeNAS, TrueNAS Core and TrueNAS SCALE.
I'm trying to understand how to make what I wish so that I could maybe offer a tutorial to the community, from a beginner's POV I guess.

Wishing you all the best and thank you for your help.
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
504
As for adding scripts to the GUI, I am not sure that I found where that would be, or understand how it would work.
I would appreciates some guidance for this.

I've been using FreeNAS 11.2 on my other machine since it's release and never really had to do any advanced stuff.
I know it's a fantastic piece of software and am eager to use SCALE to it's full (home) potential.
SCALE is still in its ALPHA phase and more complete documentation will begin appearing later in Aprill

In the meantime, most of the TrueNAS CORE documentation is relevant. You may even want to update your 11.2 system to 12.0-U2.1.

The scripts are added as Tasks in the GUI. CORE docs are here: https://www.truenas.com/docs/hub/tasks/scheduled/cron-jobs/
 

brando56894

Dedicated Sage
Joined
Feb 15, 2014
Messages
1,506
I understand the frustration, but let's be clear that TrueNAS SCALE is still in Alpha stage and so there is a backlog of issues. TrueNAS CORE and Enterprise are in their production phases and get the priority.

If anyone does have the issue, it would be useful to know if this is specific to this LSI HBA.. or if it applies to Debian Bullseye in general. It seems unlikely to be SCALE specific, but if it is, we'd like to know. I'd recommend you are also specific about the specific LSI HBA firmware. Obviously, we'd prefer these issues were fixed. Thanks for your patience.
I'd like to apologize because this isn't an issue specifically with SCALE, but moreso an issue with either the HBA or Linux in general. I had originally fixed in in Arch, but forgot about it since I did it over two years ago, and just "fixed" it in SCALE. It seems to be HBA specific because I didn't have this issue with the 2 port LSI HBA card I had previously. The issue is that Linux doesn't give the HBA enough time to initialize, and apparently resets the SATA links at some point, which makes the boot-pool momentarily inaccessible, once the links are in a working state again, everything operates like normal.

I was able to resolve the issue by delaying the boot process by ten seconds either via grub or building a new initrd, but this doesn't survive an upgrade since presumably root is overwritten. I have updated my ticket and the thread here with my findings. This makes the resolution a lot easier on IX's end since all that is needed is to add ZFS_INITRD_POST_MODPROBE_SLEEP='10' to /etc/default/zfs or add rootdelay=10 to the kernel command line.
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
504
ZFS provides all the compression, encryption, snapshots to the RAW images.
However, KVM supports qcow2 and so I assume it will work. I'm not aware of it being tested.
 
Top