2PC, 1 TrueNAS

Miserness

Cadet
Joined
Jan 2, 2022
Messages
2
Hello to all,

I hope you are well. First of all I wish a happy new year to the whole community.

I'm new to TrueNAS and I've recently set up my first NAS with an old computer and some hard drives.

I have another computer at my disposal and I would like to be able to link both to the same NAS in order to have more power for my cron jobs and other VMs.

I've looked on the Internet but I haven't found an explanation that would allow me to do this?

Does anyone have a solution?

Thanks a lot
 

Miserness

Cadet
Joined
Jan 2, 2022
Messages
2
But how does it works in huge NAS ? Like for example the one from LinusTechTips, he has multiple racks that's like computer with a lot of hard drive, how does he manage that with TrueNas ?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I don't watch LTT; I don't know that I have much to learn from someone who thinks the way to deal with a motherboard that won't fit his case is to drill holes in it. But the general way you add more drives than will fit into one chassis is with a SAS disk shelf.

TrueNAS SCALE supports a form of clustering, but it's still in beta.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
For most "huge" setups, you can still have a single server, with additional servers for redundancy. Just make it a "big" server and add disk shelves.

For monstrous setups, you can get more elaborate solutions with multiple servers, but they're not magic and will not help with the "put two random computers together" scenario.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
But how does it works in huge NAS ? Like for example the one from LinusTechTips, he has multiple racks that's like computer with a lot of hard drive, how does he manage that with TrueNas ?

Asking how LTT does something is often pointless. It never seems to be the right way; anyone who knows anything either watches only for amusement/amazement/love-of-trainwrecks, or cannot even tolerate the sheer idiocy. I'm in the latter group, I'd rather watch shards of glass get flung at my eyes than watch LTT.

But the question's great.

Big storage happens two ways (ignoring SAN strategies):

1) You can have a large server. You may be used to thinking of a "server" as a single chassis that has a bunch of pieces in it, but this only goes so far. Once you need to hook up dozens or hundreds of drives, you use shelves of JBOD disks, connected to the computer via SAS expanders and cables. This is discussed in the SAS Primer. You can easily get 90 HDD's into a 4U space with JBOD enclosures such as this Supermicro jobbie. Putting 10 of those into a 42U rack means 900 HDD's, and with general availability of 18TB HDD's, that works out to 16 petabytes in a single rack. ZFS can theoretically scale far beyond that, although you'll probably run into some practical issues unless you have expert design and implementation guidance.

2) You can have smaller servers. Back in the early 2000's, my shop was one of the pioneers of 24-drive-in-4U chassis designs, and this worked out well because we needed storage for a protocol for which I had added hashing distribution extensions. There's a strong upside here in that the bunch of smaller servers is more resilient to failures, but you don't get a natural "single view" presentation as you would with a larger ZFS pool.

For #2, the past 10 or 15 years have seen a lot of evolution in this direction, as the sheer volumes of data being managed in the world of computers has exploded dramatically. Projects allowing distributed file storage, such as GlusterFS, allow the creation of larger storage systems that do not involve having a single massive server that also acts as a single point of failure.

I would like to be able to link both to the same NAS in order to have more power for my cron jobs and other VMs.

A NAS is by definition network-attached storage, and the NAS is happy to let another computer, or other computers, mount its storage and take advantage of it. This doesn't have to be end user computers. It can be servers as well.

For example, lots of people run Plex Server as a jail on top of FreeNAS, but you can just as readily use a second computer, mount your video fileshare via NFS, and run Plex Server on that. That could be either another physical computer or in a VM on a second computer that is set up as a hypervisor.

This actually makes the NAS a lot simpler, because it is just doing NAS functions like sharing files. You just load your favorite FreeBSD or Linux on the second computer, add an NFS mount to /etc/fstab, and go to town. Shared files via NAS are extremely common on larger networks, because it is so practical and easy to do.
 
Joined
Oct 22, 2019
Messages
3,641
"2 PC, 1 TrueNAS"

Let's please try to keep these forums family-friendly.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
"2 PC, 1 TrueNAS"

Let's please try to keep these forums family-friendly.
Memory accesses are to be kept to the privacy of one’s own chassis. Only the deviant would do something like run an interrupt service routine in public for others to see.
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Only the deviant would do something like run an interrupt service routine in public for others to see.

Speak for yourself. One of our NAS's definitely hawks its wares on the public Internet via an anonymous FTP server. One of its favorite tricks is the upload capability to the incoming directory, but in recent years it has become riskier to be so promiscuous...
 
Last edited:

LarsR

Guru
Joined
Oct 23, 2020
Messages
719
LTT Uses Gluster FS as a file system on Linux , so they have many server in a big cluster of storage, something that ix wants to do with truenas scale,
but the gluster setup on scale is still "experimental", so in the future it would be possible to create a cluster with 2 nodes, some have already done it with truecommand, but i wouldnt do it myself right now
 

GlueFactoryBJJ

Dabbler
Joined
Oct 15, 2015
Messages
32
LTT uses multiple NAS storage servers. Each for a different purpose. They do not pool all servers.

I think they did try to VM multiple NAS servers off one cabinet, but, like many things they try, it didn't work well.

Bottom line is they found that one box per server is the best way to go. I think they use mostly unRAID and at least one TrueNAS server for their NAS needs (at this time, they seem to change frequently as new needs arise).
 
Top