How to create a XFS-formatted disk/folder

2019-07-29 04:52发布

问题:

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

回答1:

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.



标签: docker scylla