Wednesday, April 10, 2019

hard drive - SSD or HDD for server

Issue




I have read many discussions about storage, and whether SSDs or classic HDDs are better. I am quite confused. HDDs are still quite preferred, but why?



Which is better for active storage? For example for databases, where the disk is active all the time?



About SSD.



Pros.





  • They are quiet.

  • Not mechanical.

  • Fastest.



Cons.




  • More expensive.




Question.




  • When the life cycle for one cell of a SSD is used, what happens then? Is the disk reduced by only this cell and works normally?

  • What is the best filesystem to write? Is ext4 good because it saves to cells consecutively?



About HDD.




Pros.





Cons.




  • In case of mechanical fault, I believe there is usually no way to repair it. (Please confirm.)

  • Slowest, although I think HDD speed is usually sufficient for servers.




Is it just about price? Why are HDDs preferred? And are SSDs really useful for servers?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...