Question hdd control badblocks - Page 1
Forum section: electronics / general

author: classicsamus87
author_rank: Regular Contributor
timestamp: November 09, 2020, 11:27:30 pm
content: On an HDD if a file is downloaded and written to a bad sector and the firmware relocated sector table is full what will happen to this file? will it be recorded or not? will it be recorded and corrupted?

author: retiredfeline
author_rank: Frequent Contributor
timestamp: November 10, 2020, 12:09:52 am
content: If your firmware reallocated sector table is full I would avoid having to guess the answer to this question, i.e. replace the disc.

author: free_electron
author_rank: Super Contributor
timestamp: November 10, 2020, 12:31:11 am
content: it will go to empty space. if the disk is full you will get an 'out of space' error

author: AntiProtonBoy
author_rank: Frequent Contributor
timestamp: November 10, 2020, 01:55:44 am
content: The relocated sector table will map bad sectors over to good spare sectors, without affecting the reported drive capacity to the OS. So writing to those sectors will save data to the spare sectors, without much issues. This works even if the relocation table is full, provided that no addional bad sectors develop over time. In the latter case, new bad sectors will probably cause the drive to signal "write errors" back to the OS.

author: classicsamus87
author_rank: Regular Contributor
timestamp: November 10, 2020, 10:03:20 am
content: this table of good and bad sectors at some point it gets full in the firmware so it is no longer possible to write files in good sectors if this happens the file is downloaded and saved in bad sector this file will be corrupted and accessible with two clicks and this file damaged can it also be burned to dvd?

author: free_electron
author_rank: Super Contributor
timestamp: November 10, 2020, 02:57:51 pm
content: NO. Data will not be written to bad blocks. you will get an error that the disk is full. and that's it. file lost.

author: David Hess
author_rank: Super Contributor
timestamp: November 10, 2020, 03:57:32 pm
content: Quote from: classicsamus87 on November 09, 2020, 11:27:30 pmA good hard drive will note an uncorrectable error and return an error to the operating system and the data will be corrupt. Some hard drives will lock up and timeout until reset.

author: classicsamus87
author_rank: Regular Contributor
timestamp: November 14, 2020, 02:53:21 pm
content: I have Seagate and Western Digital HDDs from the year 2000 and these HDDS have badblocks bad sectors and I downloaded important files in these HDDS so I thought these files were saved and corrupted in the bad sectors and if the error correction table is full making it impossible for more corrections files were also saved in these bad sectors?

author: ebastler
author_rank: Super Contributor
timestamp: November 14, 2020, 05:33:08 pm
content: Does your keyboard have a period symbol? You know, this "." little guy? Give it a try, it magically makes your texts easier to read.

author: Gyro
author_rank: Super Contributor
timestamp: November 14, 2020, 10:05:52 pm
content: Quote from: Mechatrommer on November 14, 2020, 09:40:28 pmYour Caps key is broken.Strangely, so is free-electron's. It must be catching.

author: Siwastaja
author_rank: Super Contributor
timestamp: November 15, 2020, 08:05:33 am
content: But the question is...What...is...the...NAME????

author: free_electron
author_rank: Super Contributor
timestamp: November 16, 2020, 07:35:26 pm
content: Quote from: Gyro on November 14, 2020, 10:05:52 pmmy favorite programming language is basic. because it is case insensitive. the 'english' alphabet has 26 letters. not 52... we live in 2020 soon 2021. text editors should know by now that ,after a period and a space, the first letter should be capitalized. if the first letter is an i followed by a space then the first letter of that word should be capitalized too. that being said: all letters on a keyboard are written in uppercase, yet we type in lowercase by default. kind of makes the 'caps lock' key totally illogical ...

author: DrG
author_rank: Super Contributor
timestamp: November 16, 2020, 08:22:22 pm
content: Quote from: Gyro on November 14, 2020, 10:05:52 pmI feel very strongly that you meant to type, "My favorite programming language is BASIC."You are not alone in the cause of Death to the Caps Lock (née shift lock) e.g.,https://medium.com/forwardtick/its-time-for-caps-lock-to-die-81c9eaa4dfa7

author: Mechatrommer
author_rank: Super Contributor
timestamp: November 16, 2020, 09:39:40 pm
content: Quote from: DrG on November 16, 2020, 08:22:22 pmnow you proved that you have blood and veins. i dont mind caps letters what i do mind is extra finger to press the shift key and few brain cells and time to think when to or not to. if we have dedicated 52 keys keyboard i might consider. we are not linguist teacher and dont have time to care for such "non-influencing effect" thing. we are here to make something not working to be working. as once i remember in school that "our" definition (directive) is... to harness natural resources for the good of humanity...

author: David Hess
author_rank: Super Contributor
timestamp: November 20, 2020, 12:45:28 am
content: Quote from: free_electron on November 16, 2020, 07:35:26 pmMy favorite programming language is solder.

author: classicsamus87
author_rank: Regular Contributor
timestamp: November 26, 2020, 02:56:33 pm
content: I have had this doubt for a long time, if I download files in bad sectors of my HDD these files will be automatically redirected to a good sector but when the firmware mapping table has no more space it is full the files started to be saved in bad sectors? I recorded these files on DVD but I don't know if they are corrupted because of the defective sectors of the HDD

author: free_electron
author_rank: Super Contributor
timestamp: December 04, 2020, 03:26:27 pm
content: Quote from: classicsamus87 on November 26, 2020, 02:56:33 pmdude, give it up. If files are saved ,and there are bad blocks , and there are free good blocks the dat will be stored in the good blocks. if there are no more good blocks the disk is full. a bad sector cannot be read. the data is corrupt. you cannot recover the original data. if a sector containging data goes bad the data is corrupted.that's why you keep backups of important data. and no, one copy is NOT a a backup ! a backup is a minimum of 2 verified copies stored in geographically different locations.

author: classicsamus87
author_rank: Regular Contributor
timestamp: December 08, 2020, 10:35:43 pm
content: the burning of the zip, rar and exe files on my DVDs was 100% completed these files may have been downloaded to the badblock bad sector of the HDD and then burned to DVD

author: MK14
author_rank: Super Contributor
timestamp: December 18, 2020, 10:25:40 pm
content: Assuming your real worry, is the data integrity of ROM images. I'd suggest you simply checksum your ROM files (on your HDDs/DVDs), and check those checksums, against known published checksums, for those ROMs.Also, make/keep sensible backups of your data, rather than worrying too much about a particular HDD drive, DVD disc or specific file copy operation.Further details:https://forums.nesdev.com/viewtopic.php?t=12478I've had to research what the real/actual question, seems to be about.The OP, (speculation on my part), will tend to NOT TRUST peoples responses and/or links. Which I think is why they want to know the precise details, so that THEY THEMSELVES (the only person they trust), can checkout the files, badblocks, etc etc.tl;drI think their data is just fine, but they are panicking, over the details they observed, from the S.M.A.R.T. HDD information. (Non-zero sector re-allocation).In all likelihood, the HDD probably managed to read their data just fine, the bad blocks, were probably either not part of the ROM files and/or easily read/corrected and re-allocated by the HDD.

author: Nominal Animal
author_rank: Super Contributor
timestamp: December 19, 2020, 05:34:21 am
content: Quote from: MK14 on December 18, 2020, 10:25:40 pmThis was my suggestion also. To repeat – so that others can confirm or refute my suggestion –:Quote from: Nominal AnimalI also explained that this has worked well for me for over two decades; I tend to make a full backup of my own files at least once a year, and burn to a DVD-R (initially CD-R). (I do incremental backups more often, around once a month for stuff I don't care much about, every time after a significant change for stuff I do care about, to USB flash storage.)I keep the DVD-R/CD-R discs shielded from natural light, because I did have one set of CD-Rs degrade in a semi-transparent storage box on a shelf in direct sunlight. I do prefer metal sheet boxes for this (like old-timey tins used for coffee and so on), but I do no other maintenance at all to them. (And I'm not even sure if it is only because I kinda like those old-fashioned painted tin boxes, and similarly painted ceramics at kitchen for storing tea and spices...)The underlying problem here is that stating the above, even with direct links to software, and describing the procedure to checksum, verify, and re-burn copies with checksum files for later verification, will not help the asker with the underlying problem, because the underlying problem is an affliction that requires non-technical specialist help in behaviour control. You don't get rid of OCD by creating better rituals: those just provide short-term help with the symptoms.Here, if we use germophobia as an analog, we have shown that yes, washing ones hands when coming home, before preparing food and eating, is indeed a good idea because those germs do exist. But excessive hand washing itself is a health risk; and if moving from regular hand soap to industrial cleaning agents, can be fatal. Even at a biologically/physically harmless level, as a behavioural pattern it can be a serious social barrier for interaction.The solution is not to suggest patterns that keep the hand washing to an acceptable level, because the sufferer already knows that, but to stop the discussion on which soaps and how often to use them, and directly tell the person they need help with this, because the symptoms themselves are making that person too difficult to interact with. These are not rare problems in humans at all – even I am talking about personal experience here –, and there is absolutely no shame in seeking help with these, no more than seeking medical help when you have a broken bone. It is a known affliction, with a rather good chance of seriously alleviating theroot causesvia proper therapy, not only making the person themselves happier, but also much easier for others to interact with. Win-win, in my opinion.But it does need that gentle but firm "Dude, stop. This is not the way." intervention.

author: Mechatrommer
author_rank: Super Contributor
timestamp: December 19, 2020, 08:18:29 am
content: all people usually will seek help in event of physical problem, but none i've found will happily seek or even admit of a mental problem. if few people here claim to be psychiatrist experts maybe we can open "psychiatry section"