FreeNAS Template With Nickname Already Exists
I encountered a problem after deleting an unused VirtualBox template jail on FreeNAS. The error I came across happened when I tried to create a new VirtualBox jail, then immediately displayed the following error:
ERROR: A template with this nickname already exists
After looking around on the Internet, I found someone on the PCBSD bug tracking system had the same problem and suggested deleting the warden template.
To resolve the problem I did the following:
- Log into the FreeNAS console and open up a shell on the web interface.
- Show all the ZFS zvols:
- In my case I had to remove
zfs destroy -r jails/.warden-template-VirtualBox-4.3.12
- Remove remnant files:
rm -rf /mnt/jails/.warden-template-VirtualBox-4.3.12
Once this was done, I was able to create new VirtualBox jails.