Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RE: SCSI HD trubble
@ 2001-03-15 20:53 Paul Bunn
  2001-03-15 23:51 ` Michal Jaegermann
  2001-03-16 21:58 ` RHCE Peter Watkinson
  0 siblings, 2 replies; 11+ messages in thread
From: Paul Bunn @ 2001-03-15 20:53 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

There's also something else to consider:
There are two bits in the MODE SELECT pages:
AWRE - Automatic Write REallocation
ARRE - Automatic Read REallocation

When these bits are set, there are no errors reported traditionally when a
bad-sector is found because the sector is automatically remapped out and replaced
with a spare sector from the sector spare pool.  It's only once this pool of
spares is exhausted does the error get reported.  It's also possible for the
remapping to be done by the disk device driver, but I'm not sure if this is
implemented in Linux.

Now, if the bits above mentioned are NOT set, then getting a bad-sector error is
no big deal -- use the VERIFY operation of the SCSI controller's BIOS and the
remapping will be done for you that way.  You should keep an eye on the drive, and
backups are *always* recommended anyway.  If the drive starts generating errors on
a frequent basis, it usually is the foretelling of the device's total imminent
failure.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com
 

-----Original Message-----
From: Steve [mailto:steve@alex.hollis.nh.us]
Sent: None
To: axp-list@redhat.com
Subject: Re: SCSI HD trubble


Good advice!  You might get additional time from the reformat but eventually
it will catch up with you.  If you have no choice then make sure backups are
in GREAT shape!

According to Adaptec, the maximum size drive "supported" is 8.0GB.  Remember
that DEC has modified the firmware/BIOS on the card so only they would know
for sure.  The other thing is - try to get a revision of "G.1" or H.1"
if at all possible.

Regards,

			-Steve



> 
> Alexey,
> 
> When bad blocks begin to appear on disk (you will receive errors during boot
> time scans or manual fschk) the disk will soon fail.  The process is not
> reversible, use this time to obtain a new disk which the AHA1742 EISA
> controller can understand (I believe it must be under 9GB).  
> 
> Good luck,
> 
> --KE
> 
> -----Original Message-----
> From: Alexey Chupakhin [mailto:achupahi@uic.rsu.ru]
> Sent: Thursday, March 15, 2001 10:11 AM
> To: axp-list@redhat.com
> Subject: SCSI HD trubble
> 
> 
> 
> What is required to do for SCSI winchester with badblocks?
> It is known that controller goes to mark badblocks himself.
> It is good for any SCSI adapters that allows to do lowlevel format.
> What about Jensen with AHA-1742 ?
> Once winchester get a badblock we just can put it into basket ?
>




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

* Re: SCSI HD trubble
  2001-03-15 20:53 SCSI HD trubble Paul Bunn
@ 2001-03-15 23:51 ` Michal Jaegermann
  2001-03-16  0:06   ` Andrei A. Dergatchev
                     ` (2 more replies)
  2001-03-16 21:58 ` RHCE Peter Watkinson
  1 sibling, 3 replies; 11+ messages in thread
From: Michal Jaegermann @ 2001-03-15 23:51 UTC (permalink / raw)
  To: axp-list

On Thu, Mar 15, 2001 at 12:53:08PM -0800, Paul Bunn wrote:
> It's also possible for the
> remapping to be done by the disk device driver, but I'm not sure if this is
> implemented in Linux.

There is 'badblocks' utility on your system and 'e2fsck' will use
it automatically when called with '-c' flag.  Try 'man badblocks'
and 'man e2fsck'; in the later case flags '-c' and '-l' in particular.

How fast you will run out of 'badblocks' that is another story.

  Michal




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

* Re: SCSI HD trubble
  2001-03-15 23:51 ` Michal Jaegermann
@ 2001-03-16  0:06   ` Andrei A. Dergatchev
  2001-03-16  0:21     ` Michal Jaegermann
  2001-03-16 14:04   ` Alan P. Kennedy, Sr
  2001-03-16 15:27   ` Alan P. Kennedy, Sr
  2 siblings, 1 reply; 11+ messages in thread
From: Andrei A. Dergatchev @ 2001-03-16  0:06 UTC (permalink / raw)
  To: axp-list


Michal Jaegermann wrote:

> On Thu, Mar 15, 2001 at 12:53:08PM -0800, Paul Bunn wrote:
> > It's also possible for the
> > remapping to be done by the disk device driver, but I'm not sure if this is
> > implemented in Linux.
>
> There is 'badblocks' utility on your system and 'e2fsck' will use
> it automatically when called with '-c' flag.  Try 'man badblocks'
> and 'man e2fsck'; in the later case flags '-c' and '-l' in particular.

I'm wondering about this '-l|-L" option - man page doesn't say
anything about expected format of this file. Will a list like
0x000000001
...
0x100000000
do ?
And am I right that the result of "e2fsck -L mybadblocks"
will make sure that the fs won't access those ever ?
Just curious, got a few bad blocks on my drive which neither
low level format (SCSI 06 that is) nor reassign (07) can deal with :-((

>
> How fast you will run out of 'badblocks' that is another story.
>
>   Michal
>

Regards,

Andrei




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

* Re: SCSI HD trubble
  2001-03-16  0:06   ` Andrei A. Dergatchev
@ 2001-03-16  0:21     ` Michal Jaegermann
  2001-03-16  0:42       ` Andrei A. Dergatchev
  0 siblings, 1 reply; 11+ messages in thread
From: Michal Jaegermann @ 2001-03-16  0:21 UTC (permalink / raw)
  To: axp-list

On Fri, Mar 16, 2001 at 01:06:02AM +0100, Andrei A. Dergatchev wrote:
> Michal Jaegermann wrote:
> > There is 'badblocks' utility on your system and 'e2fsck' will use
> > it automatically when called with '-c' flag.  Try 'man badblocks'
> > and 'man e2fsck'; in the later case flags '-c' and '-l' in particular.
> 
> I'm wondering about this '-l|-L" option - man page doesn't say
> anything about expected format of this file. Will a list like
> 0x000000001
> ...
> 0x100000000
> do ?

This is what documentation says:

       -o output_file
              Write the list of bad blocks to the specified file.
              Without this option, badblocks displays the list on
              its  standard  output.   The format of this file is
                                         ^^^^^^^^^^^^^^^^^^^^^^^
              suitable for use by the -l option in  e2fsck(8)  or
              ^^^^^^
              mke2fs(8).

I am afraid that I do not know much more but it should be easy
to find that from sources what is this format if you do not have
any bad blocks. :-)

> Just curious, got a few bad blocks on my drive which neither
> low level format (SCSI 06 that is) nor reassign (07) can deal with :-((

In theory 'e2fsck -fc <device>' should do that for you (these blocks
will be marked as "used" in your file system) but I never tried that
myself.  '-c' runs badblocks as a subprocess.

  Michal




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

* Re: SCSI HD trubble
  2001-03-16  0:21     ` Michal Jaegermann
@ 2001-03-16  0:42       ` Andrei A. Dergatchev
  2001-03-16  0:54         ` Michal Jaegermann
  0 siblings, 1 reply; 11+ messages in thread
From: Andrei A. Dergatchev @ 2001-03-16  0:42 UTC (permalink / raw)
  To: axp-list


Michal Jaegermann wrote:

> [..]
>
> This is what documentation says:
>
>        -o output_file

Thanks !
Haven't read the man page till the end, sorry :-( !

>
> > Just curious, got a few bad blocks on my drive which neither
> > low level format (SCSI 06 that is) nor reassign (07) can deal with :-((
>
> In theory 'e2fsck -fc <device>' should do that for you (these blocks
> will be marked as "used" in your file system) but I never tried that
> myself.  '-c' runs badblocks as a subprocess.

Well, I haven't seen that much of discussion related
to SCSI subsystem on AlphaLinux, and I wasn't subscribed
to other SCSI lists until very recently, that's why I'm asking :

I don't have a clear idea of what is going to happen when
a drive finds a bad block. From one viewpoint, with automatic
block reassignment of the drive turned ON, the filesystem should
expect that the drive will deal with the problem - reassign the bad
block i.e. - and the present logical address should be fine (?).
From another viewpoint, I'm stuck in the situation when
a drive does not do reassignment at all, or at least does not do
reassignment for a few "special" bad blocks, so I'd prefer
the file system to mark them as used and never refer to them.

Thanks a lot for your help again,

>
>
>   Michal
>

Regards,

Andrei




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

* Re: SCSI HD trubble
  2001-03-16  0:42       ` Andrei A. Dergatchev
@ 2001-03-16  0:54         ` Michal Jaegermann
  2001-03-16  7:25           ` Helge Kreutzmann
  0 siblings, 1 reply; 11+ messages in thread
From: Michal Jaegermann @ 2001-03-16  0:54 UTC (permalink / raw)
  To: axp-list

On Fri, Mar 16, 2001 at 01:42:58AM +0100, Andrei A. Dergatchev wrote:
> 
> I don't have a clear idea of what is going to happen when
> a drive finds a bad block. From one viewpoint, with automatic
> block reassignment of the drive turned ON, the filesystem should
> expect that the drive will deal with the problem - reassign the bad
> block i.e. - and the present logical address should be fine (?).
> From another viewpoint, I'm stuck in the situation when
> a drive does not do reassignment at all, or at least does not do
> reassignment for a few "special" bad blocks, so I'd prefer
> the file system to mark them as used and never refer to them.

These are two different levels.  When a drive/device driver is
doing remapping your file system should not see that bad block at
all (you may loose it contents if errors happened on read but usually
you will have first problems with writes).  Utilities like 'e2fsck -c'
will just tell a file system that some disk pieces are "used" so
they are not available.  'badblocks' will produce a list for a device
but it is up to a given file system to do something with it.  If
you have such block in swap, for example, then it may turn out
to be a real PITA and bad reads of a swapped out stuff may provide an
interesting way to crash. :-)

  Michal




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

* Re: SCSI HD trubble
  2001-03-16  0:54         ` Michal Jaegermann
@ 2001-03-16  7:25           ` Helge Kreutzmann
  0 siblings, 0 replies; 11+ messages in thread
From: Helge Kreutzmann @ 2001-03-16  7:25 UTC (permalink / raw)
  To: axp-list

Hello !
On Thu, Mar 15, 2001 at 05:54:05PM -0700, Michal Jaegermann wrote:
> On Fri, Mar 16, 2001 at 01:42:58AM +0100, Andrei A. Dergatchev wrote:
<snip>
> but it is up to a given file system to do something with it.  If
> you have such block in swap, for example, then it may turn out
> to be a real PITA and bad reads of a swapped out stuff may provide an
> interesting way to crash. :-)

Yup. I had that once (albeit on an Intel) and it took me quite some
time to understand why the machine ran fine even under load until I
started some programm (which caused to swap) and then the machine
locked solid.

        Regards

	        Helge
-- 
Helge Kreutzmann, Dipl.-Phys.                      kreutzm@itp.uni-hannover.de
         For gpg-key: finger kreutzm@rigel.itp.uni-hannover.de
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/




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

* Re: SCSI HD trubble
  2001-03-15 23:51 ` Michal Jaegermann
  2001-03-16  0:06   ` Andrei A. Dergatchev
@ 2001-03-16 14:04   ` Alan P. Kennedy, Sr
  2001-03-16 15:27   ` Alan P. Kennedy, Sr
  2 siblings, 0 replies; 11+ messages in thread
From: Alan P. Kennedy, Sr @ 2001-03-16 14:04 UTC (permalink / raw)
  To: axp-list

>>>>> "Michal" == Michal Jaegermann <michal@ellpspace.math.ualberta.ca> writes:

Try this utility 

http://www.bit-net.com/~rmiller/scu.html

Later,

Alan




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

* Re: SCSI HD trubble
  2001-03-15 23:51 ` Michal Jaegermann
  2001-03-16  0:06   ` Andrei A. Dergatchev
  2001-03-16 14:04   ` Alan P. Kennedy, Sr
@ 2001-03-16 15:27   ` Alan P. Kennedy, Sr
  2 siblings, 0 replies; 11+ messages in thread
From: Alan P. Kennedy, Sr @ 2001-03-16 15:27 UTC (permalink / raw)
  To: axp-list

>>>>> "Michal" == Michal Jaegermann <michal@ellpspace.math.ualberta.ca> writes:

Try this utility it is very nice for scsi drives.

http://www.bit-net.com/~rmiller/scu.html

Good luck,

Alan




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

* RHCE
  2001-03-15 20:53 SCSI HD trubble Paul Bunn
  2001-03-15 23:51 ` Michal Jaegermann
@ 2001-03-16 21:58 ` Peter Watkinson
  2001-03-16 23:33   ` RHCE Jerry Winegarden
  1 sibling, 1 reply; 11+ messages in thread
From: Peter Watkinson @ 2001-03-16 21:58 UTC (permalink / raw)
  To: axp-list

Hi,

I've been thinking about doing the RedHat Certified Engineer Course. I was wondering
If anyone had done the course and whether they thought it was useful?

 Kind regards,

--
X-Signature: default

Peter Watkinson
Email: peterw@u.genie.co.uk
Internet: http://you.genie.co.uk/peterw/
Windsurf International.com http://www.windsurf-international.com/
PW Navigate.com http://www.pwnavigate.com/




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

* Re: RHCE
  2001-03-16 21:58 ` RHCE Peter Watkinson
@ 2001-03-16 23:33   ` Jerry Winegarden
  0 siblings, 0 replies; 11+ messages in thread
From: Jerry Winegarden @ 2001-03-16 23:33 UTC (permalink / raw)
  To: axp-list

On Fri, 16 Mar 2001, Peter Watkinson wrote:

> Hi,
>
> I've been thinking about doing the RedHat Certified Engineer Course. I was wondering
> If anyone had done the course and whether they thought it was useful?
>

I took the course and passed the exam about 2 years ago.  It was very
worth it to me.  I don't know if the course has changed.

Will it be worth it to you?  Depends.

I had several years experience as a UNIX (Ultrix/DU) system manager and I
knew very little about Linux specifically.  I didn't need much to bring me
up to speed.  I think it helped my confidence as much as anything.

The exam is different than any of the other certification exams around,
since it consists of one section of multiple choice questions, and two
sections of hands-on exam:  one troubleshooting, one complete system
installation/configuration implementing an assigned list of services.
Both exercises were very realistic and useful.

Now, in the class that I was in, a large percentage of people were there
to get a feel for what Linux was all about.  They were Window NT or
Netware system managers and/or consultants, and boy were they lost!  If
you have trouble with the Gnome GUI or if you are lost without a GUI, then
you'd have a hard time here!

The class goes over material very quickly, assuming that you do have some
foundation.  While you don't have to take EVERY listed prerequisite
seriously, you should have a good foundation with UNIX system programming
if not with Linux.  While the instructors were very good, in general, the
time frame is too short to take the time for too much hand-holding, so
fasten your seatbelt if you decide to go.  On the other hand, there were
experienced Linux system and application programmers in the course that
just breezed through the course - it is not an ADVANCED RedHat Cert Exam.
As I said, it demonstrates basic, useful system config/management.
Also, you are coming from the AXP Linux world.  The course is an I386
course, mostly.  The instructor may have experience with AXP and can also
pass on your questions to other instructors, but not much time is given to
other versions of RHL than I386.

So, is it worth it?  For me it was.

-- 
***************************************************************************
Jerry Winegarden	OIT/Technical Support		Duke University
jbw@duke.edu		http://www-jerry.oit.duke.edu
***************************************************************************




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

end of thread, other threads:[~2001-03-16 23:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-15 20:53 SCSI HD trubble Paul Bunn
2001-03-15 23:51 ` Michal Jaegermann
2001-03-16  0:06   ` Andrei A. Dergatchev
2001-03-16  0:21     ` Michal Jaegermann
2001-03-16  0:42       ` Andrei A. Dergatchev
2001-03-16  0:54         ` Michal Jaegermann
2001-03-16  7:25           ` Helge Kreutzmann
2001-03-16 14:04   ` Alan P. Kennedy, Sr
2001-03-16 15:27   ` Alan P. Kennedy, Sr
2001-03-16 21:58 ` RHCE Peter Watkinson
2001-03-16 23:33   ` RHCE Jerry Winegarden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox