SMB "FREENAS" shows up, but no files or folders

tylervanb123

Cadet
Joined
Mar 25, 2020
Messages
9
Hey everyone,

I new to all this so please be patient. I set my system up to capture FTP video and image transactions from my security cameras. I have a 1TB usb external harddrive for storage. This part all seems to be functioning perfectly. If I go to the FREENAS GUI and look at the storage, I can see that it contains the files I would expect from my FTP transfers. Where the issue lies is when I try to look at the files from my windows 7 PC. "FREENAS" is showing up under "NETWORK" and opens up just fine. The problem is there are no folders or files in here. What am I doing wrong? I have created various users in attempt to resolve this. Both local and windows account users. Any help would be greatly appreciated. I have looked through the guide and other forums, but it is either over my head on not resolving my issue.

Thanks!
 

Fredda

Guru
Joined
Jul 9, 2019
Messages
608
In your windows network neighborhood only SMB shares will show up.

So to access your videos you need to create SMB shares on your FreeNAS or you can use a FTP client and access it the same way as your security cameras.
 

tylervanb123

Cadet
Joined
Mar 25, 2020
Messages
9
Thanks for your reply. I do have one created, and it IS showing up. The problem is there are not folders or files when I open "FREENAS". Maybe I'm not understanding what you are saying though. See my screenshots.
 

Attachments

  • FREENAS.png
    FREENAS.png
    640.3 KB · Views: 724
  • FREENAS2.png
    FREENAS2.png
    1.1 MB · Views: 732

tylervanb123

Cadet
Joined
Mar 25, 2020
Messages
9
Yes, the service is started.
Yes, the path looks correct (See image).
Yes, there are folder/files (See image 2).
 

Attachments

  • FREENAS3.png
    FREENAS3.png
    1.1 MB · Views: 724
  • FREENAS4.png
    FREENAS4.png
    1.2 MB · Views: 707

Fredda

Guru
Joined
Jul 9, 2019
Messages
608
You have not entered the share yet, according to your picture FREENAS.png.
You have tried to access \\FREENAS\test?! (that should be the path according to your config).
Is your share browsable? Check by going to "Advanced Options" in the config of you share.
 

tylervanb123

Cadet
Joined
Mar 25, 2020
Messages
9
I have tried to enter it, but get an error message.
It is browsable as well.
See images.
 

Attachments

  • FREENAS5.png
    FREENAS5.png
    18.7 KB · Views: 660
  • FREENAS6.png
    FREENAS6.png
    1.2 MB · Views: 707

Fredda

Guru
Joined
Jul 9, 2019
Messages
608
OK. I'm out of ideas.

Could you ssh into your server (or use the shell option of the GUI) and post the output of the three commands

Code:
service samba_server status
smbclient -L localhost
cat /usr/local/etc/smb4.conf

Please don't make pictures, copy and paste the output into [code][/code] tags.
 

tylervanb123

Cadet
Joined
Mar 25, 2020
Messages
9
Code:
root@freenas[~]# service samba_server status
nmbd is running as pid 6043.
smbd is running as pid 6019.
winbindd is running as pid 6031.
root@freenas[~]# smbclient -L localhost
Enter WORKGROUP\root's password:

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       IPC Service (FreeNAS Server)
Reconnecting with SMB1 for workgroup listing.

        Server               Comment
        ---------   
 

tylervanb123

Cadet
Joined
Mar 25, 2020
Messages
9
I'm not sure why it won't paste, but under "Server", on the last line, there is "Workgroup" and "Master"
Under Workgroup I have "WORKGROUP" and under Master I have "FREENAS"
 

tylervanb123

Cadet
Joined
Mar 25, 2020
Messages
9
I finally got it!!! Here's what I think the issue was.... I had switched from storing things on a M.2 SSD to this USB external. So I had to point things to the new disc. In the SMB sharing, the share was named "test" with the path "/mnt/test2". I think I changed the path of the share from /mnt/test (the original) to /mnt/test2 (the new), but the name must not have updated (it remained "test"). I deleted this and it actually gave me an error message (should have took a screenshot), but I think it did say invalid name. I then recreated my SMB share and it correctly named it test2. I have attached a screenshot of this page for clarity. Hopefully this helps someone else down the road. Thanks for all the help Fredda!
 

Attachments

  • FREENAS7.png
    FREENAS7.png
    1 MB · Views: 763

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
I finally got it!!! Here's what I think the issue was.... I had switched from storing things on a M.2 SSD to this USB external. So I had to point things to the new disc. In the SMB sharing, the share was named "test" with the path "/mnt/test2". I think I changed the path of the share from /mnt/test (the original) to /mnt/test2 (the new), but the name must not have updated (it remained "test"). I deleted this and it actually gave me an error message (should have took a screenshot), but I think it did say invalid name. I then recreated my SMB share and it correctly named it test2. I have attached a screenshot of this page for clarity. Hopefully this helps someone else down the road. Thanks for all the help Fredda!
U2 will add path validation when generating SMB shares, and so in the next version your server would not have shown any shares and an error message would be logged to /var/log/middlewared.log.
 
Top