My USB attached drive went south when the power supply died. So I used an HDD that has been hanging around, installed TrueNAS on it, imported the ZFS pool, activated SMB and set up a share. I’m pretty sure I saved the old config somewhere but that was so long ago I can’t track it down. It has been running for years unmolested.
I use Wireless Network Watcher to see what is connected to my home network. And it’s right there. IP address, name I gave it and everything. But when I try to map a network drive in Windows, it cannot find the server. WNW sees it; File Manager does not. If I open a command window, I can ping it just fine using the IP address. I’ve been working on this all day and at this point I’m pretty frustrated and I’ve got work to do.
something doesn’t match. For instance, there is no AD01\domain admins group. There is builtin_administrators and there is wheel (where I believe admin accounts reside on BSD based systems). I’ve tried both.
I’m about at the point where I’m going to nuke it and start over.
Unless you’re running enterprise storage for many users that each need their own home directory on the share (and even then there are better options), you almost definitely don’t need to set up home shares.
I’d start over following the tutorial I posted and then share your configuration and how you’ve tried to mount it, if you can’t get it to work.
Please post the version of TrueNAS you are using. Don’t let us assume anything. You said it was running for years, does that mean FreeNAS 11? Don’t say FreeNAS 10 (Yikes).
With some of the older versions the NAS configuration file may still be on your drive. We use to have multiple copies. Look for a file called FreeNAS-v1.db. In fact, just do a Google search for this file and FreeNAS, you will find a lot to read up on. With some luck, you can restore it.
It sounds like you need to create a new user account on your TrueNAS, ensure this user have SMB privileges, then on Windows map the drive and enter the new user name and password. It can be tricky if you do not have all the correct permissions.
As for losing your config file. Down below in the links is a little script called Multi-Report and one of it’s features is to email you a copy of your configuration file weekly (monday by default). This can become very handy and you always have a current copy. It doesn’t help you here but it may help in the future.
OK. I had some time today so I started completely over. Rather than spend a lot of time dinking around with it, I tried setting up a share and when that didn’t work, came here for further advice. So this is what I did.
I downloaded TrueNAS Core 13.0-U6.2
I put that on a USB flash drive and ran the installer. I allowed it to format the external hard drive that is going to hold the OS so it is a fresh, clean install.
I imported the existing ZFS pool.
I did not create a dataset since it already had one.
I DID set ACL permissions to open for that dataset. I also set the share type to SMB and set the SMB service to start automatically.
I tried to connect to the share from Windows and it could not find the TrueNAS device.
I use Wnetwatcher to look at what is on my network. The device is there. It has the correct name and an IP address.
I tried connecting by IP address. For right now, I connected as root and used the password I created when I initially set up the OS drive. It tells me “The specified network password is not correct.”
I created a new user and made the password visible so I know I’m entering it correctly.
HALLELUJAH! That finally connected. I can see all the folders and data. I’m not touching it again. Well, not until I get an SSD to replace the external hard drive.
Thank you guys for your help. And thanks for the multireport tool. That will be a big help in the future.