Сколько раз я могу отформатировать жесткий диск?

11201
Suvarna Amar

Есть ли ограничение на количество раз, которое я могу отформатировать жесткий диск?

Я пытался найти эту информацию в Википедии, но я не нашел ответа.

10
Вы можете отформатировать жесткий диск столько раз, сколько захотите, пока он не выйдет из строя. Вы можете отформатировать SSD до тех пор, пока не превысите максимальное количество записей на устройстве. Ramhound 9 лет назад 6
В настоящее время нет ограничений на форматирование жесткого диска, но частое форматирование может повредить жесткий диск, в зависимости от формата, который вы делаете, как BIOS vembutech 9 лет назад 0
@vembutech - Что? Можете ли вы объяснить свой комментарий? Ramhound 9 лет назад 12
Жесткие диски (и другие вещи) имеют среднее время до отказа (MTBF). Обычно это говорит за n часов до MTBF. Что это значит? Ничего такого. Диск может выйти из строя на следующий день, когда вы его купили, или он все еще может работать, когда вы покупаете следующий компьютер, который больше не поддерживает интерфейс диска. Вы можете полагаться только на одну вещь: она терпит неудачу как раз в тот момент, когда вы хотите сделать резервную копию, а предыдущая была 3 месяца назад. Вот почему это называется Mean. ott-- 9 лет назад 7
Поправка @ott: это называется скупой, потому что гремлины, которые ломают жесткие диски, - рывки. corsiKa 9 лет назад 1

3 ответа на вопрос

21
Horn OK Please

With the exception of CDs, DVDs and Blu-Ray discs (collectively called "optical media"), formatting is not a special action, and is fundamentally the same as any other disk operation. Formatting a storage device (whether it's a hard drive (HDD), solid state disk (SSD), or flash drive) just involves regular old reads and writes to the disk.

The only matters of concern are:

  • Are you performing a quick format or a full format? A quick format just overwrites the core filesystem data structures with a new filesystem, and usually only involves a few megabytes of writes (compared to many gigabytes or terabytes of total disk space). A full format only writes a small amount of data, but reads from every part of the disk to make sure the disk is OK.
  • Usually after you format a disk, if it's your primary storage, you're going to install an operating system on it. This usually causes between 2 and 25 GB of disk writes at first, plus another several gigabytes to install programs and updates.

All this writing of new data (which will vary in quantity depending on what type of format you performed and what you're going to do after you format it) can cause wear on SSDs, and to a lesser degree, the mechanical parts of HDDs. The amount of wear is proportional to the amount of data that is being read/written, with SSDs largely unaffected by reads, but HDDs being affected roughly the same by reads and writes.

I'm not going to delve into the topic of disk endurance and how certain quantities and frequencies of reads and writes affect the endurance (wear level) of different types of disks. This is a very complex topic that is completely independent from the subject of disk formatting.

Just know that the operation of reinstalling Windows on a hard disk is basically doing the same thing to your disk as copying several gigabytes of movies or pictures or music. Just the act of using a computer involves very frequent disk reads and writes.

The only difference is that formatting a disk and then using it often incurs a fairly large amount of reads and writes compared to what a typical user might do in a day.

Analogy: if you normally drive 8 km to work every day in your car, and then take a holiday trip of 200 km, this is fundamentally the same action -- you're just driving further. Formatting causes more wear on your disk, just like driving further causes more wear on your car.

If you want to know how reading and writing data impacts the endurance of your particular type of disk, you can either ask a new question, or search for existing questions (or use Google) to find this information.

[Полный формат также стирается начиная с Windows Vista.] (Http://support.microsoft.com/kb/941961) Daniel B 9 лет назад 3
@DanielB в данном случае мы имеем в виду не «безопасную очистку», а то, что нули записываются на диск. Twisty Impersonator 9 лет назад 1
@DanielB - Спасибо за эту ссылку. Я не знал, что поведение формата Windows изменилось с Vista. Я буду редактировать свой ответ соответственно. Wes Sayeed 9 лет назад 0
Может быть интересно отметить, что * быстрый формат * не обязательно перезаписывает какие-либо части существующей файловой системы. Гарантируется только написание новой файловой системы, игнорируя при этом любую существующую - в зависимости от структуры существующей, она может перезаписать все, некоторые или даже ни одной из них. (Это более важно, если вы хотите восстановить данные после * быстрого форматирования * - есть хороший шанс, что, по крайней мере, некоторые части исходной ФС все еще существуют, возможно, достаточно, чтобы упростить восстановление.) Bob 9 лет назад 1
2
Wes Sayeed

An SSD's service life is rated in total write cycles and is very precise. A Traditional spinning hard drive's service life is rated in hours of runtime, and can only be estimated in a very general way. It's important to note that HDDs and SSDs wear differently.

The flash memory cells in an SSD have a hard limit to the number of erase/rewrite cycles they can tolerate before they die. This number is fixed and predictable, so it is very easy to determine how "healthy" an SSD is. SSDs employ wear leveling algorithms in their firmware to spread out that wear and extend the life of the device.

Spinning hard drives are a different story. The individual magnetic bits can be flipped back and forth an infinite number of times. Furthermore, the mechanical parts (head armature and spindle motor) are controlled by magnets as well so they do not physically make contact against each other. Hard drives wear from heat, humidity, vibration, shock, microscopic defects in the manufacturing process, etc.

Doing a full, long format of an SSD WILL degrade the drive and is unnecessary most of the time.

Doing a full, long format of a spinning hard drive will not degrade the hard drive per se. The wear comes from the heads thrashing about, not by flipping bits back and forth.

Long story short, no, there is no effective limit to the number of times you can format a traditional spinning hard drive -- at least nothing beyond simply using it for the same length of time.

TIL, что полный формат не перезаписывает каждый сектор на диске. Тем не менее, это выглядит как что-то, что могло бы быть небольшим изменением моего ответа. Я пошел дальше и отредактировал свой ответ соответственно. Также следует отметить, что движущиеся части жестких дисков * изнашиваются *, даже если секторы на пластине не изнашиваются. HDD изнашивается так же, как SSD; это просто изнашивается * по-другому *. Чтобы проверить это, оставьте новый жесткий диск в прохладном, сухом месте в электростатическом пакете на 20 лет, возьмите новый жесткий диск и запустите его в те же годы. Диск, который запустился, выйдет из строя; тот в сумке не будет. Таким образом, HDD изнашиваются. Horn OK Please 9 лет назад 1
Я полностью переписал свой ответ из-за ссылки, предоставленной @Daniel B. Windows изменила свое поведение с Vista. Очевидно, Windows теперь обнуляет диск в длинном формате. Wes Sayeed 9 лет назад 0
Являются ли производственные допуски такими, что срок службы ячейки SSD является точным числом? Я всегда думал, что это консервативный номер, и ваше устройство может значительно отличаться от этого числа. Johnny 9 лет назад 0
@Johnny Ваша первоначальная мысль, что это консервативное число, обычно верна. Например, хотя стойкость записи Samsung 850 Pro оценивается в 150 ТБ, у Samsung было много накопителей, преодолевающих барьер в 1 петабайт, причем несколько из них достигли нескольких (до 8 !!!!) петабайт, без значительных признаки отказа диска, за исключением небольшого количества клеток, изящно изнашивающихся. Вероятно, это каким-то странным образом зависит от вашей типичной рабочей нагрузки, структуры записи, температуры, от того, что устройство подвергается ударным повреждениям (как в ноутбуке) или находится в стерильной среде и т. Д. Horn OK Please 9 лет назад 0
-4
Charley

The mechanism that wears out in hard disk drives is that which moves the heads in and out, "seeking". Over time they lose their calibration. Note that this takes a LONG time these days (not once the case). I bet that if you were curious enough, you could find the number of seeks that a HD maker expects from their drives. A quick format, which is mostly on track 0, causes minimal motion and minimal wear.

* Быстрый формат, который в основном на дорожке 0 * ... Я думаю, вы путаете форматирование дискеты с форматированием фиксированных дисков. Twisty Impersonator 9 лет назад 1
Современный механический привод звуковой катушки не будет терять калибровку при поиске. Старые приводы шаговых двигателей страдали от дрейфа. Brian Knoblauch 9 лет назад 3