3.4. 获取 Red Hat Ceph Storage 文件系统标识符
Red Hat Ceph Storage File System Identifier (FSID)是集群的唯一标识符。使用 FSID 配置和验证 OpenShift (RHOSO)上的 Red Hat OpenStack Services 的互操作性。
流程
从 Red Hat Ceph Storage secret 中提取 FSID:
$ FSID=$(oc get secret ceph-conf-files -o json | jq -r '.data."ceph.conf"' | base64 -d | grep fsid | sed -e 's/fsid = //')