How to create a XFS-formatted disk/folder

2019-07-29 04:01发布

I am playing around with ScyllaDB in docker. To have ScyllaDB operate most efficient in docker production setup it needs a XFS-formatted disk.

Do you know how to create a XFS container volumes, file of disk - in Linux and MacOs?

Thanks

标签: docker scylla
1条回答
做自己的国王
2楼-- · 2019-07-29 04:41

The best way to do that is to create a partition or LVM volume, and then format it with xfs normally, using some tool like mkfs.xfs.

Once you are done, you can use the -v flag in docker to pass that to your container.

查看更多
登录 后发表回答