TrueNAS SCALE 21.02 is delivered

E2zin

Dabbler
Joined
Mar 25, 2021
Messages
16
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

Wizard
Joined
Mar 6, 2020
Messages
1,458
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

Dabbler
Joined
Mar 25, 2021
Messages
16
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

Dabbler
Joined
Mar 25, 2021
Messages
16
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

Wizard
Joined
Mar 6, 2020
Messages
1,458
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

Dabbler
Joined
Mar 25, 2021
Messages
16
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
2,691
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

Wizard
Joined
Feb 15, 2014
Messages
1,537
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
2,691
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.
 

duongle90

Cadet
Joined
Oct 25, 2022
Messages
7
Hello everyone,
I am new to TrueNas Scale and True Command, which is I am trying to configure for my lab. I have an issue after adding 3 systems (3 Nodes) on the True COmmand with 3 ip addresses 192.168.1.50, 192.168.1.51, 192.168.1.52. And then try to create a cluster. However, after selected 3 nodes that I created the network address did not show up and i cannot click on it or select it either. please help, any help would be greatly appreciated.
 
Last edited by a moderator:

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,175
Please upload images directly to the forum.
 

duongle90

Cadet
Joined
Oct 25, 2022
Messages
7
Please take a look.
Screen-Shot-2022-10-26-at-7-46-34-AM.png


this is the image.
and i think i have the same issue on this thread: https://www.truenas.com/community/threads/cluster-smb-shares.103050/ but never go solved.
 
Top