check for the warranty of the hard drive
You must have got some warranty for the hard drive. As you told that you bought it last month so I think that it is still under warranty. Try that on some other computer and if that is not able to detect that then you can send it back to the manufacturer. They will either correct the issue or if there is any major problem then they will replace that with the new one. I was also getting somewhat similar issue with one and there was one month of warranty left. So I send it back to them and they simply replaced that with another one. Now I am not having any such detection problem.
In The Absence Of Light