PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > badblock can not be detected
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

badblock can not be detected

Réponse
 
LinkBack Outils de la discussion
Vieux 20/04/2008, 03h30   #1
gdstm-lnxmlsts@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut badblock can not be detected

Hi,

I have an hard drive that connects to my laptop through the USB 2.0 interface.it was bought at 2006. some months before, it started to report error onread. I reformatted it use the

mkfs.ext3 -c /dev/sda1

But it didn't detected any badblock.
then I copied some files to it, then read out, it shown the error:

usb 5-4.3: reset high speed USB device using ehci_hcd and address 5
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 214814735
usb 5-4.3: reset high speed USB device using ehci_hcd and address 5

I think that's because there are some badblocks on the disk, so I ran

fsck.ext3 -c /dev/sda1

but this time it still didn't find out any badblock.

any idea about it? thanks.


__________________________________________________ ________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
  Réponse avec citation
Vieux 20/04/2008, 07h30   #2
Adrian Levi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: badblock can not be detected

On 20/04/2008, gdstm-lnxmlsts@yahoo.com <gdstm-lnxmlsts@yahoo.com> wrote:
> Hi,
>
> I have an hard drive that connects to my laptop through the USB 2.0 interface.it was bought at 2006. some months before, it started to report error on read. I reformatted it use the
>
> mkfs.ext3 -c /dev/sda1
>
> But it didn't detected any badblock.
> then I copied some files to it, then read out, it shown the error:
>
> usb 5-4.3: reset high speed USB device using ehci_hcd and address 5
> sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
> end_request: I/O error, dev sda, sector 214814735
> usb 5-4.3: reset high speed USB device using ehci_hcd and address 5
>
> I think that's because there are some badblocks on the disk, so I ran
>
> fsck.ext3 -c /dev/sda1
>
> but this time it still didn't find out any badblock.
>
> any idea about it? thanks.


The error could also be due to faulty hardware.

Adrian

--
24x7x365 != 24x7x52 Stupid or bad maths?
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 21/04/2008, 19h30   #3
gdstm-lnxmlsts@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: badblock can not be detected

Thanks. maybe you are right. when I tried to use different usb to ide adapter to connect the hard drive, things became different. but there still has some errors when reading or writing.

--- On Sun, 20/4/08, Adrian Levi <adrian.levi@gmail.com> wrote:

> From: Adrian Levi <adrian.levi@gmail.com>
> Subject: Re: badblock can not be detected
> To: debian-user@lists.debian.org
> Date: Sunday, 20 April, 2008, 7:21 AM
> On 20/04/2008, gdstm-lnxmlsts@yahoo.com
> <gdstm-lnxmlsts@yahoo.com> wrote:
> > Hi,
> >
> > I have an hard drive that connects to my laptop

> through the USB 2.0 interface.it was bought at 2006. some
> months before, it started to report error on read. I
> reformatted it use the
> >
> > mkfs.ext3 -c /dev/sda1
> >
> > But it didn't detected any badblock.
> > then I copied some files to it, then read out, it

> shown the error:
> >
> > usb 5-4.3: reset high speed USB device using ehci_hcd

> and address 5
> > sd 0:0:0:0: [sda] Result: hostbyte=0x07

> driverbyte=0x00
> > end_request: I/O error, dev sda, sector 214814735
> > usb 5-4.3: reset high speed USB device using ehci_hcd

> and address 5
> >
> > I think that's because there are some badblocks

> on the disk, so I ran
> >
> > fsck.ext3 -c /dev/sda1
> >
> > but this time it still didn't find out any

> badblock.
> >
> > any idea about it? thanks.

>
> The error could also be due to faulty hardware.
>
> Adrian
>
> --
> 24x7x365 != 24x7x52 Stupid or bad maths?
> <erno> hm. I've lost a machine.. literally
> _lost_. it responds to
> ping, it works completely, I just can't figure out
> where in my
> apartment it is.
>
>
> --
> To UNSUBSCRIBE, email to
> debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org



__________________________________________________ ________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
  Réponse avec citation
Vieux 21/04/2008, 20h00   #4
Brian McKee
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: badblock can not be detected


On 21-Apr-08, at 2:23 PM, gdstm-lnxmlsts@yahoo.com wrote:

> Thanks. maybe you are right. when I tried to use different usb to
> ide adapter to connect the hard drive, things became different. but
> there still has some errors when reading or writing.
>


Note that modern hard drives remap bad sectors when they can. Your
reformatting might be reassigning a bunch of bad blocks, then it's
finding more when it tries to read the next time....

Brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Verify this email or encrypt your email for free - see gnupg.org

iD8DBQFIDOLBGnOmb9xIQHQRAvWuAJ9w48YufyRPq7g6UwY7el ojhCMx7ACg2wxe
gpl1j7SJdCsA7NiFDO7WOOo=
=krfI
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 21/04/2008, 22h30   #5
gdstm-lnxmlsts@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: badblock can not be detected

Oh dear, that's quite a bad news.
that's what I have encountered. when I heard the noise of hard drive reset,and checked the dmesg to make sure about it, I reformatted the hard drive,then copy my data in again, it worked. but after some days, it starts to tell me about read error again.
so, this means the hard drive has died, right?



--- On Mon, 21/4/08, Brian McKee <map@map-heb.com> wrote:

> From: Brian McKee <map@map-heb.com>
> Subject: Re: badblock can not be detected
> To: gdstm-lnxmlsts@yahoo.com
> Cc: debian-user@lists.debian.org
> Date: Monday, 21 April, 2008, 7:53 PM
> On 21-Apr-08, at 2:23 PM, gdstm-lnxmlsts@yahoo.com wrote:
>
> > Thanks. maybe you are right. when I tried to use

> different usb to
> > ide adapter to connect the hard drive, things became

> different. but
> > there still has some errors when reading or writing.
> >

>
> Note that modern hard drives remap bad sectors when they
> can. Your
> reformatting might be reassigning a bunch of bad blocks,
> then it's
> finding more when it tries to read the next time....
>
> Brian



__________________________________________________ ________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
  Réponse avec citation
Vieux 22/04/2008, 11h10   #6
Adrian Levi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: badblock can not be detected

On 22/04/2008, gdstm-lnxmlsts@yahoo.com <gdstm-lnxmlsts@yahoo.com> wrote:
> Oh dear, that's quite a bad news.
> that's what I have encountered. when I heard the noise of hard drive reset, and checked the dmesg to make sure about it, I reformatted the hard drive, then copy my data in again, it worked. but after some days, it starts to tell me about read error again.
> so, this means the hard drive has died, right?


Install smartmontools and interrogate the smart data on the drive, if
it reports a reallocated sector count and it keeps growing you know
your drive is on it's way out. A static reallocated sector count
doesn't necessarily mean your drive is bad but if that count keeps
growing it's not a good sign.

Adrian

--
24x7x365 != 24x7x52 Stupid or bad maths?
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 22/04/2008, 15h40   #7
Brian McKee
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: badblock can not be detected


On 22-Apr-08, at 6:06 AM, Adrian Levi wrote:

> On 22/04/2008, gdstm-lnxmlsts@yahoo.com <gdstm-lnxmlsts@yahoo.com>
> wrote:
>> Oh dear, that's quite a bad news.
>> that's what I have encountered. when I heard the noise of hard
>> drive reset, and checked the dmesg to make sure about it, I
>> reformatted the hard drive, then copy my data in again, it worked.
>> but after some days, it starts to tell me about read error again.
>> so, this means the hard drive has died, right?

>
> Install smartmontools and interrogate the smart data on the drive, if
> it reports a reallocated sector count and it keeps growing you know
> your drive is on it's way out. A static reallocated sector count
> doesn't necessarily mean your drive is bad but if that count keeps
> growing it's not a good sign.


Note that I don't believe smartmontools will work thru the USB
interface - you'll have to use the native SATA or ATA interface (e.g.
install it in a tower)

Brian

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Verify this email or encrypt your email for free - see gnupg.org

iD8DBQFIDfftGnOmb9xIQHQRAriqAJ4i88fpTE4gGUwOBD9iUB qgO4CvTgCg5ssw
G9+XALwXQcC3n+qcmi02X+g=
=/ojD
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 29/04/2008, 19h00   #8
Douglas A. Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: badblock can not be detected

On Mon, Apr 21, 2008 at 02:20:48PM -0700, gdstm-lnxmlsts@yahoo.com wrote:
> Oh dear, that's quite a bad news.
> that's what I have encountered. when I heard the noise of hard drive reset, and checked the dmesg to make sure about it, I reformatted the hard drive, then copy my data in again, it worked. but after some days, it starts to tell me about read error again.
> so, this means the hard drive has died, right?
>


Assuming an ext2/3 fs, try e2fsck -c -c (the second c does a
non-destructive read-write test of the filesystem).

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h22.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,23734 seconds with 16 queries