Both SSDs and hard drive machines have them current loss prevention programs, but you can still cause failures, errors, data degradation or disaster if these systems fail, because they are defective.
If you have a mehendi hard drive
As a general rule, recent losses are similar to those that occurred there we power off the laptop, should not damage the hard drive since they all have storage for these cases. However, it is possible that if at that time the disk performs a specific write operation, the information is partially coded, stay corrupt and inaccessible.
If this data is connected to the system files, the whole operating system can be damaged, and the laptop ceases to hold, forcing us to format the system.
It is also possible that the relative arm of these discs is always in an unnatural state, or between several modes, where in its infancy it may revert to its original state and, in this case, four things may occur:
- That the disc section of the recording was damaged and inaccessible.
- The fact that the head does not return properly to its original position and the rest of the disk does not work. In some cases, resetting is stopped.
- MBR (Master Boot Record) is corrupted and the disk will no longer work. In this case it is usually solved by formatting.
- No, nothing happens because of security systems, which is very common.
If you have SSD
SSDs, which lack machine parts, have effective security systems and are very difficult to destroy. Thanks to PLP (Power Loss Protection) protection, SSDs are able to maintain data integrity, and this can be done with Hardware or software (firmware to be exact).
Hardware protection consists of attaching capacitors to the SSD that are able to maintain enough load to allow all the information in the SSD cache to finish writing to memory cells, and refresh the device's data index. The process, visually, will be as follows:
- SSD controller detects power failure.
- The controller issues a command to clear the SSD cache immediately.
- The controller updates the indicators.
- The device shuts down in a controlled manner.
All of this happens in a matter of seconds, and means that not only is the device corrupt, but also no data is lost or corrupted.
This type of protection supports its functionality in a firmware that is able to reconfigure directories and encrypt information stored in SSD cache memory cells. The following procedure will be like this:
- The SSD mapping table (index) is stored in Flash memory, and is updated in the SSD DRAM.
- When new data is written, the firmware updates the index.
- New data is always labeled with labels for their structure (LBA and EEC).
- The controller detects a power failure and notifies the firmware.
- Labels containing written data, enclosed with a database index, will allow the firmware to rebuild data and index the next time the SSD is enabled.
In summary: power shutting down can damage the hard drive or SSD
Although both hard drives and SSDs have their own security systems, these have not yet been accessible. Although in most cases you shut down the laptop effortlessly, there is always the potential for data loss or file fraud, and you can accidentally interrupt the hard drive, so without it it is a disrespectful situation. , always try to turn off the laptop in a controlled manner.
In other words: don't wait for it to shut down because it runs out of battery, because in addition to shortening the battery life, you can damage the drive or SSD.