Environment
This command to create the database fails
And generates this error
But the database file IS created \\freenas\Databases\testing\TestDB3.mdf and written to. I think unsupported calls are being made to samba on freenas or freenas is not configured to support some feature.
Any workaround for this? The guest account has full rights on \\freenas\Databases\testing\ and CREATE DATABASE works on another share on a other windows server.
I have a tcpdump trace file which was created on freenas as I tried to create the database. It contains some confidential information so I cant post it here. Here are screen shots from the final SMB 2 request and response.
Please let me know if you need anything else.
TIA DDM..
Request
Response
- Freenas 9.10
- Windows 2012R2 server
- Microsoft SQL server 2012
This command to create the database fails
Code:
CREATE DATABASE [TestDB3] ON PRIMARY ( NAME = N'TestDB3', FILENAME = '\\freenas\Databases\testing\TestDB3.mdf' , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
And generates this error
Code:
Msg 5120, Level 16, State 101, Line 1 Unable to open the physical file "\\freenas\Databases\testing\TestDB3.mdf". Operating system error 5: "5(Access is denied.)". Msg 1802, Level 16, State 4, Line 1 CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
But the database file IS created \\freenas\Databases\testing\TestDB3.mdf and written to. I think unsupported calls are being made to samba on freenas or freenas is not configured to support some feature.
Any workaround for this? The guest account has full rights on \\freenas\Databases\testing\ and CREATE DATABASE works on another share on a other windows server.
I have a tcpdump trace file which was created on freenas as I tried to create the database. It contains some confidential information so I cant post it here. Here are screen shots from the final SMB 2 request and response.
Please let me know if you need anything else.
TIA DDM..
Request

Response
