linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Badblocs too long...
@ 2004-01-20 21:10 Patrick Gelin
  2004-01-21  1:35 ` Axel Siebenwirth
  2004-01-21  1:48 ` chuck gelm net
  0 siblings, 2 replies; 8+ messages in thread
From: Patrick Gelin @ 2004-01-20 21:10 UTC (permalink / raw)
  To: linux-admin

Hi,

I suspect bad blocs in my Hard disk, so I try the commande:

e2fsck -c /dev/hdb1 (hdb1 not mounted)

it calls badblocks, but it's very very long... after half a day I've checked
only 1/10 of my hard disk (IDE - 20 Go)

1. Is it normal? 

2. Can I do something else? 

Thanks.
-- 
Patrick GELIN
rue du Beau-Site, 3
CH-2300 La Chaux-de-Fonds
Tel: +41 (0)32 / 913 41 48
Email: patrick.gelin@free.fr


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Badblocs too long...
  2004-01-20 21:10 Badblocs too long Patrick Gelin
@ 2004-01-21  1:35 ` Axel Siebenwirth
  2004-01-21 17:18   ` Patrick Gelin
  2004-01-21  1:48 ` chuck gelm net
  1 sibling, 1 reply; 8+ messages in thread
From: Axel Siebenwirth @ 2004-01-21  1:35 UTC (permalink / raw)
  To: Patrick Gelin; +Cc: linux-admin

Hi Patrick!

On Tue, 20 Jan 2004, Patrick Gelin wrote:

> Hi,
> 
> I suspect bad blocs in my Hard disk, so I try the commande:
> 
> e2fsck -c /dev/hdb1 (hdb1 not mounted)
> 
> it calls badblocks, but it's very very long... after half a day I've checked
> only 1/10 of my hard disk (IDE - 20 Go)
> 
> 1. Is it normal? 

Don't know for sure, but I guess that kinda depends on the filesystem
error thats being found?!

> 
> 2. Can I do something else? 

I'd wait for the e2fscking to finish, see whats going on, what kind of problem
turns out with the filesystem and then, in case you get it fixed, 
think about migrating to a journaling filesytem.

But first let it finish the e2fsck even though it takes so long.

Any helpful kernel messages?


Axel



____________________________________________________________________________
Axel Siebenwirth				      phone +49 3641 776807 |
Am Birnstiel 3			 		  axel at pearbough dot net |
07745 Jena								    |
Germany________________________________________________http://pearbough.net |

I either want less decadence or more chance to participate in it.
____________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Badblocs too long...
  2004-01-20 21:10 Badblocs too long Patrick Gelin
  2004-01-21  1:35 ` Axel Siebenwirth
@ 2004-01-21  1:48 ` chuck gelm net
  2004-01-21 17:15   ` Patrick Gelin
  1 sibling, 1 reply; 8+ messages in thread
From: chuck gelm net @ 2004-01-21  1:48 UTC (permalink / raw)
  To: patrick.gelin; +Cc: linux-admin

Try:

badblocks -v -n /dev/hdb1

HTH, Chuck

Patrick Gelin wrote:
> 
> Hi,
> 
> I suspect bad blocs in my Hard disk, so I try the commande:
> 
> e2fsck -c /dev/hdb1 (hdb1 not mounted)
> 
> it calls badblocks, but it's very very long... after half a day I've checked
> only 1/10 of my hard disk (IDE - 20 Go)
> 
> 1. Is it normal?
> 
> 2. Can I do something else?
> 
> Thanks.
> --
> Patrick GELIN
> rue du Beau-Site, 3
> CH-2300 La Chaux-de-Fonds
> Tel: +41 (0)32 / 913 41 48
> Email: patrick.gelin@free.fr
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Badblocs too long...
  2004-01-21  1:48 ` chuck gelm net
@ 2004-01-21 17:15   ` Patrick Gelin
  2004-01-22 21:24     ` chuck
  0 siblings, 1 reply; 8+ messages in thread
From: Patrick Gelin @ 2004-01-21 17:15 UTC (permalink / raw)
  To: linux-admin

chuck gelm net wrote:

> Try:
> 
> badblocks -v -n /dev/hdb1
> 
I tried, but it asked me a random patern, I don't know what to do, neither
how to leave...

Moreover, man documentation explein it's longer with -n option...


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Badblocs too long...
  2004-01-21  1:35 ` Axel Siebenwirth
@ 2004-01-21 17:18   ` Patrick Gelin
  0 siblings, 0 replies; 8+ messages in thread
From: Patrick Gelin @ 2004-01-21 17:18 UTC (permalink / raw)
  To: linux-admin

Axel Siebenwirth wrote:

>> 2. Can I do something else?
> 
> I'd wait for the e2fscking to finish, see whats going on, what kind of
> problem turns out with the filesystem and then, in case you get it fixed,
> think about migrating to a journaling filesytem.
> 
Firstly, I was using a journaling file system, but I've got same problems...

> But first let it finish the e2fsck even though it takes so long.

Sorry, but I can't wait for one week...
 
> Any helpful kernel messages?

I found nothing, but I don't know what to look for...

-- 
Patrick GELIN
rue du Beau-Site, 3
CH-2300 La Chaux-de-Fonds
Tel: +41 (0)32 / 913 41 48
Email: patrick.gelin@free.fr


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Badblocs too long...
@ 2004-01-21 17:34 Carrión Byron
  2004-01-21 18:16 ` Patrick Gelin
  0 siblings, 1 reply; 8+ messages in thread
From: Carrión Byron @ 2004-01-21 17:34 UTC (permalink / raw)
  To: patrick.gelin, linux-admin


Please revise your version of e2fsprogs,
The last version is in the http://e2fsprogs.sourceforge.net (1.34)
fixes a problem with a tight loop in fsck.

Regards

byca





-----Mensaje original-----
De: Patrick Gelin [mailto:patrick.gelin@free.fr] 
Enviado el: Miércoles, 21 de Enero de 2004 12:16
Para: linux-admin@vger.kernel.org
Asunto: Re: Badblocs too long...

chuck gelm net wrote:

> Try:
> 
> badblocks -v -n /dev/hdb1
> 
I tried, but it asked me a random patern, I don't know what to do, neither
how to leave...

Moreover, man documentation explein it's longer with -n option...

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: Badblocs too long...
  2004-01-21 17:34 Carrión Byron
@ 2004-01-21 18:16 ` Patrick Gelin
  0 siblings, 0 replies; 8+ messages in thread
From: Patrick Gelin @ 2004-01-21 18:16 UTC (permalink / raw)
  To: linux-admin

Carrión Byron wrote:

> 
> Please revise your version of e2fsprogs,
> The last version is in the http://e2fsprogs.sourceforge.net (1.34)
> fixes a problem with a tight loop in fsck.

I use Mandrake 9.2, current version for my package e2fsprogs is 1.34
> 
> Regards
> 
> byca
> 
> 
> 
> 
> 
> -----Mensaje original-----
> De: Patrick Gelin [mailto:patrick.gelin@free.fr]
> Enviado el: Miércoles, 21 de Enero de 2004 12:16
> Para: linux-admin@vger.kernel.org
> Asunto: Re: Badblocs too long...
> 
> chuck gelm net wrote:
> 
>> Try:
>> 
>> badblocks -v -n /dev/hdb1
>> 
> I tried, but it asked me a random patern, I don't know what to do, neither
> how to leave...
> 
> Moreover, man documentation explein it's longer with -n option...
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Patrick GELIN
rue du Beau-Site, 3
CH-2300 La Chaux-de-Fonds
Tel: +41 (0)32 / 913 41 48
Email: patrick.gelin@free.fr

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Badblocs too long...
  2004-01-21 17:15   ` Patrick Gelin
@ 2004-01-22 21:24     ` chuck
  0 siblings, 0 replies; 8+ messages in thread
From: chuck @ 2004-01-22 21:24 UTC (permalink / raw)
  To: patrick.gelin; +Cc: linux-admin

Hi, Patrick:

 I tested my badblocks (from E2fsprogs 1.22) on a
Slackware 8.0 distribution using kernel 2.4.19 and when I

 'badblocks -v -n /dev/hdb1'

 the following three lines appear immediately:
Initializing random test data
Checking for bad blocks in non-destructive read-write mode
From block 0 to 8225248

A portion of 'man badblocks' returns:

-n  Use non-destructive read-write  mode.  By default
    only  a  non-destructive  read-only  test  is done.
    This option  must  not  be  combined  with  the  -w
    option, as they are mutually exclusive.

-v  Verbose mode.

 What EXACTLY happens when you do the same?

Perhaps

HTH, Chuck


Patrick Gelin wrote:
> 
> chuck gelm net wrote:
> 
> > Try:
> >
> > badblocks -v -n /dev/hdb1
> >
> I tried, but it asked me a random patern, I don't know what to do, neither
> how to leave...
> 
> Moreover, man documentation explein it's longer with -n option...
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-01-22 21:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-20 21:10 Badblocs too long Patrick Gelin
2004-01-21  1:35 ` Axel Siebenwirth
2004-01-21 17:18   ` Patrick Gelin
2004-01-21  1:48 ` chuck gelm net
2004-01-21 17:15   ` Patrick Gelin
2004-01-22 21:24     ` chuck
  -- strict thread matches above, loose matches on Subject: below --
2004-01-21 17:34 Carrión Byron
2004-01-21 18:16 ` Patrick Gelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).