HDD issues.

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Spork Schivago
    replied
    Re: HDD issues.

    Originally posted by keeney123
    It is too bad they just don't remember the bad sectors and skip them the need time you read them so that the drive would still be usable.
    Yeah, I believe that's how it's supposed to work. The drive marks a sector bads and tries to move the data to a non-damaged sector on the drive. Or at least, that's what I remember from back in the day. Don't know where I got that information from though, it could of been from college or just an idea my friends and I came up with.

    In this case, I kinda need the data in the damaged sectors. One of the sectors contains the hibernation file. When I try copying that file manually, it errors out. I'm gonna restart the PC and see if the drive drops back down to UDMA / 33 mode. Just running ddrescue the second time took longer than the first time.

    Leave a comment:


  • stj
    replied
    Re: HDD issues.

    if you open failed ones you would know.

    usually there is an area on the platter with the coating rubbed away like a ring.
    i could be where the swapfile was stored, or it could be where a regularly used file resides.
    whatever the cause, the head must get worn down too.

    i know drive makers write the firmware to scatter data across the drive to try to stop this happening.

    however, this can cause issues with smooth reading on slow drives, so the firmware does exactly the opposite and tries to write files in continuous blocks on AV drives designed for PVR's

    WD's AV-GREEN series are a good example of this.

    Leave a comment:


  • keeney123
    replied
    Re: HDD issues.

    Originally posted by stj
    Linux can do that, it's called badblock remapping.
    but as Chaos said, it's only going to get worse - usually at an accelerating rate.
    That is interesting because the hard disk just holds magnetism in it. I wonder what the failure analysis reports are on that? Magnetic tape has a life expectancy of 30 to 100 years. I wonder why a hard disk would have a shorter time?

    Leave a comment:


  • stj
    replied
    Re: HDD issues.

    Originally posted by keeney123
    It is too bad they just don't remember the bad sectors and skip them the need time you read them so that the drive would still be usable.
    Linux can do that, it's called badblock remapping.
    but as Chaos said, it's only going to get worse - usually at an accelerating rate.

    Leave a comment:


  • ChaosLegionnaire
    replied
    Re: HDD issues.

    that wont work and is just pointless on a failing drive because the bad sectors would just keep increasing and increasing. it can no longer store data reliably. what is the point in continuing to use such a drive? russian roulette with your data? no thx and no spinning pun intended.

    Leave a comment:


  • keeney123
    replied
    Re: HDD issues.

    Originally posted by Spork Schivago
    I think there's bad sectors on the drive, not so much the heads, because I can read the other partitions just fine. Maybe some dust or something? I think the reason it drops down is because when it can't read the data, it tries a bit slower. I might be totally wrong though Keeney123. Definitely not a hard drive expert, but I do know a good bit about PCs.
    It is too bad they just don't remember the bad sectors and skip them the need time you read them so that the drive would still be usable.

    Leave a comment:


  • Spork Schivago
    replied
    Re: HDD issues.

    I think there's bad sectors on the drive, not so much the heads, because I can read the other partitions just fine. Maybe some dust or something? I think the reason it drops down is because when it can't read the data, it tries a bit slower. I might be totally wrong though Keeney123. Definitely not a hard drive expert, but I do know a good bit about PCs.

    Leave a comment:


  • keeney123
    replied
    Re: HDD issues.

    That is interesting. Do you not think that if it became unstable it would not damage the read/write magnetic head?

    Leave a comment:


  • Spork Schivago
    replied
    Re: HDD issues.

    Originally posted by ChaosLegionnaire
    like i said, most likely the drive is faulty and is unstable at the higher udma speeds so it drops to the lower speed. i had a faulty drive intermittently do that to me before.
    Yeah, I agree with you ChaosLegionnaire. I believe that's what's happening.

    Leave a comment:


  • ChaosLegionnaire
    replied
    Re: HDD issues.

    like i said, most likely the drive is faulty and is unstable at the higher udma speeds so it drops to the lower speed. i had a faulty drive intermittently do that to me before.

    Leave a comment:


  • Spork Schivago
    replied
    Re: HDD issues.

    Originally posted by ChaosLegionnaire
    firstly, yes using an esata connection would fall under the definition of using a native sata connection for the drive.

    secondly, if u are recovering a drive with multiple partitions and hundreds of megabytes of bad sectors, its probably easier to recover the entire physical disk at once rather than just individual partitions at a time. use another hard disk that is the same size or larger than the faulty hard disk. use /dev/sda /dev/sdb with the -f force switch to recover an entire disk to another disk. the -f switch is to override the safety feature of gddrescue that normally prevents partition or entire disk overwriting due to accidental misuse of path parameters.

    for the first pass, run it with the -n switch but WITHOUT the -d direct disc access switch. this is important to speed up the initial rescue and let it run as fast as possible. using direct disc access disables caching which will slow down the initial data rescue.

    then for the second pass, if the drive is still alive, run with the -d and -r 1 switch to attempt recovery of the lightly dmged sectors.

    after that for the third pass, run with the -d -A -M -r 3 to retry the remaining bad sectors but in a different order (thats what the -M retrim switch does), making some of them readable when read in a different order.

    thereafter, use -d -A -R -r 3 for the fourth pass to try all the remaining bad sectors but in reverse order or backwards. sometimes reading a bad sector backwards will make it readable again.

    then if u still got bad sectors left, for the fifth pass try -d -A -M -R -r 3 to retry all the remaining bad sectors but in a different reverse order to try to make more bad sectors readable.

    if even after all that, there are still bad sectors remaining, now u have no choice but to attempt the extreme deep freeze recovery method that i described earlier.

    while the drive is still frozen and cold, reuse the commands i mentioned in the third, fourth and fifth pass to try to grab the data off the bad sectors. hopefully, this will recover all your data.

    this should not be happening. make sure the sata cable is not accidentally knocked loose or anything or if the cable is faulty or if the goldfinger contacts on the drive are dirty. could also be due to a faulty circuit board and the drive really living on borrowed time... this is why u use the -n switch!
    Thanks for all the help. I believe the reason it dropped down was because of all the errors. Anyway, finished the first pass last night, gonna run the second now. After it finished, it did some stuff, trimming or something like that and the non-recoverable data went all the way down to 32216 kB. I'll try now with:
    Code:
    ddrescue -d -r1 /dev/sdc4 /home/spork/backups/sdc4.img /home/spork/backups/sdc4.logfile
    Only reason I didn't try the entire hard drive at first was because I didn't realize it was bad. I saved sdc4 for last. I must of missed ddrescue erroring out on the 5th partition there. When I mount /dev/sdc5, it's just a recyling bin and a System Volume Information (which contains a file called tracking.log). I figured someone partitioned it for user data and they just never used it. sdc4 is my main concern right now.

    dmesg shows: configured for UDMA/33

    Perhaps this drive is somehow configured that way at the factory or something? Doesn't make sense at all though. Why they'd configure a SATA drive to run sooooooooo slow. It does explain why it took ddrescue soooo long to just copy the 300GB partition though. Since I started ddrescue again, we're now down to 32183 kB, so that's progress! Baby steps I guess!

    Leave a comment:


  • ChaosLegionnaire
    replied
    Re: HDD issues.

    firstly, yes using an esata connection would fall under the definition of using a native sata connection for the drive.

    secondly, if u are recovering a drive with multiple partitions and hundreds of megabytes of bad sectors, its probably easier to recover the entire physical disk at once rather than just individual partitions at a time. use another hard disk that is the same size or larger than the faulty hard disk. use /dev/sda /dev/sdb with the -f force switch to recover an entire disk to another disk. the -f switch is to override the safety feature of gddrescue that normally prevents partition or entire disk overwriting due to accidental misuse of path parameters.

    for the first pass, run it with the -n switch but WITHOUT the -d direct disc access switch. this is important to speed up the initial rescue and let it run as fast as possible. using direct disc access disables caching which will slow down the initial data rescue.

    then for the second pass, if the drive is still alive, run with the -d and -r 1 switch to attempt recovery of the lightly dmged sectors.

    after that for the third pass, run with the -d -A -M -r 3 to retry the remaining bad sectors but in a different order (thats what the -M retrim switch does), making some of them readable when read in a different order.

    thereafter, use -d -A -R -r 3 for the fourth pass to try all the remaining bad sectors but in reverse order or backwards. sometimes reading a bad sector backwards will make it readable again.

    then if u still got bad sectors left, for the fifth pass try -d -A -M -R -r 3 to retry all the remaining bad sectors but in a different reverse order to try to make more bad sectors readable.

    if even after all that, there are still bad sectors remaining, now u have no choice but to attempt the extreme deep freeze recovery method that i described earlier.

    while the drive is still frozen and cold, reuse the commands i mentioned in the third, fourth and fifth pass to try to grab the data off the bad sectors. hopefully, this will recover all your data.
    Originally posted by Spork Schivago
    I know the drive has dropped down to UDMA/33 now. ddrescue is just about done.
    this should not be happening. make sure the sata cable is not accidentally knocked loose or anything or if the cable is faulty or if the goldfinger contacts on the drive are dirty. could also be due to a faulty circuit board and the drive really living on borrowed time... this is why u use the -n switch!

    Leave a comment:


  • Uranium-235
    replied
    Re: HDD issues.

    I've had external laptop drives act like they're dying if i'm using an USB extension cable from the voltage drop due to the added wire length and the fact it's DC

    usually the freezing trick works cause some electronics on the board is overheating (cause it's shorted of otherwise fried), it usually has nothing to do with the insides of the drive itself. In theroy, if you know how to work on surface mount stuff, I think there is a non-conductive freeze stuff you can spray on it to determine the bad part, and replace it, if you can find some specs of what it is

    Leave a comment:


  • stj
    replied
    Re: HDD issues.

    i take it you have been over the soldering with a magnifier?

    Leave a comment:


  • Spork Schivago
    replied
    Re: HDD issues.

    Originally posted by keeney123
    This cycling power issue by connecting it up inside still does not answer the question of if it is a hardware or software issue. Both issues can prevent it from performing on the USB port as both hardware and software are independent from the inside connector. I would say software routines on the two different ports are handled differently and I am sure the hardware is different. You could have more than one problem, that is because you tried it on the USB port, which has it own driver. When the driver sees something corrupt by either software or hardware then it performs a certain routine. All depending on who wrote that driver and how good of a program is depends if the system response makes sense or if it ends up in some un-recoverable loop. So with that being said once you connect to the SATA port then with a different software routine you could cure the power cycling routine and still have the original problem of a corrupt program, software or bad sectors on the disk.
    Oh wow, that makes sense and you bring up a good point there. I just assumed that because I hooked it up to the SATA port in the PC, when the problem disappeared, it was a hardware issue with the enclosure. I could some of your ideas with a good drive. However, the problem might only occur with bad drives.

    I know the drive has dropped down to UDMA/33 now. ddrescue is just about done.

    Leave a comment:


  • Spork Schivago
    replied
    Re: HDD issues.

    Originally posted by fzabkar
    The "slow fix" doesn't speed up the drive per se. It just stops the drive from bogging down while doing error correction.

    As for SAT, that is irrelevant for eSATA. USB uses SCSI commands but eSATA and SATA use ATA commands. That's why SCSI-ATA Translation (SAT) is required for USB.
    I gotcha, thanks. The stuff I saw a few years back wasn't about speed I don't think, come to think about it. I think it had something to do with prolonging the life of the blue's by disabling something. Man, wish my memory wasn't soo messed up. I got a bunch of memories that just kinda collide together. You know, two separate memories that are instead remembered as one.

    Leave a comment:


  • keeney123
    replied
    Re: HDD issues.

    Originally posted by Spork Schivago
    In post #16, I post how when I hooked up the hard drive to the SATA ports inside the desktop, powering it via my desktop's PSU, the drive stopped cycling power. This appears to of fixed the original issue and answered my question. There are bad sectors on the drive, ddrescue shows that. Maybe I didn't word it correctly in post #16 or you missed reading it somehow? This has been a pretty hot topic, lots of good posts and good information. Really appreciate everyone jumping in and giving me suggestions!
    This cycling power issue by connecting it up inside still does not answer the question of if it is a hardware or software issue. Both issues can prevent it from performing on the USB port as both hardware and software are independent from the inside connector. I would say software routines on the two different ports are handled differently and I am sure the hardware is different. You could have more than one problem, that is because you tried it on the USB port, which has it own driver. When the driver sees something corrupt by either software or hardware then it performs a certain routine. All depending on who wrote that driver and how good of a program is depends if the system response makes sense or if it ends up in some un-recoverable loop. So with that being said once you connect to the SATA port then with a different software routine you could cure the power cycling routine and still have the original problem of a corrupt program, software or bad sectors on the disk.

    Leave a comment:


  • fzabkar
    replied
    Re: HDD issues.

    The "slow fix" doesn't speed up the drive per se. It just stops the drive from bogging down while doing error correction.

    As for SAT, that is irrelevant for eSATA. USB uses SCSI commands but eSATA and SATA use ATA commands. That's why SCSI-ATA Translation (SAT) is required for USB.

    Leave a comment:


  • Spork Schivago
    replied
    Re: HDD issues.

    Originally posted by keeney123
    At this point everyone is guessing what is wrong. Somehow you must eliminate the possibility of the software causing the problem. So , you software people out there how would he eliminate the software as possibly causing the problem? Once you eliminate that possibility then I would tear into it and proceed with the other hardware suggestions.
    In post #16, I post how when I hooked up the hard drive to the SATA ports inside the desktop, powering it via my desktop's PSU, the drive stopped cycling power. This appears to of fixed the original issue and answered my question. There are bad sectors on the drive, ddrescue shows that. Maybe I didn't word it correctly in post #16 or you missed reading it somehow? This has been a pretty hot topic, lots of good posts and good information. Really appreciate everyone jumping in and giving me suggestions!

    Leave a comment:


  • Spork Schivago
    replied
    Re: HDD issues.

    Originally posted by ChaosLegionnaire
    when doing data recovery, u want to get the data off in the fastest and most glitch free method. so use a native sata connection.

    doing data rescue via usb is more prone to glitches than a native sata connection as u are at the mercy of how well or sheety they designed the usb bridge/sata converter. also, if the connection is usb2, u slow down the recovery process. u want to get the data off as quickly as possible and not kill the drive during recovery.

    the -n switch is for grabbing all the data off the good sectors as quickly as possible. then if the drive is still alive after the initial mass data grab, u can now try the recovery of the bad sectors.

    this is especially important if the drive has tons of bad sectors in the beginning of the drive. for example, u dont want the program to stay stuck at the beginning 5gb of the drive trying to read bad sectors. what about the other 745gb of data? u want to prioritize all the good sectors which waaay outnumber the bad considering the capacity of drives these days.

    the -n switch is also useful for performing extreme data recovery methods thereafter. an example of an extreme deep freeze hard drive data recovery method is to use -n for the first pass to grab all the data off the good sectors. then coat the hard drive in vaseline (to protect against condensation) and chuck it in the freezer overnight. then in the morning quickly plug in the drive and quickly try to recover only the unread sectors (which are all the bad sectors) while the drive is frozen at subzero temps.

    sometimes bad sectors become readable again during subzero temps but become unreadable again when the drive heats up. so if the drive heats up and sectors become unreadable again just keep repeating the freezer trick until all the bad sectors are recovered and voila u have saved 100% of your data!
    Thank you for the explanation. I try to avoid the freezer unless I absolutely have to. Had to do it with a floppy disk not too long ago and was able to successfully recover the data. So, once ddrescue finishes, how should I restart it to try and recover the bad sectors? Seems the longer this has been running, the error size reported by ddrescue has grown quite large. Last time I checked, over 238MB! However, almost finished. The partition was only 300GB (and I'm at around 280GB I believe). Kinda weird how this drive was partitioned. 300GB partition they where using, but where's the rest of the space?? If there's another partition, why can't I see it? 300MB + 600MB + 300GB + 2.9GB + 20GB != anything near 750GB!

    Oh no! sdc5 is supposed to be around 400GB according to fdisk. That one must of failed as well and only copied 2.9GB. I really need to get this hibernation file and pagefile stuff recovered along with the empty data. It is kinda important. If I find what I think I'm going to, I'll let you guys know. It's nothing good, that's for sure.
    Last edited by Spork Schivago; 09-13-2015, 06:12 PM.

    Leave a comment:

Related Topics

Collapse

  • ha0s
    [Model] Acer A114-61L (DA0Z8XMB6D0 REV. D) — OEM partitions wiped, need firehose (EDL / QSIP 7180)
    by ha0s
    Hello everyone,

    I have an Acer A114-61L laptop (motherboard: DA0Z8XMB6D0 REV. D) where the OEM partitions were accidentally wiped using the diskpart -> clean command. Now the laptop no longer boots, but it does show signs of life:
    • Power consumption is around 22 mA when powered on
    • It can be switched into EDL mode, where it is detected as Qualcomm HS-USB QDLoader 9008
    • I would like to try restoring the GPT/partitions via EDL

    To access storage in EDL mode, I need a firehose loader.

    Does anyone happen to have a compatible firehose for QSIP 7180?

    ...
    07-23-2025, 06:05 AM
  • SoulFreeze
    Audio Issues - Realtek ALC3306 - Lenovo Slim Pro 7 14ARP8 - Type 83AX
    by SoulFreeze
    Hi, trying to troubleshoot some problems with this laptop I just finished repairing which had power issues (Burnt Buck converter - SY8883DFC shorted to ground).

    After repairing the above issue, I realized the following remaining problem,
    Sound only comes from bottom speakers, top palmrest speakers don't work. Neither does the headphone jack (static/buzzing).
    The computer recognizes headphones are connected and displays a popup in windows
    Sometimes, the computer will boot up and the sound will be working fine. However, if I run intensive programs and the computer...
    06-21-2025, 09:53 AM
  • Nagyesz
    Lenovo IdeaPad Gaming 3 15ACH - Ideapad 3 well known solder joint issues
    by Nagyesz
    I have a Lenovo IdeaPad Gaming 3 15ACH, which has started exhibiting the well-known issues of the Lenovo IdeaPad 3.

    All stress tests run perfectly, and there are no performance issues. However, the solder joints are almost certainly starting to fail. If the top two screws on the back are not screwed in, moving the screen results in a BSOD or, in some cases, a slight artifact and freeze. This is a 2023 notebook..

    How can I extend its lifespan? Could reflow help?

    It has ryzen 5 5500h, rtx 2050, no soldered ram.

    Example of the artifacts:
    ...
    03-01-2025, 11:11 AM
  • pwnjuice
    Bitlocker issues
    by pwnjuice
    Customers laptop had a Motherboard go bad and replaced it. they want to try to get data but. I am having bitlocker issues. I will list below

    Issue 1: When connect the drive to my computer to decrypt it I get this message. "there are no supported protectors on this drive the drive cannot be unlocked"

    Issue 2: When I run powershell as admin and try manage-bde -protectors -get e: I get this message. " ERROR: An attempt to access a required resource was denied. I also get the same error when I try manage-bde -status e: When I try the same with terminal with
    ...
    01-06-2025, 05:33 PM
  • Skgod
    Asus Rog strix g15 g513ih hn0865 and it's having display issues while running on igpu
    by Skgod
    Hey I am having Asus Rog strix g15 g513ih hn0865 and it's having display issues while running on igpu. Works fine when I open any game or whatsapp windows application. The issues are :
    Black screen, freeze
    The weird thing is that when as long as the laptop is running on igpu the problem keeps happening. But as soon as I open any game or whatsapp windows application, the laptop works completely fine.
    When the screen freeze or black screen I used to move the display lid up and down and it usually works like that.
    So can anyone tell me what would be the possible cause?...
    10-16-2024, 08:11 PM
  • Loading...
  • No more items.
Working...