CIFS - freenas Invalid MS-DOS function

Status
Not open for further replies.

mihai

Dabbler
Joined
Dec 9, 2014
Messages
14
Just a note, files copied TO the zfs share made it okay. Now I am trying to copy them BACK to Windows 7 and I get the error as in the title.

I've found similar threads posted long ago:

Here, here and here.

I've tried these sets in the [global] section for Auxuliary Parameters:

Test 1:
store dos attribute = yes
vfs objects = acl_xattr
map acl inherit = Yes

Test 2:
store dos attribute = no
map archive = no
map hidden = no
map system = no
map readonly = no

Test3:
store dos attribute = no

Without any luck. Anyone have any ideas for how to fix this, or some sort of work around to get those files copied over to Windows7? I really need access to these files, as they're Quickbooks backups for accounting work I'm doing.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
Just a note, files copied TO the zfs share made it okay. Now I am trying to copy them BACK to Windows 7 and I get the error as in the title.

I've found similar threads posted long ago:

Here, here and here.

I've tried these sets in the [global] section for Auxuliary Parameters:

Test 1:
store dos attribute = yes
vfs objects = acl_xattr
map acl inherit = Yes

Test 2:
store dos attribute = no
map archive = no
map hidden = no
map system = no
map readonly = no

Test3:
store dos attribute = no

Without any luck. Anyone have any ideas for how to fix this, or some sort of work around to get those files copied over to Windows7? I really need access to these files, as they're Quickbooks backups for accounting work I'm doing.
Are you trying to store / work off your QuickBooks file on a samba share, or are you just trying to back up to the share?

Just asking because the former won't work unless you have an enterprise license / version of QuickBooks.

You should post the following:
  • Contents of /usr/local/etc/smb4.conf
  • Entries from /var/log/samba4/log.smbd
Or even better, post a debug file ''system"->"advanced"->"save debug"
 
Last edited:

mihai

Dabbler
Joined
Dec 9, 2014
Messages
14
Enable SSH and root login, connect as root using SFTP.

That worked, and I was able to copy what I needed.

Are you trying to store / work off your QuickBooks file on a samba share, or are you just trying to back up to the share?

No, I am just using it as a backup location.

You should post the following:
  • Contents of /usr/local/etc/smb4.conf
  • Entries from /var/log/samba4/log.smbd
Or even better, post a debug file ''system"->"advanced"->"save debug"

Files are attached to this post. I couldn't fit log.smbd because it was too large. I'll try on a second post.
 

Attachments

  • debug-freenas-20160530165654.zip
    429.3 KB · Views: 228
  • smb4.zip
    932 bytes · Views: 233

mihai

Dabbler
Joined
Dec 9, 2014
Messages
14
I'm trying to upload a zip file with lob.smbd which is only 3 MB, so I don't know why it's having problems. If anyone needs it let me know and I'll find another way.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
First off, the auxiliary parameter is "store dos attributes", not "store dos attribute". Second off, turn off "hostname lookups" under 'services' -> 'CIFS'.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,554
I also noticed that you're running FreeNAS on top of proxmox? There are enough people coming through the forums having problems that I wouldn't consider that a recommended configuration. If you're going to virtualize freenas, do it right. There are plenty of stickies around the forums about it.
 
Status
Not open for further replies.
Top