SSD PROBLEM: unable to reinstall osx and also failed in backup recovery.
Yesterday my MacBook Pro 2011 suddenly got hanged and freeze. And I have to restart system by hard shutdown. Then I faced this problem every time. I reset nvram but it did not work . Then I thought May be it's corrupt operating system I tried to reinstall new osx maverick from recovery mode but system freeze again during osx downloading process. I tried this 2 more times but the same problem occurred. Afterwards I deleted all ssd drive data in partitions but when I tried to unmount and delete the partitions here I was failed in unmounting partitions. But I deleted all data from all partitions.after this I tried again to reinstall osx but system hung after sometime. I also tried to recover from my time machine backup but the same problem happened and my system got freeze and I have to hard shutdown. I also did hardware diagnostic test which showed everything ok. Now I am realizing that my SSD got corrupt. Could you please help me what I should consider that can fix my problem. I also tried fsck and verify and repair the disk.
MacBook Pro, OS X Mavericks (10.9.2)