This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Cannot see shares on any device

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
wibblnz
NewUser
NewUser
Posts: 6
Joined: 22 Mar 2013 06:54
Status: Offline

Cannot see shares on any device

Post by wibblnz »

I have successfully been using FreeNAS for a few years and decided to build a new NAS box based on an Acer Aspire (mainly because power use is under 50W with 2x SATA drives). BUT - try as I might I am unable to see the root / shares that I have setup.
I had zero problems setting up FreeNAS and expected NAS4Free to be very similar (BTW it's great that the setup pages are so similar).

I even went back to FreeNAS but unfortunately this doesn't 'see' the DVD drive after it has booted from it, so I can't create the bootable SD card - so I'm stuck with trying to get NAS4Free going.

I can not see the 'nas4free' on the Windows 7 PCs on my network or an Android tablet that all see the FreeNAS box still running on the network.

I'm not that familiar with the command line checks so if someone can guide me thru the checking process I'd really appreciate the help and it might help others too.

The GUI innterface works fine.
Andy

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Cannot see shares on any device

Post by raulfg3 »

please post your SMB config and your shares config (only one if all are config in the same way).
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

wibblnz
NewUser
NewUser
Posts: 6
Joined: 22 Mar 2013 06:54
Status: Offline

Re: Cannot see shares on any device

Post by wibblnz »

]
raulfg3 wrote:please post your SMB config and your shares config (only one if all are config in the same way).
Great, thanks for helping. Heres the screen grabs hope they are the right ones:

smb1.jpg
smb2.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Cannot see shares on any device

Post by alexey123 »

wibblnz
You need define your disk in first
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

wibblnz
NewUser
NewUser
Posts: 6
Joined: 22 Mar 2013 06:54
Status: Offline

Re: Cannot see shares on any device

Post by wibblnz »

Sorry I had the disk added as a share before but just hadn't added is again. I don't have a disk added as share in FreeNAS so assumed it wasn't required.
Added as you can see but makes no difference I'm afraid.
Andy
smb3.jpg
You do not have the required permissions to view the files attached to this post.

wibblnz
NewUser
NewUser
Posts: 6
Joined: 22 Mar 2013 06:54
Status: Offline

Re: Cannot see shares on any device

Post by wibblnz »

I see no active shares in the Diagnostics / SMB / CIFS area either (but I don't see any on the FreeNAS page either so I guess thats ok)

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Cannot see shares on any device

Post by alexey123 »

In first - Freebsd sequrity not give share /mnt/ folder
Remove this share from smb - share
Second
You mount your disk into /mnt/MountPointName/ Also not good idea share all mounted partition - you give unix-permission for it - 777.
Read here about it

As result.
You need create folder into your drive, such smbshare with path /mnt/MountPointName/smbshare and configure smb share for it.

A simpler explanation
The distance from the root to the shared resource must be greater than 2 folders.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

wibblnz
NewUser
NewUser
Posts: 6
Joined: 22 Mar 2013 06:54
Status: Offline

Re: Cannot see shares on any device

Post by wibblnz »

Ok... How can I create a folder within the drive if I cannot access it? Is this possible from within the NAS4Free GUI?
Also - how is it that I am able to share the entire /mnt/ folder in FreeNAS but I can't in NAS4Free? (and I can't see what security problem can arise unless I allow access from outside my LAN).
Are you saying that I have to set the permissions manually for a share to work?
Look - I really appreciate your help here, but I can't see why this NAS software is so different from FreeNAS.
I'll have a read of the smbshare info though anyway and see if I can make sense of it.
Andy

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Cannot see shares on any device

Post by raulfg3 »

in autentification, change it to anonimous ( once work, you can experiment / change to local user if necessary).
Disable "local Master Browser & time Server" ( Disable = NO)

Delete actual share root and 1TB, you can't share the root folder ( you can't share /mnt/), you have several options.

1- if use ZFS, create as many dataset as shares you need ( when you create a dataset, a folder is created in mnt/1TB and you can share this folder)

eg: you create a dataset named Video, so a folder Video is created in /mnt/1TB ->>> /mnt/1TB/Video <<<--- Now you can share this.

2 - Use Shell and navigate to /mnt ( cd /mnt/1TB ), create folders that you need ( mkdir /mnt/1TB/{Video,Data,Photo,Backup,Music,Private} ), and share this folders.


with this rules, may work.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Cannot see shares on any device

Post by alexey123 »

wibblnz wrote:Ok... How can I create a folder within the drive if I cannot access it? Is this possible from within the NAS4Free GUI?
1. Over ssh-shell (such PuTTY or WinSCP)
2. Over file manager
3. Over advanced|command : mkdir /mnt/mountpointname/foldername
Also - how is it that I am able to share the entire /mnt/ folder in FreeNAS but I can't in NAS4Free? (and I can't see what security problem can arise unless I allow access from outside my LAN).
This is FreeBSD restrictions, you can know only - path need content more then 2 folder.

A
re you saying that I have to set the permissions manually for a share to work?
Yes.
You need learn about Unix permissions. For example anonymous access over smb - your shared files and folders need be able for user ftp.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

wibblnz
NewUser
NewUser
Posts: 6
Joined: 22 Mar 2013 06:54
Status: Offline

Re: Cannot see shares on any device

Post by wibblnz »

alexey123 wrote:
wibblnz wrote:Ok... How can I create a folder within the drive if I cannot access it? Is this possible from within the NAS4Free GUI?
1. Over ssh-shell (such PuTTY or WinSCP)
2. Over file manager
3. Over advanced|command : mkdir /mnt/mountpointname/foldername

Thanks - yes I have created folders within the share now
Also - how is it that I am able to share the entire /mnt/ folder in FreeNAS but I can't in NAS4Free? (and I can't see what security problem can arise unless I allow access from outside my LAN).
This is FreeBSD restrictions, you can know only - path need content more then 2 folder.

Ok. Odd that FreeNAS uses freebsd and doesnt have the restriction

A
re you saying that I have to set the permissions manually for a share to work?
Yes.
You need learn about Unix permissions. For example anonymous access over smb - your shared files and folders need be able for user ftp.
I thought that this would 'work out of the box' and could be setup from within the GUI. Guess I was wrong.
No change so far for me the box is not visible to any PC or device. I'll persevere for a while but I'm not hopeful I must admit.

Thanks for the help all though, appreciate it.
Andy

Post Reply

Return to “CIFS/SMB (Samba)”