Background:
I’ve had a XigmaNAS system for about 6 - 7 years as a repository of photos video (own and d/l) and a backup area for older archive stuff. Around 3 years ago the gui stopped working and the system was only accesible via SSH and CLI.
It continued working - as in serving SMB shares, which is it’s primary purpose
It doesn’t shutdown properly.
Conclusion over at XigmaNAS forums was corruption on the boot drive somewhere.
I was going to reinstall but not sure which version and around that time set up my first TrueNAS, so the plan became migrate zfs pool at some point onto a new server.
For various health reasons that got shelved but now trying to do that.
Currently:
Data backed up elsewhere and can still go back to Xigmnas boot if necessary as long as I don’t mangle the pool somehow.
New server plan currently not going so well as got stuck in a QNAP external cage issue, which I now know I am unlikely to get working with TRUENAS, even if I can install drivers to get the hardware recognised due to some other issues.
New, new plan therefore is replace XigmaNAS with TRUENAS on existing hardware.
Machine is an old (circa 2011) Supermicro stuffed in a tower case with 6 x 12TB in RAIDZ2.
Progress so far:
New system drive installed, TrueNAS community installed on that and upgraded to 25.04.2.4.
Network fine and SSH setup for admin.
Pool imported. I can see the main dataset (named Primary) and the child datasets I previously set up for SMB shares.
Obviously config didn’t come across as I didn’t know whether an old Xigmanas config would import on TrueNAS and figured it would be easier to recreate as there aren’t many users and apps will be from scratch here.
Created a single user, to be able to setup an SMB share, then
Started with SMB shares, but I’m seeing nothing via GUI other than /mnt in the easy path filling function. To be clear I DO NOT see /mnt/mnt/… as most others do I have an empty /mnt. See upload screenshot. Note the I have expanded /mnt by clicking on the arrowhead. That’s it.
Nevertheless I figured this might be a mount point issue as it seems similar to what others have experienced.
o/p from zfs list and zpool list & mount are as upload:
zfs and zpool list and mount.txt (10.3 KB)
The Primary entries with /mnt/mnt… suggest that this probably is a mount point issue even though I don’t get the same result in the share creation process.
However when trying to follow one of the various methods of how to fix mount point issues, specifically:
as root on console:
– zfs set mountpoint=/mnt/poolname poolname
– zpool export poolname
– zpool import poolname ( /mnt/poolname is fixed)
– reboot (mointpoint stays fixed)
I get stuck on the export line with a response
root@Matrix[/home/truenas_admin]# zpool export Primary
cannot unmount ‘/var/db/system/samba4’: pool or dataset is busy
Given that the SMB service isn’t up and running as I haven’t got to that yet, I’m not sure what might be using it.
Furtling around some more I noticed all the legacy entries in the zfs list and that one of them is indeed a samba4. But I don’t really understand what these entries are as I never specifically created them. Whether they are XigmaNAS only or why TrueNAS might be using one of them I haven’t the knowledge.
Also while searching for some of this I came across an error that suggested that under TrueNAS “Global” might be a reserved identifier that I can’t use in dataset names. Anyone care to comment as it’s been that name for about 20 years over 3 NAS’s
Questions:
Am I going in the right direction with mount points?
How to overcome the SAMBA error for the export?
Any other gotchas going from XigmaNAS to TrueNAS?
Do I need to deal with those legacy entries in the pool at the point it works enough I’m not going back to XigmaNAS? If so how?
Thanks.
