Install scripts should check swap for bad blocks

Install scripts should check swap for bad blocks

Post by Grant Edwar » Wed, 13 Apr 1994 22:59:49

I tried to install both slackware and debian on a machine with an old
150M Hewlett Packard ESDI drive (a nice drive in it's day).  The drive
had a few bad sectors scattered around.  The install scripts offered
the option of doing a -c option when they mkfs'd partions, but not
when they mkswap'd the swap partition.  I didn't realize it at the
time, but my problems installing on that machine were caused by bad
sectors in the swap partition.

My conclusion is this:

Unless you are _positive_ there are no bad sectors in your swap
partition, do the mkswap by hand with the -c option.

(Now that I know what was wrong, I wish I had thet ESDI drive back
instead of the MFM drives I put in that machine.)

Grant Edwards                                 |Yow!  Loni Anderson's hair
Rosemount Inc.                                |should be LEGALIZED!!


1. Check for bad blocks in swap partition?

I'm getting some filesystem failures (lost inodes, corrupted files, etc)
and I suspect it's because of bad blocks in the IDE drive where
root is mounted and also where swap partition is located. I think
mkfs caught some bad blocks in root partition but,

how can I check for bad blocks in swap partition?

Any hint?

Thanx in advance,


2. Eliminating duplicate fields from a line

3. Automatic script to check bad blocks?!

4. Setting Up Red Hat Linux 5.0 For Use On a WAN.... HOW???

5. Weirdness when checking for bad blocks on 6.1 install

6. cxref for C++ (c++xref)

7. Finding out if there are bad blocks in the bad blocks list

8. Flakey mail problem on Sun

9. How do you add a bad block to e2fs bad block list?

10. 2.3 install check script doesn't check

11. Check my Linux Server bad block

12. swap partition bad blocks?

13. Bad blocks on swap?