[MDEV-13382] InnoDB: Operating system error number 2 in a file operation. Created: 2017-07-26 Updated: 2017-09-27 Resolved: 2017-09-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.0.26, 10.0.29 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | JEON YANG BAIK | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
CentOS 5.8 (VMWare Guest OS) |
||
| Attachments: |
|
| Description |
|
Hi, It happened DB crash with this messages.
It happened two times for 3 month. |
| Comments |
| Comment by Alice Sherepa [ 2017-07-26 ] |
|
try to configure tmpdir to custom location, i.e. not /tmp. Error 71 means that file not found, maybe it was deleted somehow. |
| Comment by Elena Stepanova [ 2017-08-02 ] |
|
Unless there were other errors before the quoted fragment, the error most likely means that
The files are created and opened by OS means. There is a tiny window between creation and opening. As alice suggested above, it's hypothetically possible that something (e.g. some cleanup process) manages to delete the newly created file at this very moment. It's also possible, and I guess more likely, that some sort of a file system or OS or VM problem occurs, and the file doesn't really get created (yet) by the time the server attempts to open it. At this point, InnoDB decides that the safer way is to abort, and shuts down with "Cannot continue operation". It's reproducible rather easily by injecting an error at a certain stage. It does not normally cause complaints about virtual method calls and eventual SIGABRT, but their source is unclear – whether they come from the server or from the system. Please note that CentOS 5 is extremely old and EOL-ed both by CentOS and MariaDB, it is not supported anymore. I would recommend to upgrade to something more recent, especially since you are using a VM, it shouldn't be too difficult. |
| Comment by JEON YANG BAIK [ 2017-08-30 ] |
|
Once I changed tmp directory path from /tmp to /data a month ago, it has still working normally. Could I not set the tmpdir of MariaDB 10.0 to /tmp on Centos 5? |
| Comment by Elena Stepanova [ 2017-09-27 ] |
|
Generally there is no limitation on setting tmpdir to /tmp. |