Bad blocks in swap file?

Bad blocks in swap file?

Post by Mike Hei » Thu, 21 Mar 1996 04:00:00

I have had some random crashes (my first on Linux after 2+ years
of using it) and it always appears when swapping gets heavy. I have
checked the swap partition with mkswap -c and found two bad

Question:  What do I do now that I have found the bad blocks?

I know how to fix filesystems with fsck, but this I have never
seen before.

Mike Heins                 ___       ___
                                    Internet Robotics        |_ _|____ |_ _|
Few blame themselves until they     131 Willow Lane, Floor 2  | ||  _ \ | |
have exhausted all other            Oxford, OH  45056         | || |_) || |
possibilities.                                               |___|  _ <|___|


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


I'm trying to find out whether there are any bad blocks in the ext2fs
bad block list. I think there might be, because I had a whole lot of
ext2fs error messages popping up during a compile, and when I removed
the directory I was working with and ran e2fsck -cf /dev/hdc6, it told
me the filesystem was modified, even though none of the regular checks
had failed (I'd previously run e2fsck -f /dev/hdc6, so all the duplicate
blocks and unattached inodes and stuff had been sorted out). I think the
drive might still be under warranty, so if there are bad blocks I'll
take it back.

Please remove the ".nospam" from my address before replying
| Bruce Merry (Entropy)            | bmerry at iafrica dot com       |
| Proud user of Linux!             | |
|               When you make your mark on the world,                |
|                 watch out for people with erasers.                 |

2. ixMicro Ultimate Rez, any luck?

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

4. Linux crash!!!

5. swap partition bad blocks?

6. getting client info

7. Bad blocks on swap?

8. New or Revised TAs on websco, 961106

9. Install scripts should check swap for bad blocks

10. Does ODT 5.0.2 map bad blocks in the swap space?

11. bad blocks in swap area

12. Check for bad blocks in swap partition?

13. My bad blocks aren't getting marked bad ...