Search

A technology, a device or an article

Pending HDD sectors disappeared from SMART: what the change tells us

A falling Current_Pending_Sector count can have different causes. Current pending sectors, reallocations and successful recovery of earlier bytes are distinct claims.

A watercolor grid, amber squares lifting away and a closed wax-sealed envelope
ITNWS AI-generated conceptual illustration. An image of a diagnostic marker disappearing while the content remains a separate question; not a SMART capture.ITNWS · image_gen · Original ITNWS AI-generated conceptual editorial illustration

“Yesterday Current_Pending_Sector showed 8, today 0. The error is no longer visible. Does this mean that the drive has corrected the previous data?” This is an illustrative letter compiled by the editors to analyze the indicator, and not a message from a real reader. The answer begins with a limited piece of good news: in the new observation, the previous non-zero pending has disappeared. But the word "fixed" conflates different events that the line need not distinguish. The sector could be read again, could be reassigned, and the specific implementation of the attribute needs to be checked. More than one technical story leads from eight to zero.

Pending means waiting for a specific read problem to be resolved or a subsequent sector decision to be made in the model used by the device. In a typical ATA SMART, this is the current number, and not necessarily a lifetime count of all errors that occurred. Therefore, its decrease in itself is not impossible, suspicious, or evidence of a statistics reset. If the interface shows the size of the current set, participants can leave it. The counter of all past events would have different semantics. You first need to understand which of these questions a particular line is asking before requiring it to continually grow.

The smartd.conf manual from smartmontools, reviewed November 3, 2026, describes this directly. A drop in pending to zero is usually due to the reassignment of pending sectors or the fact that they could be read again. The document also specifies devices whose attribute is not reduced after reassignment. This clause already excludes a universal rule for any HDD. We need a drive model and a decoding method, and not the assumption that the same English label makes all firmware behave alike.

In a typical read failure story, the device was unable to return the required bytes with sufficient correctness. But immediately replacing a location with a spare one does not mean finding out what exactly should have been there. To write new content, the host can provide a source of bytes. To restore old content, such a source still needs to be obtained. This fundamental difference explains why “another physical location is allocated” and “the original data is returned” are not the same event. The controller has location-management mechanisms, and the missing information does not arise from the name of the mechanism alone.

If a later read succeeds, the sector may no longer be considered pending. This observation can be useful in getting the desired content, but it must actually be associated with the desired range and bytes read. The decrease in the attribute itself does not provide these bytes to the calling program. We do not know from it which access took place, when exactly and with what result for a particular file. Therefore, the answer to the letter does not end with the word “yes” even with a favorable possible reason. Possibility and established history remain different levels of knowledge.

When reassigned, the logical address is retained and the internal physical location is changed to the designated spare location. The application does not need to independently substitute a new radius or surface number: the drive handles logical addressing through its mapping. But the transparency of this change to the address does not guarantee the preservation of the previous content. If the new content was provided by a host write, after it the address can be read normally with different bytes. The address remains usable while its internal location changes, and it is this property that can easily be mistaken for a restoration of the past.

This gives rise to a dangerous desire to “zero pending” in any way and consider the zero line as a goal. Overwriting a problematic address may give the device reason to reconsider its state, but it also replaces the content. New data successfully read after it is not proof that the old data was recovered. In our analysis, no overwrite commands were executed and instructions for such intervention are not provided. The direction of the inference is important to us: a change in the diagnostic state is a consequence of working with the address, and not an independent way to return unknown bytes.

Then perhaps it is enough to look at Reallocated_Sector_Ct? Helpful to look at, but not enough for an automatic response. For a typical model, an increase in the corresponding raw count together with a decrease in pending supports the reassignment explanation. In this case, two total numbers do not connect individual addresses in pairs. During the interval, new problems could appear, old ones could be resolved, and other operations could be performed. Without address evidence, it is impossible to prove that all eight of yesterday’s participants turned into exactly eight of today’s reassignments, even if the arithmetic looks very neat.

Let’s say that in an illustrative sequence pending changed from 8 to 0, and the number of reassigned sectors increased by 8. This is consistent with the understandable story, but does not make it the only possible one. If the reassignments have not grown, again a successful read becomes one of the possible explanations given the appropriate device semantics. And yet it is impossible to deduce from two snapshots how many unsuccessful attempts occurred between them. The summary indicator does not record every event. The longer the observation interval, the more different intermediate histories are capable of producing the same final numbers.

A graphite drawing of worn and clean tiles with a tracing sheet carrying part of a pattern
ITNWS AI-generated conceptual illustration. Replacing a location and recovering its former pattern are shown separately. This is an analogy, not a picture of HDD sectors. — ITNWS · image_gen · Original ITNWS AI-generated conceptual editorial illustration

It is especially important here to keep the original raw value separate from the normalized score. smartctl manual explains that the conversion and meaning of attributes vary by manufacturer. VALUE, WORST, THRESH and RAW_VALUE are different fields, not interchangeable scales of the same number. The normalized value of 100 does not have the general meaning of “one hundred percent of the surface is good.” Reducing raw pending to zero and changing the normalized index may be related to firmware rules that cannot be restored based on the external similarity of the columns.

The designations 5, 197 and 198 are often found next to reassignments, pending and offline uncorrectable. But it is not a license to assign such names to each device without verification. Smartmontools model database contains drive families and decoding features. Updating the database can change the representation of the same raw bytes. If two reports are compared, you need to know whether the model, utility version, and format rule are preserved. Otherwise, part of the apparent event could have occurred in the interpretation of the data rather than on the magnetic surface.

Offline_Uncorrectable should also not be declared as just the second name of pending. It refers to a different observation and update order; a specific device can store, recalculate or encode it according to its own rules. Two similar numbers do not prove that we are talking about the same set of addresses. It is impossible to add them up and get the total number of different damaged sectors: the sets may intersect, and the units and meaning of the indicators require verification. This prohibition comes from the usual logic of accounting, not from distrust of diagnostics as such.

Even the sector size should not be silently fixed according to the old example. In the smartmontools text there is a historical explanation in terms of 512-byte sectors. A modern reading of the report should take into account the logical and physical sector size of a particular HDD and the documentation of the corresponding attribute units. Multiplying 8 by a randomly chosen size will not reveal the size of the lost file. Some problematic addresses could be file system free space, some could be metadata, and a known logical range could be represented through multiple addressing layers. One summary line is not enough to reconstruct that mapping.

The difference becomes sharper behind RAID or another virtual layer. The device knows its own logical addresses, while the file system can see the assembled volume with its own geometry. The physical member’s read error and the user’s read error do not have to match one to one: another member or redundancy could have provided the desired content. This explains the possibility of a non-zero pending without immediate visible file corruption. But the absence of a visible error on the application also does not prove that the original physical member itself returned all the previous data. Layers respond to different requests.

smartd monitors the indicators periodically. If pending increased and then decreased between polls, the saved final values may not show the intermediate state. The absence of a new letter also depends on the notification policy and the state of the warning counter. The manual separately describes resetting such a counter after pending drops to zero. Consequently, the notification history is not a complete trace of all sector events. It records what the monitoring mechanism managed to see and decided to report with the selected settings.

It is also necessary to distinguish the current value of the attribute from the error record and the self-test log. They answer different questions and are updated on different events. The earlier self-test with an error does not have to disappear because pending is now zero. Conversely, a new successful self-test does not automatically report which bytes were returned to the user. Journals are useful together if the time and scope of their statements are preserved. Their discrepancy sometimes reflects honestly different points of observation, rather than the need to select one report as correct and delete the rest.

There is one more practical subtlety for the original letter: yesterday’s and today’s reports must refer to the same physical device. The operating system path name may change after reconnection or boot. Comparison by the usual disk designation without checking identity can turn replacing a drive into apparent self-healing. It is not necessary to publish the serial number for the sake of explanation, but within the observation, a link to a specific device is necessary. The snapshot time, model, firmware and decoder make the change in the indicator suitable for analysis; a beautiful difference between two numbers is not enough.

A trend also needs scale. The reappearance of pending after the temporary zero indicates that the current problem set is again non-empty. It does not allow us to calculate the date of final failure or the percentage of data that will remain intact without additional data. Statistical forecasting will require population research, event definitions, and conditions that an individual counter does not provide. This way you can recognize a new symptom as significant without inventing a countdown. Observation is useful precisely because it is specific, and not because it promises to predict the rest of the life of a mechanism based on one field.

All sequences of numbers here are conditional; the editors did not perform data recovery, surface tests, or writes to a user HDD. The sources were checked on the day of preparation, and the features of the live model database are not transferred to any installed version without checking. This leaves the answer quite precise: the reduction of pending is acceptable for common semantics, the reasons must be distinguished, and the units and names must correspond to the device. The knowledge gained relates to the state of the indicator at the time of the snapshot, not to the automatically proven history of each intervening access.

The author of the illustrative letter can be answered as follows: today’s zero removed yesterday’s statement about the non-zero current pending in the examined representation. To find out how it came to be, you need to correlate independent information about reads, reassignments, and device identity. The next non-zero indicator will be a new reason to explore the current set, and the previously saved snapshots will remain a necessary history. HDD has an indicator that honestly decreases. Its usefulness continues when it is not required to log events for which it is not intended.

Sources & documentation

  1. smartmontools smartd manual ↗
  2. smartmontools smartctl manual ↗
  3. smartmontools drive database ↗
  4. smartmontools smartd.conf manual: pending sectors ↗