Create a partition if it does not exist.