># su - gpadmin
>$ hawqfilespace -o oushu_fpc
Enter a name for this filespace
> oushu_fpc
Enter replica num for filespace. If 0, default replica num is used (default=3)
> 3
Please specify the DFS location for the filespace (for example: localhost:9000/fs)
location> nn
gpcheckhdfs hdfs nn off postgres
gpcheckhdfs error code is 26880
20190622:09:33:18:003803 hawqfilespace:hawq01:gpadmin-[INFO]:-[created]
20190622:09:33:18:003803 hawqfilespace:hawq01:gpadmin-[INFO]:-
To add this filespace to the database please run the command:
hawqfilespace --config /home/gpadmin/oushu_fpc
>$
确认filespace配置文件
>$ more /home/gpadmin/oushu_fpc
filespace:oushu_fpc
fsreplica:3
dfs_url::nn
文章目录创建filespace配置filespace确认filespace配置文件创建所需目录创建filespac创建tablespace建表测试创建filespace配置filespace># su - gpadmin>$ hawqfilespace -o oushu_fpc Enter a name for this filespace> oushu_fpcEnter replica num for filespace. If 0, default replica num