Unknown "Homes" Directory

seh2000

Cadet
Joined
Jul 28, 2013
Messages
2
Hello All,

I am new to FreeNAS, so please excuse me if I am using wrong terminologies.

To test out alternative to my old HPMediaVault I found FreeNAS to be the best option for my usage, basically sharing photos and music across our home LAN. We have a mixture of Windows, OS X, Androids and Smart TVs.

For testing I build a small configuration using an Intel ATOM CPU D510 1.66GHz, 2GB RAM, 1 Cruzer Blade 8GB (as boot device), 1 SSD 128GB with FreeNAS-8.3.1-RELEASE-p2-x86 (r12686+b770da6) using ZFS.
After testing I will build a more powerful machine, I just need the cash first ;)

I have created 1 main volume and 3 datasets:
hanlop
hanlop/music
hanlop/jail
hanlop/software

The dataset to be shared for testing is the hanlop/music, and I am using CIFS because of the mixed environment.

Now here my question to my problem.

On all the machines I see the same and that is 2 share/directories "homes" and "music", but as I have not created any dataset/directory called "homes" then why I see this "homes"?

I have tried to destroy the dataset, remove shares, stop CIFS, rebooted my FreeNAS server and so on, but still this "Homes" pops up after re-creation of setup. I can access "music", but not "homes"

So where did I go wrong?

Cheers Steen
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Sounds like in your CIFS services settings you have selected 'Enable home directories'
 

happydaddy

Cadet
Joined
Jun 5, 2018
Messages
2
Where do I find CIFS?
I looked in Services but it wasn't there. I also searched the Guide for CIFS but it wasn't there either.
I am using FreeNAS-11.1-U5
Thank you.
 

anmnz

Patron
Joined
Feb 17, 2018
Messages
286

happydaddy

Cadet
Joined
Jun 5, 2018
Messages
2
Thanks but the Services->SMB doesn't have a "Enable home directories" checkbox. I found the homes in Sharing->Windows(SMB)->share path
Thank you.
 

·HeRmAN·

Dabbler
Joined
Jan 23, 2020
Messages
13
I have the same 'problem', The folder homes that pops up in Windows has the identical content as the folder for the logged in user.

I have one pool with a dataset for each user I have created so the 'user1' has the storage '/mnt/P1/storage/user1/' etc and all users have a SAMBA share/ Windows share (SMB) with the user unique path pointing at '/mnt/P1/storage/user1/'

I don't see the need for this homes folder and wish to remove it. And I wasn't there from the beginning so I guess that I by mistake have ticked some checkbox but I can't find where or how.
I have check under user settings, SMB settings etc.
No tickbox for "Enable home directories" have been found so I need help

My FreeNAS was 11.2 U7 from the beginning but has recently been upgraded to 11.3 STABLE via 11.2 U8.
The server is a HP Proliant Microserver gen 8 Intel(R) Xeon(R) CPU E3-1265L V2, 16GB RAM 4x2TB WD Red
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I have the same 'problem', The folder homes that pops up in Windows has the identical content as the folder for the logged in user.

I have one pool with a dataset for each user I have created so the 'user1' has the storage '/mnt/P1/storage/user1/' etc and all users have a SAMBA share/ Windows share (SMB) with the user unique path pointing at '/mnt/P1/storage/user1/'

I don't see the need for this homes folder and wish to remove it. And I wasn't there from the beginning so I guess that I by mistake have ticked some checkbox but I can't find where or how.
I have check under user settings, SMB settings etc.
No tickbox for "Enable home directories" have been found so I need help

My FreeNAS was 11.2 U7 from the beginning but has recently been upgraded to 11.3 STABLE via 11.2 U8.
The server is a HP Proliant Microserver gen 8 Intel(R) Xeon(R) CPU E3-1265L V2, 16GB RAM 4x2TB WD Red
Uncheck "browseable to network clients" for the homes share.
 

·HeRmAN·

Dabbler
Joined
Jan 23, 2020
Messages
13
Hmmm, the folder for the user disappeared and the homes is still visible and browsable, I'd like it the other way around as it was from the beginning.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Hmmm, the folder for the user disappeared and the homes is still visible and browsable, I'd like it the other way around as it was from the beginning.
Might be some caching on the windows-side. Try looking at it through the CLI
Code:
root@freenas[...jails/samba410_bulider/root/usr/ports]# smbclient -L //127.0.0.1 -U username%Password

    Sharename       Type      Comment
    ---------       ----      -------
    SMB             Disk      
    IPC$            IPC       IPC Service (FreeNAS Server)
 

·HeRmAN·

Dabbler
Joined
Jan 23, 2020
Messages
13
Any clue?
Usernames change by me for the screenshot

Code:
the configuration database and will be reset on reboot.

root@S1[~]# smbclient -L //127.0.0.1 -U xxx

        Sharename       Type      Comment
        ---------       ----      -------
        user2           Disk
        user3           Disk
        homes         Disk
        user4           Disk
        temp           Disk
        IPC$            IPC       IPC Service (FreeNAS Server)
Reconnecting with SMB1 for workgroup listing.
smbXcli_negprot_smb1_done: No compatible protocol selected by server.
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
Unable to connect with SMB1 -- no workgroup available
root@S1[~]#
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Any clue?
Usernames change by me for the screenshot

Code:
the configuration database and will be reset on reboot.

root@S1[~]# smbclient -L //127.0.0.1 -U xxx

        Sharename       Type      Comment
        ---------       ----      -------
        user2           Disk
        user3           Disk
        homes         Disk
        user4           Disk
        temp           Disk
        IPC$            IPC       IPC Service (FreeNAS Server)
Reconnecting with SMB1 for workgroup listing.
smbXcli_negprot_smb1_done: No compatible protocol selected by server.
protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
Unable to connect with SMB1 -- no workgroup available
root@S1[~]#
What's the output of "testparm -s"?
 

·HeRmAN·

Dabbler
Joined
Jan 23, 2020
Messages
13
For the user1 who is presented as homes.

It might be a good idea to logoff/login om the windows machines between the changes done.
And by the way "Uncheck "browseable to network clients" for the homes share. "
There is no share in FreeNAS for homes, I unchecked it for user1.
When it is checked, om the Windows machine the content of both folders user1 and homes are identical. i.e. a symbolic link

Code:
[user1]
        aio write size = 0
        browseable = No
        ea support = No
        guest ok = Yes
        mangled names = illegal
        path = /mnt/P1/storage/user1
        read only = No
        vfs objects = zfs_space zfsacl streams_xattr
        nfs4:acedup = merge
        nfs4:chown = true


[homes]
        aio write size = 0
        ea support = No
        mangled names = illegal
        path = /mnt/P1/storage/user3/%U
        read only = No
        vfs objects = zfs_space zfsacl streams_xattr
        nfs4:acedup = merge
        nfs4:chown = true
 

·HeRmAN·

Dabbler
Joined
Jan 23, 2020
Messages
13
I think I fond something the user3 was not listed as [user3] but as homes
I the advanced settings for user3 the tickbox 'Use as home share' was checked (by mistake I guess)
Unchecking it removed the homes when browsing But as I said I think it is a good idea to test after logging off or rebooting the Windows machines which I can do at the moment.
 
Top