Re: bad blocks in under 2.5 years! So much for HP ...

From: ray (ray_at_zianet.com)
Date: 11/03/05


Date: Thu, 03 Nov 2005 09:00:14 -0700

On Wed, 02 Nov 2005 23:12:01 -0800, milkyway wrote:

> Hello,
>
> I have a Suse Linux system. I have had a HP Pavilion laptop (zv5000)
> for a little more than 2 years and the hard drive appears to be faulty
> - after only 2 years ;-/
>
> I have been able to run the Suse Rescue program to get some kind of OS
> up and going:
>
> Linux Rescue 2.6.4-52 .. i686 i686 i386 GNU/Linux
>
> I get the following error:
>
> reiserfs_read_locked_inode: i/o failure occurred trying to find
> stat
>
> which is exactly like the problem stated in this thread:
>
> http://groups.google.com/group/alt.os.linux.suse/browse_frm/thread/fac1040564d7c1cf/0a0c77087bd58d65?lnk=st&q=reiserfs_read_locked_inode&rnum=5#0a0c77087bd58d65
>
> The advice I have been seeing online specifies to get a list of bad
> blocks and then running a command upon them (the bad blocks) as
> specified on this page:
>
> http://www.namesys.com/bad-block-handling.html
>
> **My problem: I do not know how to get the outuput of the list of
> "badblocks" to a file.
>
> **My question is: Is there some way to repair the blocks by using just
> *one* command on the entiere hard disk system? In otherwords, can I do:
>
> command_name /dev/hda
>
> and then have *all* the bad blocks repaired?
>

That command would be 'magic'.

> -OR-
>
> is there a way to get this list to a file?

redirect output

>
> -OR-
>
> Is there another way to address this problem?
>
> I am soooo disappointed with this laptop. I have another laptop from
> Compaq (a 1700) that is *much* older and I never had any problems
> whereas with this HP, it goes out a little after 2 years.
>
> TIA

Here is one possible solution:
1) buy an external USB hard drive.
2) boot a live CD
3) use 'dd if=/dev/hdan of=backupfileonusbdisk conv=noerror conv=sync'
when 'n' will be the various partitions you're trying to back up - do this
for each partition of interest.
4) you can now mount that backupfile via the loop device and recover the
data on another computer or new hard disk.



Relevant Pages

  • Re: bad blocks in under 2.5 years! So much for HP ...
    ... > I have a Suse Linux system. ... That command would be 'magic'. ... > I am soooo disappointed with this laptop. ... when 'n' will be the various partitions you're trying to back up - do this ...
    (comp.os.linux.hardware)
  • Re: bad blocks in under 2.5 years! So much for HP ...
    ... > I have a Suse Linux system. ... That command would be 'magic'. ... > I am soooo disappointed with this laptop. ... when 'n' will be the various partitions you're trying to back up - do this ...
    (comp.os.linux.setup)
  • bad blocks in under 2.5 years! So much for HP ...
    ... I have a Suse Linux system. ... The advice I have been seeing online specifies to get a list of bad ... blocks and then running a command upon them as ... I am soooo disappointed with this laptop. ...
    (comp.os.linux.setup)
  • bad blocks in under 2.5 years! So much for HP ...
    ... I have a Suse Linux system. ... The advice I have been seeing online specifies to get a list of bad ... blocks and then running a command upon them as ... I am soooo disappointed with this laptop. ...
    (alt.os.linux.suse)
  • bad blocks in under 2.5 years! So much for HP ...
    ... I have a Suse Linux system. ... The advice I have been seeing online specifies to get a list of bad ... blocks and then running a command upon them as ... I am soooo disappointed with this laptop. ...
    (comp.os.linux.hardware)