This question already has an answer here:
I have a Raspberry Pi 2 Model B and a 2,5 inch HDD that I want to connect via USB. The HDD also powers itself over USB. Does the Raspberry Pi 2 Model B provide enough power? Can I safely run the HDD without breaking any of the two devices?