sealer icon indicating copy to clipboard operation
sealer copied to clipboard

unsupported graph driver: vfs

Open yanruogu opened this issue 2 years ago • 5 comments

What happen?

在使用sealer部署k8s时,抛出如下错误: cad5885a4e880427382da8b7e63680d

系统版本: rhel 7.7 内核版本: 3.10.1062 文件系统: xfs

Relevant log output?

No response

What you expected to happen?

No response

How to reproduce it (as minimally and precisely as possible)?

No response

Anything else we need to know?

No response

What is the version of Sealer you using?

{"gitVersion":"v0.8.5","gitCommit":"f9c3d99","buildDate":"2022-04-28 14:16:58","goVersion":"go1.16.15","compiler":"gc","platform":"linux/amd64"}

What is your OS environment?

rhel 7.7

What is the Kernel version?

3.10.0-1062.18.1.el7.x86_64

Other environment you want to tell us?

  • Cloud provider or hardware configuration:
  • Install tools:
  • Others:

yanruogu avatar Jul 12 '22 08:07 yanruogu

Please refer to https://github.com/labring/sealos/issues/531 . @yanruogu Maybe we can get more hints.

allencloud avatar Jul 12 '22 10:07 allencloud

按这个 https://github.com/labring/sealos/issues/531 说法,要么使用ext4,要么使用xfs的时候开启d_type支持? 但生产系统的根文件系统两种条件肯定都办不到; 那么有没有一种可能,就是sealer提供可定制的docker的graph路径,我将其改到一块独立挂载的目录上;而挂载这个目录的磁盘,我可以重新格式化,无论是使用ext4,还是继续使用xfs开启d_type支持皆可?

yanruogu avatar Jul 13 '22 03:07 yanruogu

mark

aleimu avatar Mar 27 '23 05:03 aleimu

https://github.com/sealerio/sealer/blob/main/docs/api/cloudrootfs.md

http://sealer.cool/docs/concept/clusterfile.html#config-api

可通过 Clusterfile Config 覆盖 basefs 中的 docker.sh,在脚本里修改 docker daemon 配置 image

aleimu avatar Mar 27 '23 07:03 aleimu

docker的data-root单独一块盘很正常,我们公司的内部产品和一些每天清理的构建机器就是data-root是一块非系统盘上

zhangguanzhang avatar Mar 28 '23 10:03 zhangguanzhang