How to create a XFS-formatted disk/folder

霸气de小男生 提交于 2019-12-11 05:07:06

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!