Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: I think i have bad sectors on my hd

  1. #1
    Join Date
    May 2013
    Beans
    18

    I think i have bad sectors on my hd

    i have been having problems install any OS on this laptop. it is a dell inspiron 3520, i would like to know if there is a bootable tool i can use to defrag the disk, it has linux-mint 14 on it now but i had u.studio on it before and wireless issues so i thought i would try to mint out. anyways i was going to put studio back on but when i booted into mint this morning it took forever to load and said someting about not reading the /tmp and then when i went to click on logout a error poped up and would not have the menu show up.

    so i stuck in my usb with studio and went into gparted to see if there is someway to use that and i got this error.


    edit: another ss

    Last edited by komrad3006; May 13th, 2013 at 11:21 PM. Reason: here is another SS

  2. #2
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: I think i have bad sectors on my hd

    Please mark your thread as solved if you get a satisfactory response.

  3. #3
    ahallubuntu is offline Chocolate-Covered Ubuntu Beans
    Join Date
    Jul 2005
    Beans
    2,050

    Re: I think i have bad sectors on my hd

    ~
    Last edited by ahallubuntu; June 24th, 2013 at 04:02 AM.

  4. #4
    Join Date
    Mar 2010
    Beans
    117

    Re: I think i have bad sectors on my hd

    I wonder if komrad3006 has data that needs to be recovered? Thanks for your suggestion ahallubuntu - I'll make a live USB stick in case I need to do the same in future.

    Also, I doubt if defragging will help as this only reorganizing existing data but doesn't repair anything. Even Windows disk-check, I think, only fixes operating system errors but doesn't do much else. Unfortunately, notebook drives are not as easy to analyse as a standard PC as their drive is difficult to remove and connect to via a different machine.

    Perhaps a computer service shop could take the hard drive and run-check-fix it on any specialised equipment they have? For example, shops that sell USB drives often say they can offer to try and fix their products (or replace if in warranty). I doubt that many will support notebook drive recovery but a computer service centre might.

    If there is no data recovery required, then I agree - ditch it as replacement drives are cheap enough (and a good opportunity to purchase a much larger version - I swapped out a 320 GB drive on an older machine with a 500 GB upgrade for example)

  5. #5
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: I think i have bad sectors on my hd

    Back up all your important data and run the disk utility and click the SMART diagnostics. Run the long self test, and when that finishes, look at the values of the following attributes:
    Code:
    Offline_Uncorrectable Current_Pending_Sector Reallocated_Sector_Ct
    If the uncorrectable count is non zero, or the reallocated or pending counts are more than a few, you need to replace the drive. If there are only a few pending, then you can attempt to repair them. First you need to identify the number of the bad sector. The badblocks utility can be used for this. Then you can use
    Code:
    hdparm --read-sector
    to try reading from it to make sure you have the right one, and then
    Code:
    hdparm --write-sector
    to try and rewrite the sector with zeros. Repeat for all bad sectors.
    Please mark your thread as solved if you get a satisfactory response.

  6. #6
    Join Date
    May 2013
    Beans
    18

    Re: I think i have bad sectors on my hd

    Quote Originally Posted by ahallubuntu View Post
    You can install GSmartControl on any Ubuntu live USB or live CD as long as you are also connected to the internet. Then, check the S.M.A.R.T. Attributes tab and see which if any lines are highlighted in pink or red. The Parted Magic Linux distro has GSmartControl already built-in - but they call it "disk health."

    If you have pending sector errors or hundreds of reallocated sectors, the disk is probably junk and needs to be replaced.
    I did install GSmartControl and here is what is says:
    "Cannot retrieve SMART data"
    Device open failed, or device did not return an IDENTIFY DEVICE structure.

    i think i got it work once in linux mint though and there was alot of red peices of the circle graph. think that means its bad?

    Quote Originally Posted by afz12 View Post
    I wonder if komrad3006 has data that needs to be recovered? Thanks for your suggestion ahallubuntu - I'll make a live USB stick in case I need to do the same in future.

    Also, I doubt if defragging will help as this only reorganizing existing data but doesn't repair anything. Even Windows disk-check, I think, only fixes operating system errors but doesn't do much else. Unfortunately, notebook drives are not as easy to analyse as a standard PC as their drive is difficult to remove and connect to via a different machine.

    Perhaps a computer service shop could take the hard drive and run-check-fix it on any specialised equipment they have? For example, shops that sell USB drives often say they can offer to try and fix their products (or replace if in warranty). I doubt that many will support notebook drive recovery but a computer service centre might.

    If there is no data recovery required, then I agree - ditch it as replacement drives are cheap enough (and a good opportunity to purchase a much larger version - I swapped out a 320 GB drive on an older machine with a 500 GB upgrade for example)
    I have no data that need recovered, im just trying to not buy a new HD unless i know that is what absolutely wrong with it. but my gut is telling me to replace the hd and problem solved, was thinking about buying this one from newegg. I really dont want to spend money to have a computer shop around here check it.

    Quote Originally Posted by slickymaster View Post
    Back up all your important data and run the disk utility and click the SMART diagnostics. Run the long self test, and when that finishes, look at the values of the following attributes:
    Code:
    Offline_Uncorrectable Current_Pending_Sector Reallocated_Sector_Ct
    If the uncorrectable count is non zero, or the reallocated or pending counts are more than a few, you need to replace the drive. If there are only a few pending, then you can attempt to repair them. First you need to identify the number of the bad sector. The badblocks utility can be used for this. Then you can use
    Code:
    hdparm --read-sector
    to try reading from it to make sure you have the right one, and then
    Code:
    hdparm --write-sector
    to try and rewrite the sector with zeros. Repeat for all bad sectors.
    I have no data that needs backed up and i have ran Dban 2.2.7 twice already and at the end it even has an error code. and when i do happen to get studio installed, i turn it off and the next day i get all the same errors again.

    i did run those codes you said and here is what i get.

    Code:
    Offline_Uncorrectable Current_Pending_Sector Reallocated_Sector_Ct
    came up command not found

    hdparm --read-sector
    read-sector: bad/missing sector value
    hdparm --write-sector
    write-sector: bad/missing sector value
    should i just scrounge up some cash and buy a new hd? i have even tried to install the original windows 8 (yuck) OS and it dont even find my hd.
    Last edited by komrad3006; May 10th, 2013 at 09:22 PM.

  7. #7
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: I think i have bad sectors on my hd

    Well, there's something else you can try, don't give up on your drive just now.

    Get a Ubuntu LiveDVD and boot your computer from it, when asked whether you want to 'Try Ubuntu' or 'Install Ubuntu' select 'Try Ubuntu' and when you see the Ubuntu desktop navigate to System -> Administration -> Gparted and disable the swap partition (in other words, "swapoff") and note down on a paper the name of your corrupted drive.
    Open a terminal window and run the command
    Code:
    sudo badblocks -sv -b 512 <device-name>
    where <device-name> is name of your device you previously wrote down. After a long time waiting, the result is a list of numbers which are the corrupted sectors.
    Run the command
    Code:
    sudo dd if=<device-name> of=/dev/null bs=512 count=1 skip=<sector>
    where <sector> is the first number given by the previous command.
    Repeat the previous point for each number.
    To check if your rescue succeeded, run again the command
    Code:
    sudo badblocks -sv -b 512 <device-name>
    If all went well, it should give you, after a long while, no number.
    Please mark your thread as solved if you get a satisfactory response.

  8. #8
    Join Date
    May 2013
    Beans
    18

    Re: I think i have bad sectors on my hd

    i will try that again, but it locked up my laptop last night at about 89% was what it said half way up on the terminal as it locked up when i tried it. so i will give it another go, and let you know. maybe if i turn on the power settings and try it again it might help

  9. #9
    Join Date
    May 2013
    Beans
    18

    Re: I think i have bad sectors on my hd

    well, i let it go over night thinking it would be done when i woke up. I turned off the settings that turned off the screen but i guess it doesnt want to listen. so now its runing through all the numbers still but the whole computer is slow responding, if i move the mouse it barely moves, but anyways i have seen at least 20 of this code below in at atleast 10 minutes.

    Code:
    391846044 40.12% Done 10:16:32 elapsed. (391846044/0/0 errors)
    and before i went to bed i watched it for about 5 minutes and seen atleast 20 quickly scoot up the terminal, i only can see what it says now cuz of how lagy the laptop is.

  10. #10
    ahallubuntu is offline Chocolate-Covered Ubuntu Beans
    Join Date
    Jul 2005
    Beans
    2,050

    Re: I think i have bad sectors on my hd

    ~
    Last edited by ahallubuntu; June 24th, 2013 at 04:02 AM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •