Server Crash > Reset, now no CIFS sharing [UFS]

Status
Not open for further replies.

di0de

Dabbler
Joined
Oct 19, 2013
Messages
48
Hi all,

I have freenas set up on an old laptop, well this weekend I was rearranging my room and I don't think the laptop was shut down correctly because everything stopped working. I think my USB and/or hard drives got corrupted. I had to reformat and re-install everything to get it back up and running.

I had been running 9.0, but I had to roll back to 8.3 (9.1 just would not load for me; must not be compatible with my hardware).

I got my NFS shares set up just fine, but I cannot get my CIFS shares to work for the life of me. I have three Windows machines and none of them will detect freenas over the network, or connect using drive mapping.

My osx machine detects that there is a CIFS share, but it is unable to open any of the folders. I haven't tried connecting on osx using the server IP, but I assume it will work. My Pi is reading the NFS shares with no problem.

When I reinstalled, I named my user the same as before and set most of the other names and settings as close to what they were before. I ran this command to flush and reload the name cache, thinking that might be the problem:

Code:
C:\>  nbtstat -R


I also ran this command to detect errors in shell, but I couldn't really interpret the results:

Code:
testparm /usr/local/etc/smb.conf


Let me know if you have any leads or suggestions. There are so many configuration options that I don't really understand that it would take me ages to solve by trial and error. Thank you!
 

di0de

Dabbler
Joined
Oct 19, 2013
Messages
48
sorry I have been very busy and not had time until right now. Here are the results of the testparm command. Thank you!

Code:
Load smb config files from /usr/local/etc/smb.conf
max_open_files: increasing sysctl_max (11095) to minimum Windows limit (16384)
rlimit_max: increasing rlimit_max (11095) to minimum Windows limit (16384)
Processing section "[SERV1]"
Processing section "[SERV2]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
 
[global]
    dos charset = CP437
    server string = FreeNAS Server
    map to guest = Bad Password
    obey pam restrictions = Yes
    smb passwd file = /var/etc/private/smbpasswd
    private dir = /var/etc/private
    syslog only = Yes
    max log size = 10
    max protocol = SMB2
    max xmit = 65535
    time server = Yes
    deadtime = 15
    hostname lookups = Yes
    load printers = No
    printcap name = /dev/null
    disable spoolss = Yes
    dns proxy = No
    idmap config * : backend = tdb
    create mask = 0666
    directory mask = 0777
    directory name cache size = 0
    store dos attributes = Yes
    strict locking = No
 
[SERV1]
    path = /mnt/smallnew
    read only = No
    inherit permissions = Yes
    inherit acls = Yes
    guest ok = Yes
    veto files = /.snap/.windows/.zfs/
    map archive = No
    map readonly = no
    nfs4:chown = yes
    nfs4:acedup = merge
    nfs4:mode = special
 
[SERV2]
    path = /mnt/bigold
    read only = No
    inherit permissions = Yes
    inherit acls = Yes
    guest ok = Yes
    veto files = /.snap/.windows/.zfs/
    map archive = No
    map readonly = no
    nfs4:chown = yes
    nfs4:acedup = merge
    nfs4:mode = special
 

di0de

Dabbler
Joined
Oct 19, 2013
Messages
48
hate to bump my own thread, but I'm at a loss. Any useful information from the log I posted?
 

di0de

Dabbler
Joined
Oct 19, 2013
Messages
48
yes and no, basically what I did was delete the old user and create a new one with a different name and profile and made it "1001." Maybe a coincidence but I created the new user with the same name and pw as my windows user. Everything seems to be working fine, but I never did get my old name working, so idk what exactly caused the problem I posted about above.
 
Status
Not open for further replies.
Top