If you have encountered
the partition failed error in Mac OS X then there are chances Mac
hard drive gets corrupted and the data is it gets lost. It is also
recommended that you use the disk utility to do the partitioning to
minimize the risk. However if the problem has occurred then you can
repair the disk and then recover the files from time machine. When
the backup doesn't work then you can use the Mac data recovery
software. You can know more about the software in the following post.