Files
geedge-jira/md/GIT-51.md
2025-09-14 22:27:11 +00:00

2.0 KiB
Raw Blame History

修改研发环境ADC设备192.168.40.21文件系统ftype 的值为1

ID Creation Date Assignee Status
GIT-51 2020-06-18T18:44:27.000+0800 张智涵 完成

结论需要将192.168.40.21 文件系统的ftype 选项的值设置为1以保证在docker 容器对文件夹的操作rm,mv 操作正常

异常现象:在 ADC 设备192.168.40.21 上,运行 docker 容器时发现docker 容器中,删除文件夹发生异常如下图:

            !image-2020-06-18-18-24-09-118.png!

           在机器上查询docker info 结果如下发现support d_type  为false

            !image-2020-06-18-18-27-05-277.png!

           经过查询文档文件系统docker d_type 支持关联 文件系统的ftypeftype = 0 导致 dtype 为falseftype 查询结果如下:

           !image-2020-06-18-18-34-04-446.png!   fu_mingwei commented on 2020-06-18T18:59:24.913+0800:

docker 存储使用overlay2 时关于d_type和 文件系统 ftype 的相关资料链接: [docker overlay 官方文档|https://docs.docker.com/storage/storagedriver/overlayfs-driver/] [overlay简介1|https://blog.csdn.net/luckyapple1028/article/details/77916194] [overlay简介2|https://blog.csdn.net/luckyapple1028/article/details/78075358] [What is d_type and why Docker overlayfs need it|https://blog.csdn.net/liukuan73/article/details/77986139]  


Attachments

Attachment: image-2020-06-18-18-24-09-118.png

image-2020-06-18-18-24-09-118.png

Attachment: image-2020-06-18-18-27-05-277.png

image-2020-06-18-18-27-05-277.png

Attachment: image-2020-06-18-18-34-04-446.png

image-2020-06-18-18-34-04-446.png