Error Creating Pool - Duplicate Serial Numbers

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
So after waiting 9 days to have my new 20TB HDDs finish their burnin, I created a pool called bigbackuptank. It worked fine.

Then I remembered that my other pool is called bigtank... So, I destroyed bigbackuptank. I then tried to add a pool called slowtank (I also have a pool named fasttank) and I get this:

Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 355, in run
    await self.future
  File "/usr/local/lib/python3.9/site-packages/middlewared/job.py", line 391, in __run_body
    rv = await self.method(*([self] + args))
  File "/usr/local/lib/python3.9/site-packages/middlewared/schema.py", line 975, in nf
    return await f(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/middlewared/plugins/pool.py", line 639, in do_create
    verrors.check()
  File "/usr/local/lib/python3.9/site-packages/middlewared/service_exception.py", line 62, in check
    raise self
middlewared.service_exception.ValidationErrors: [EINVAL] pool_create.topology: Disks have duplicate serial numbers: '' (da0, da1).


da0 and da1 are my boot disks from ESXi. They do not show serial numbers:

1662875482190.png


I have rebooted twice - once to install 13.0-U2 and once as a compete TrueNAS shutdown and restart.

My system specifics are in my signature. I have never had this issue before running on ESXi and it is very strange that the pool added fine the first time and then it will not allow me to add the pool now with the proper name.

Any help would be fantastic.

Thank you,
 

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
I got around the issue by creating the pool on a different VM and then importing it. I am still effed as I cannot do any pool actions as I get the "duplicate serial number" warning (tried toggling TRIM on my SSD pool - no luck).

Anyway, worst case I can create a new VM and then restore my config to see if that will solve it. But I would rather just figure out what is the issue and fix it in place.

Cheers,
 

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
Power off, check the VM advanced configuration (Edit - Advanced, Configuration Settings) and create the variable disk.EnableUUID=true if it's not present.
I will take a look at that ASAP!! Thank you.

Cheers,
 

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
Power off, check the VM advanced configuration (Edit - Advanced, Configuration Settings) and create the variable disk.EnableUUID=true if it's not present.
And you are a champion. Thank you. Fixed the issue and now my da0 and da1 show serial numbers.

1662917775243.png


giphy.gif


Thank you!
 

phoenix

Explorer
Joined
Dec 16, 2011
Messages
52
I'd also like to thank HoneyBadger for that solution. I've been pulling my hair out for the last hour (I don't have much anyway) and finally tried a search and found this wonderfully simple solution - fantastic job. My new (backup) VM server is now up and running.:smile:
 
Top