I got the error “No space left on device” when doing mkdir. Steps to fix:
- Is there still space (yes in my case); df -h /data/
- Are there still inodes (yes in my case); df -i /data/
- File system might be corrupted. Fsck fixed it for me (xfs equivalent xfs_repair /dev/mapper/rhel-data