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

[Question]PolarDB创建表空间正常, 但是使用时报错, 如何解决? #539

Open
digoal opened this issue Dec 5, 2024 · 1 comment
Labels
question Further information is requested

Comments

@digoal
Copy link

digoal commented Dec 5, 2024

PolarDB创建表空间正常, 但是使用时报错, 如何解决?

复现方法:

使用这个项目构建镜像并创建容器:

在共享数据目录中创建表空间目录

cd /var/polardb/shared_datadir/pg_tblspc
mkdir abc

创建表空间正常

create tablespace tbs location '/var/polardb/shared_datadir/pg_tblspc/abc';

使用该表空间建表时报错

postgres=# create table t (id int) tablespace tbs; 
ERROR:  could not create directory "file-dio:///var/polardb/shared_datadir/pg_tblspc/16388/PG_15_202209061/5": No such file or directory
@digoal digoal added the question Further information is requested label Dec 5, 2024
@polardb-bot
Copy link

polardb-bot bot commented Dec 5, 2024

Hi @digoal ~ Thanks for opening this issue! 🎉

Please make sure you have provided enough information for subsequent discussion.

We will get back to you as soon as possible. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant