tarantool / docker

Docker images for tarantool database
https://hub.docker.com/r/tarantool/tarantool
52 stars 25 forks source link

"Failed to write to disk" when work_dir is in mounted volume #193

Open RunsFor opened 4 years ago

RunsFor commented 4 years ago

Tarantool is not working when work_dir is in mounted volume:

tarantool> box.schema.create_space('test')
2020-10-06 10:14:08.713 [7] wal/101/main xlog.c:1032 !> SystemError ./00000000000000000000.xlog: can't allocate disk space: Invalid argument
2020-10-06 10:14:08.714 [7] main/102/interactive txn.c:688 E> ER_WAL_IO: Failed to write to disk
---
- error: Failed to write to disk
...

Reproduce:

mkdir volume && cd volume
docker run -v $(pwd):/opt/volume --rm -it tarantool/tarantool:2.3

Inside docker:

box.cfg{}
box.schema.create_space('test')

Tarantool version: 2.3.3-1-g43af95e77 OS: Mac OS Catalina 10.15.7 Docker Desktop community: 2.4.0.0 (48506)