问题
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.
来源:https://stackoverflow.com/questions/47690456/how-to-create-a-xfs-formatted-disk-folder