Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.4.8
-
Windows Server 2012 R2 / Windows 10 Enterprise
Description
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration:
---------------------------------------------------------------------
|
[mysqld]
|
datadir = //STA-WS001/MariaDBData/Data
|
port = 3306
|
innodb_buffer_pool_size = 2033M
|
character-set-server = utf8
|
[client]
|
port = 3306
|
plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin
|
---------------------------------------------------------------------
|
The mariadb-error-log shows the following entries as soon a new InnoDB-table is created ("CREATE TABLE ..."):
2019-12-09 16:20:30 36 [ERROR] InnoDB: Operating system error number 3 in a file operation.
|
2019-12-09 16:20:30 36 [ERROR] InnoDB: The error means the system cannot find the path specified.
|
2019-12-09 16:20:30 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203.
|
If we set "innodb_file_per_table = OFF" the problem is not showing up.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration: --------------------------------------------------------------------- [mysqld] datadir = //STA-WS001/MariaDBData/Data port = 3306 innodb_buffer_pool_size = 2033M character-set-server = utf8 [client] port = 3306 plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin --------------------------------------------------------------------- The mariadb-error-log shows the following entries as soon a new table is created ("CREATE TABLE ..."): 2019-12-09 15:32:39 36 [ERROR] InnoDB: The error means the system cannot find the path specified. 2019-12-09 15:32:39 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203. 2019-12-09 15:32:39 36 [ERROR] InnoDB: Table `mysql`.`innodb_table_stats` not found. If we set "innodb_file_per_table = OFF" the problem is not showing up. |
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration: --------------------------------------------------------------------- [mysqld] datadir = //STA-WS001/MariaDBData/Data port = 3306 innodb_buffer_pool_size = 2033M character-set-server = utf8 [client] port = 3306 plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin --------------------------------------------------------------------- The mariadb-error-log shows the following entries as soon a new InnoDB-table is created ("CREATE TABLE ..."): 2019-12-09 15:32:39 36 [ERROR] InnoDB: The error means the system cannot find the path specified. 2019-12-09 15:32:39 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203. 2019-12-09 15:32:39 36 [ERROR] InnoDB: Table `mysql`.`innodb_table_stats` not found. If we set "innodb_file_per_table = OFF" the problem is not showing up. |
Description |
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration: --------------------------------------------------------------------- [mysqld] datadir = //STA-WS001/MariaDBData/Data port = 3306 innodb_buffer_pool_size = 2033M character-set-server = utf8 [client] port = 3306 plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin --------------------------------------------------------------------- The mariadb-error-log shows the following entries as soon a new InnoDB-table is created ("CREATE TABLE ..."): 2019-12-09 15:32:39 36 [ERROR] InnoDB: The error means the system cannot find the path specified. 2019-12-09 15:32:39 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203. 2019-12-09 15:32:39 36 [ERROR] InnoDB: Table `mysql`.`innodb_table_stats` not found. If we set "innodb_file_per_table = OFF" the problem is not showing up. |
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration: --------------------------------------------------------------------- [mysqld] datadir = //STA-WS001/MariaDBData/Data port = 3306 innodb_buffer_pool_size = 2033M character-set-server = utf8 [client] port = 3306 plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin --------------------------------------------------------------------- The mariadb-error-log shows the following entries as soon a new InnoDB-table is created ("CREATE TABLE ..."): 2019-12-09 15:32:39 36 [ERROR] InnoDB: The error means the system cannot find the path specified. 2019-12-09 15:32:39 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203. If we set "innodb_file_per_table = OFF" the problem is not showing up. |
Description |
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration: --------------------------------------------------------------------- [mysqld] datadir = //STA-WS001/MariaDBData/Data port = 3306 innodb_buffer_pool_size = 2033M character-set-server = utf8 [client] port = 3306 plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin --------------------------------------------------------------------- The mariadb-error-log shows the following entries as soon a new InnoDB-table is created ("CREATE TABLE ..."): 2019-12-09 15:32:39 36 [ERROR] InnoDB: The error means the system cannot find the path specified. 2019-12-09 15:32:39 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203. If we set "innodb_file_per_table = OFF" the problem is not showing up. |
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration: --------------------------------------------------------------------- [mysqld] datadir = //STA-WS001/MariaDBData/Data port = 3306 innodb_buffer_pool_size = 2033M character-set-server = utf8 [client] port = 3306 plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin --------------------------------------------------------------------- The mariadb-error-log shows the following entries as soon a new InnoDB-table is created ("CREATE TABLE ..."): 2019-12-09 16:20:30 36 [ERROR] InnoDB: Operating system error number 3 in a file operation. 2019-12-09 15:32:39 36 [ERROR] InnoDB: The error means the system cannot find the path specified. 2019-12-09 15:32:39 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203. If we set "innodb_file_per_table = OFF" the problem is not showing up. |
Description |
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration: --------------------------------------------------------------------- [mysqld] datadir = //STA-WS001/MariaDBData/Data port = 3306 innodb_buffer_pool_size = 2033M character-set-server = utf8 [client] port = 3306 plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin --------------------------------------------------------------------- The mariadb-error-log shows the following entries as soon a new InnoDB-table is created ("CREATE TABLE ..."): 2019-12-09 16:20:30 36 [ERROR] InnoDB: Operating system error number 3 in a file operation. 2019-12-09 15:32:39 36 [ERROR] InnoDB: The error means the system cannot find the path specified. 2019-12-09 15:32:39 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203. If we set "innodb_file_per_table = OFF" the problem is not showing up. |
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration: --------------------------------------------------------------------- [mysqld] datadir = //STA-WS001/MariaDBData/Data port = 3306 innodb_buffer_pool_size = 2033M character-set-server = utf8 [client] port = 3306 plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin --------------------------------------------------------------------- The mariadb-error-log shows the following entries as soon a new InnoDB-table is created ("CREATE TABLE ..."): 2019-12-09 16:20:30 36 [ERROR] InnoDB: Operating system error number 3 in a file operation. 2019-12-09 16:20:30 36 [ERROR] InnoDB: The error means the system cannot find the path specified. 2019-12-09 16:20:30 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203. If we set "innodb_file_per_table = OFF" the problem is not showing up. |
Description |
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration: --------------------------------------------------------------------- [mysqld] datadir = //STA-WS001/MariaDBData/Data port = 3306 innodb_buffer_pool_size = 2033M character-set-server = utf8 [client] port = 3306 plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin --------------------------------------------------------------------- The mariadb-error-log shows the following entries as soon a new InnoDB-table is created ("CREATE TABLE ..."): 2019-12-09 16:20:30 36 [ERROR] InnoDB: Operating system error number 3 in a file operation. 2019-12-09 16:20:30 36 [ERROR] InnoDB: The error means the system cannot find the path specified. 2019-12-09 16:20:30 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203. If we set "innodb_file_per_table = OFF" the problem is not showing up. |
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration: {code: noformat} --------------------------------------------------------------------- [mysqld] datadir = //STA-WS001/MariaDBData/Data port = 3306 innodb_buffer_pool_size = 2033M character-set-server = utf8 [client] port = 3306 plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin --------------------------------------------------------------------- {code} The mariadb-error-log shows the following entries as soon a new InnoDB-table is created ("CREATE TABLE ..."): {code:noformat} 2019-12-09 16:20:30 36 [ERROR] InnoDB: Operating system error number 3 in a file operation. 2019-12-09 15:32:39 36 [ERROR] InnoDB: The error means the system cannot find the path specified. 2019-12-09 15:32:39 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203. {code} If we set "innodb_file_per_table = OFF" the problem is not showing up. |
Description |
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration: {code: noformat} --------------------------------------------------------------------- [mysqld] datadir = //STA-WS001/MariaDBData/Data port = 3306 innodb_buffer_pool_size = 2033M character-set-server = utf8 [client] port = 3306 plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin --------------------------------------------------------------------- {code} The mariadb-error-log shows the following entries as soon a new InnoDB-table is created ("CREATE TABLE ..."): {code:noformat} 2019-12-09 16:20:30 36 [ERROR] InnoDB: Operating system error number 3 in a file operation. 2019-12-09 15:32:39 36 [ERROR] InnoDB: The error means the system cannot find the path specified. 2019-12-09 15:32:39 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203. {code} If we set "innodb_file_per_table = OFF" the problem is not showing up. |
We run MariaDB 10.4.8 with the parameter datadir as network resource (UNC-Path)
Our configuration: {code: noformat} --------------------------------------------------------------------- [mysqld] datadir = //STA-WS001/MariaDBData/Data port = 3306 innodb_buffer_pool_size = 2033M character-set-server = utf8 [client] port = 3306 plugin-dir = C:/Program Files/MariaDB 10.4/lib/plugin --------------------------------------------------------------------- {code} The mariadb-error-log shows the following entries as soon a new InnoDB-table is created ("CREATE TABLE ..."): {code:noformat} 2019-12-09 16:20:30 36 [ERROR] InnoDB: Operating system error number 3 in a file operation. 2019-12-09 16:20:30 36 [ERROR] InnoDB: The error means the system cannot find the path specified. 2019-12-09 16:20:30 36 [ERROR] InnoDB: File \\.\\\STA-WS001\MariaDBData: 'CreateFile()' returned OS error 203. {code} If we set "innodb_file_per_table = OFF" the problem is not showing up. |
Priority | Blocker [ 1 ] | Major [ 3 ] |
Assignee | Vladislav Vaintroub [ wlad ] |
Component/s | Data Definition - Create Table [ 14503 ] | |
Fix Version/s | 10.4.12 [ 24019 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Priority | Major [ 3 ] | Minor [ 4 ] |
Attachment | errorlog.txt [ 49656 ] |
Attachment | errorlog.txt [ 49656 ] |
Attachment | errorlog.txt [ 49657 ] |
Workflow | MariaDB v3 [ 101744 ] | MariaDB v4 [ 157074 ] |
An easy workaround seem to be to create a symbolic link (with mklink) pointing to the UNC path, and use it as datadir.
Can you attach the full error log , please? Just for my curiosity, why would you use remote SMB pathfor the database? That seems a lot of network and SMB overhead, for every IO