How to make bad blocks?

Hi,

I need to set up a test scenario with a disk that contains bad blocks (i.e.
sector contents do not match checksum). Does anyone know how I might do
this?

Thanks,
Simon Bonner.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Add a disk device lower filter and wack the blocks on the way up? Who checks
the checksum? You also have the source for disk.sys in the ddk, so for
testing porpoises you could always just hack up disk.sys to spontaneously
decide that a block is bad.

-----Original Message-----
From: Simon Bonner [mailto:xxxxx@normanuk.com]
Sent: Monday, June 25, 2001 5:51 AM
To: NT Developers Interest List
Subject: [ntdev] How to make bad blocks?

Hi,

I need to set up a test scenario with a disk that contains bad blocks (i.e.
sector contents do not match checksum). Does anyone know how I might do
this?

Thanks,
Simon Bonner.


You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You can do this with a disk class filter driver. See SIMBAD in the DDK.

Jamey

----- Original Message -----
From: Simon Bonner
To: NT Developers Interest List
Sent: Monday, June 25, 2001 1:51 PM
Subject: [ntdev] How to make bad blocks?

>
> Hi,
>
> I need to set up a test scenario with a disk that contains bad blocks
(i.e.
> sector contents do not match checksum). Does anyone know how I might do
> this?
>
> Thanks,
> Simon Bonner.
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> Hi,

I need to set up a test scenario with a disk that contains bad blocks
(i.e.
sector contents do not match checksum). Does anyone know how I might do
this?

Write a disk filter driver which will fail some reads and writes with the
appropriate status.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I think SIMBAD does this already. Dosen’t it?

Jamey
----- Original Message -----
From: Maxim S. Shatskih
To: NT Developers Interest List
Sent: Wednesday, June 27, 2001 9:57 PM
Subject: [ntdev] Re: How to make bad blocks?

> > Hi,
> >
> > I need to set up a test scenario with a disk that contains bad blocks
> (i.e.
> > sector contents do not match checksum). Does anyone know how I might do
> > this?
>
> Write a disk filter driver which will fail some reads and writes with the
> appropriate status.
>
> Max
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Thanks for the sugetsion about SIMBAD. I have a rather old DDK installed
that seems to only have SIMBAD.SYS in the …ddk\bin tree, but I can’t
find any source for it. I’ll have a look on a newer DDK.

Regards,
Simon.

“Jamey Kirby”

.com> cc:
Sent by: Subject: [ntdev] Re: How to make bad blocks?
xxxxx@lis
ts.osr.com

28/06/01 06:53
Please respond to
“NT Developers
Interest List”

I think SIMBAD does this already. Dosen’t it?

Jamey
----- Original Message -----
From: Maxim S. Shatskih
To: NT Developers Interest List
Sent: Wednesday, June 27, 2001 9:57 PM
Subject: [ntdev] Re: How to make bad blocks?

> > Hi,
> >
> > I need to set up a test scenario with a disk that contains bad blocks
> (i.e.
> > sector contents do not match checksum). Does anyone know how I might do
> > this?
>
> Write a disk filter driver which will fail some reads and writes with the
> appropriate status.
>
> Max
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@normanuk.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com