摘要: 原文链接: python基础-文件读写'r' 和 'rb'区别 一、Python文件读写的几种模式: r,rb,w,wb 那么在读写文件时,有无b标识的的主要区别在哪里呢? 1、文件使用方式标识 'r':默认值,表示从文件读取数据。'w':表示要向文件写入数据,并截断以前的内容'a':表示要向文件写 阅读全文
posted @ 2020-04-27 17:59 salami_china 阅读(756) 评论(0) 推荐(0)
摘要: 原文链接: https://www.jianshu.com/p/afb6277dbfd6 1.设置集群仅支持 Luminous(或者L之后的)客户端 具体命令: ceph osd set-require-min-compat-client luminous 或 ceph osd set-requir 阅读全文
posted @ 2020-04-27 17:02 salami_china 阅读(1239) 评论(0) 推荐(0)
摘要: 参考链接: mgr balancer模式探索及配置方法1 mgr balancer模式探索及配置方法2 1.ceph mgr module enable balancer [root@controller ~]# ceph mgr module enable balancer module 'bal 阅读全文
posted @ 2020-04-27 14:34 salami_china 阅读(1301) 评论(0) 推荐(0)