Archive for 'server'

Truenas VM on the Boot Pool by Editing the Database

Markus | Sunday, May 26th 2024, 13:24

-- Now with 20% less chances of losing your data!

Figure 1. TrueNAS VM configuration panel

Two years ago [1], I wrote about running your TrueNAS VMs from the boot pool by manually updating the virsh configuration. The problem here, however, was that you had to repeat these steps each time you rebooted the VM as TrueNAS would reset the configuration. Also, it wasn't 100% reliable and the commands might need a few attempts to work.

Since then, two of my readers, John and Michael, reached out to me to tell me about a better solution they both (independently) discovered: Editing the TrueNAS database instead of manipulating the virsh service configuration.

WARNING! Just as last time, this guide is definitely not how TrueNAS is intended to be used. It may be better than my last approach, but it's still dirty. You may brick your installation (even if you followed this guide perfectly), or even worse, lose your VMs and data. Only do this if you can live with losing everything and having to reconfigure your entire system.

→ Click here to continue reading ←

Tags: server software


Truenas VM on the Boot Pool

Markus | Saturday, January 8th 2022, 17:18

-- I'll probably regret this when I finally lose my data

Figure 1. TrueNAS VM configuration panel

I've been meaning to transfer my Raspberry Pi based services into a virtual machine on my main server running TrueNAS for a while now, but I've always delayed as I didn't know where to store the VM's disk. I have 7 disks in my main server: 2x 128 GB SSDs as the boot array, 4x 4 TB HDDs as the main array, and another single 4 TB HDD for less important data.

Basically, I don't care where I store the VM, but I want my HDDs to spin down during the night and low load periods. Since a VM will definitely keep the drives up, the mechanical drives are out, leaving me only with the boot pool. It has enough storage for what I need, but, and here comes the problem, TrueNAS does not allow me to keep custom datasets on the boot pool.

But, under the hood, TrueNAS is just FreeBSD. So as I had some time over the holidays, I set out to find a solution to do it nonetheless.

→ UPDATE: There is an updated, much more reliable version of this guide based on editing the database [1]. I strongly recommend to use that instead.

WARNING! This guide is definitely not how TrueNAS is intended to be used. It's dirty and terrible. If you brick your installation (even if you followed this guide perfectly), or even worse, lose your VMs and data, don't tell me I didn't warn you. Only do this if you can live with losing everything and having to reconfigure your entire system.

→ Click here to continue reading ←

Tags: server software


Home File Server Upgrade

Markus | Sunday, July 24th 2016, 10:00

Embedded content has been disabled to protect your privacy.




or click here to allow them permanently,

or click here to watch the video on YouTube:
https://www.youtube.com/watch?v=F3MvUSUvP08



Please note that, by enabling this video, data is transferred
to YouTube LLC, and is subject to their privacy policy.

In this video I will show you one of the recent upgrades to my file server I have at home.

It had a cheap power supply and the original fans in there and I finally decided to invest the money and change them in the hope of better temperatures and longer lifespan for the entire system.

Specs of the current hardware:

  • Mainboard: AsrockRack C2550D4I Mainboard
  • CPU: Intel Atom C2550 Quad-Core
  • RAM: 16 GB DDR3 ECC RAM
  • HDD: 4x 4TB HDD in Freenas' RAIDZ2
  • Case: Silverstone DS380 Case
  • PSU: Silverstone SFX 300W power supply
  • Fans: BeQuiet Pure Wings 2 (PWM)

→ Click here to continue reading ←

Tags: computer server video