I have a sporadic issue specifically with big volumes (~2TB) where the pod in my Kubernetes cluster is stuck on "ContainerCreating" with the reason :
failed to mount the volume as "xfs", it already contains unknown data, probably partitions. Mount error: mount failed: exit status 32
mount: /var/lib/kubelet/plugins/kubernetes.io/aws-ebs/mounts/aws/eu-central-1a/vol-03717f362cd8d0611: wrong fs type, bad option, bad superblock on /dev/xvdcs, missing codepage or helper program, or other error.
I checked the events and the describe pod
but didn't find too much info.
I resolved the issue after manually reformatting the volume but this is not the solution that I'm looking for. Any help will be appreciated