Truenas Scale VM in Truenas Scale, non-unique serial numbers

I have Truenas SCALE 24.10 installed on a custom server, with 128 GB of ECC ram, IPMI, two pools, and multiple VMs and datasets.

One of the VMs that I have created on this server is called “Test_Truenas” and is a virtual version of Truenas SCALE 24.10. I now would like to create a mirror pool on two virtual disks (ZVOLS) in the VM, but when I try to do so, I get a warning from Truenas that “There are 2 disks available that have non-unique serial numbers.” Does anyone know how to fix this so that I can create the pool?

Also, I realize that Truenas is supposed to be installed directly on physical hardware, and in nearly all other cases I agree with that, but in this particular case, installing it virtually makes sense, because the purpose is purely testing. Before I upgrade to Truenas 25.04 (Fangtooth) on my physical server (and mess around with manual configuration of instances, formerly VMs), I want to see what Fangtooth looks like, make sure that the pools remain unchanged, and most importantly, make sure that I’m able to roll back to 24.10 if the upgrade causes any problems.

The error is because the sn is all zeros.

In this scenario (when testing) I ignore the error.

Although using QEMU it is possible to set serials on virtual disks its not really practical to apply it in TrueNAS 24.10

In 25.04 the VM subsystem is controlled by Incus and I think that does use unique per-device serials.

1 Like

Thanks. That solved the problem. I ignored it, and the pool was created. Since it’s for testing purposes only, there won’t be any data stored on the pool, so whatever problems could potentially arise from the lack of unique serial numbers won’t matter.