i have an samsung nvme ssd with corrupted gpt information. Nevertheles live boot running gdisk reported, that the on-disk gpt backup is clean and can be used to restore the main gpt information.
So fine, i run the restore and get write error during restoring the main gpt information. First it looks like hardware failure, so i looked into the nvme smart-log, but this did seem okay. I am only at 18% of ssd lifetime and i have 100% of available spare. Nevertheless, whenever i try to write the main gpt to the disk, the number of media_errors and num_error_log_entries increase.
Did i misunderstand something here? As far as i know the ssd should replace defect sectors with spare ones, when it fails to write to those. But this mechanism seems to not work, since i have problematic sectors but 100% available spare? Can i enforce the samsung nvme disk to replace problemativ sectors with spare ones?
