Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Engine does not handle O_SYNC flag support for tmpfs file system on Ubuntu [CORE5725] #5991

Open
firebird-automations opened this issue Jan 25, 2018 · 1 comment

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Sergey Mereutsa (green)

If volume is mounted as RAM-drive (tmpfs), FB3.0 does not allow create/resore database on this volume.

/tmp mounted as tmpfs:

isql-fb -user SYSDBA -password masterkey
Use CONNECT or CREATE DATABASE to specify a database
SQL> CREATE DATABASE '/tmp/db.fdb';
Statement failed, SQLSTATE = HY000
operating system directive fstat failed
-Bad file descriptor

In the logs (when restore/create):

crytivo-store Fri Jan 12 19:25:44 2018
Database: /tmp/crytivoshop64t
I/O error during "re open() for SYNC/DIRECT" operation for file "/tmp/crytivoshop64t"
Error while trying to open file
Invalid argument

crytivo-store Fri Jan 12 19:25:44 2018
Operating system call fstat failed. Error code 9

crytivo-store Fri Jan 12 19:25:44 2018
I/O error during "write" operation for file "/tmp/crytivoshop64t"
Error while trying to write to file
Bad file descriptor

Private report with additional details was send to Alex Peshkov, case is reproduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants