Windows 7 Map lost

Status
Not open for further replies.

Al Slitter

Explorer
Joined
Jan 3, 2016
Messages
88
I have a Windows 7 computer as my primary workstation, I use this station to manage my connection to my FreeNas server running 9.10.
I configured the server so that it is able to share two folders one is for Movies the other titled Back Up.
Everything has worked well for several months then last week I noticed that the Back Up mapped drive did not show up however the Movies folders share was fine. I checked the CIFS shares and the Back-Up share seems fine.
I tried to set up a share again within Windows 7 and it could not find the server or its share. This is strange as the Movies share is there.

Thoughts please.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I have a Windows 7 computer as my primary workstation, I use this station to manage my connection to my FreeNas server running 9.10.
I configured the server so that it is able to share two folders one is for Movies the other titled Back Up.
Everything has worked well for several months then last week I noticed that the Back Up mapped drive did not show up however the Movies folders share was fine. I checked the CIFS shares and the Back-Up share seems fine.
I tried to set up a share again within Windows 7 and it could not find the server or its share. This is strange as the Movies share is there.

Thoughts please.
Type "testparm" in the FreeNAS command line and post full output here.
 

Al Slitter

Explorer
Joined
Jan 3, 2016
Messages
88
Thank you for the quick reply!

Here is the results:

Code:
[root@freenas ~]# testparm
Load smb config files from /usr/local/etc/smb4.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "null passwords" option is deprecated
Processing section "[Back Up]"
Processing section "[Movies]"
Processing section "[Shared]"
Loaded services file OK.
Server role: ROLE_STANDALONE
 
Last edited by a moderator:

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Thank you for the quick reply!

Here is the results:

[root@freenas ~]# testparm
Load smb config files from /usr/local/etc/smb4.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "null passwords" option is deprecated
Processing section "[Back Up]"
Processing section "[Movies]"
Processing section "[Shared]"
Loaded services file OK.
Server role: ROLE_STANDALONE
You have to press "enter" to get the rest of the output with your share definitions.
 

Al Slitter

Explorer
Joined
Jan 3, 2016
Messages
88
I hope that this is what you want?

Code:
Shell
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = shadow_copy2 zfs_space zfsacl aio_pthread streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
shadow:snapdirseverywhere = yes
shadow:format = auto-%Y%m%d.%H%M-1m
shadow:localtime = yes
shadow:sort = desc
shadow:snapdir = .zfs/snapshot


[Shared]
comment = Sharing of Files
path = /mnt/RAID-Z1/Shared
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl aio_pthread streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
[root@freenas ~]#
 
Last edited by a moderator:

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I hope that this is what you want?

Shell
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = shadow_copy2 zfs_space zfsacl aio_pthread streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
shadow:snapdirseverywhere = yes
shadow:format = auto-%Y%m%d.%H%M-1m
shadow:localtime = yes
shadow:sort = desc
shadow:snapdir = .zfs/snapshot


[Shared]
comment = Sharing of Files
path = /mnt/RAID-Z1/Shared
read only = No
veto files = /.snapshot/.windows/.mac/.zfs/
vfs objects = zfs_space zfsacl aio_pthread streams_xattr
zfsacl:acesort = dontcare
nfs4:chown = true
nfs4:acedup = merge
nfs4:mode = special
[root@freenas ~]#
Hmm... that's still not the full output for your shares.

How about generating a debug file and sending it to me via a PM. I'll be out of town and won't be able to look at it till Friday. If that's too late for you, you can paste the contents of /usr/local/etc/smb4.conf here and someone might be able to figure out what's configured wrong.
 

Al Slitter

Explorer
Joined
Jan 3, 2016
Messages
88
I do not use the command line often so what do I need to type in to generate the debug file?

Thanks again
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
I do not use the command line often so what do I need to type in to generate the debug file?

Thanks again
You use the GUI to generate a debug file. Go to System -> Advanced and click the 'Save Debug' button at the bottom. FreeNAS will ask if you're really sure you want to create the file; then it will crunch for a while; then it will ask you where to save the resulting debug-*.tgz file. Save it to a handy location and PM it to @anodos.
 

Al Slitter

Explorer
Joined
Jan 3, 2016
Messages
88
You use the GUI to generate a debug file. Go to System -> Advanced and click the 'Save Debug' button at the bottom. FreeNAS will ask if you're really sure you want to create the file; then it will crunch for a while; then it will ask you where to save the resulting debug-*.tgz file. Save it to a handy location and PM it to @anodos.
 

Attachments

  • debug-freenas-20160727114637.tgz
    1,015.6 KB · Views: 206

Al Slitter

Explorer
Joined
Jan 3, 2016
Messages
88
Solved the issue, it was a Windows issue.
Have now set up the correct mapping to the shared volume.
 
Status
Not open for further replies.
Top