Handles issue when using XFS.

RHEL 7 uses the XFS filesystem which, when partitions are
changed/reformated, can lead to a 'No space left on device' error
message. This PR should resolve this issue.