Planning to make use of the Local Storage Operator to format the /dev/sdb disks on each node. Following the instructions at [4].
Resources:
Steps:
oc get ds NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE local-disks-local-diskmaker 7 7 7 7 7 <none> 58m local-disks-local-provisioner 7 7 7 7 7 <none> 58m
oc get pv NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE local-pv-5ebe93a 223Gi RWO Delete Available local-sc 56m local-pv-67553558 223Gi RWO Delete Available local-sc 46m local-pv-6aa59705 223Gi RWO Delete Available local-sc 31s local-pv-cae6207 223Gi RWO Delete Available local-sc 9m6s local-pv-f5985e6f 223Gi RWO Delete Available local-sc 50m local-pv-f761542e 223Gi RWO Delete Available local-sc 3m52s local-pv-f9d2a890 223Gi RWO Delete Available local-sc 35m
for i in $(oc get pv --selector storage.openshift.com/local-volume-owner-namespace=local-storage -o custom-columns="name:.metadata.name" | tail -n +$((2))); do oc patch pv $i --patch '{"spec":{"accessModes":["ReadWriteMany"]}}';done
oc get pv NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE local-pv-5ebe93a 223Gi RWX Delete Available local-sc 69m local-pv-67553558 223Gi RWX Delete Available local-sc 60m local-pv-6aa59705 223Gi RWX Delete Available local-sc 14m local-pv-cae6207 223Gi RWX Delete Available local-sc 22m local-pv-f5985e6f 223Gi RWX Delete Available local-sc 64m local-pv-f761542e 223Gi RWX Delete Available local-sc 17m local-pv-f9d2a890 223Gi RWX Delete Available local-sc 49m