Unable to mount volume with XFS filesystem when filesystem is full 100% on Red Hat OpenShift Container Platform
Issue
- Persistent Volumes formatted with
xfs
filesystem and filled by 100% are failing to mount into containers, causing the entire pod to fail during creation time. - Backup, using OADP is failing because the associated persistent volume is filled by 100% and formatted with
xfs
filesystem. -
We are seeing below
events
reported when trying to start a pod that is mounting a full,xfs
formatted volume.8m54s Warning Failed pod/curl-5b59ff475f-jz5c4 Error: relabel failed /var/lib/kubelet/pods/ed97b862-8793-4a9a-b9a6-7e78877cc7c5/volumes/kubernetes.io~csi/pvc-42624c4c-d6ff-4cfd-b1b2-a2bb1dd3fa19/mount: lsetxattr /var/lib/kubelet/pods/ed97b862-8793-4a9a-b9a6-7e78877cc7c5/volumes/kubernetes.io~csi/pvc-42624c4c-d6ff-4cfd-b1b2-a2bb1dd3fa19/mount/data-xfs-1: no space left on device
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 3
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.