swap partition bad blocks?

swap partition bad blocks?

Post by Joe Mill » Thu, 02 Feb 1995 03:27:07



Just installed slackware 2.0, and fdisk formatted and checked the linux native partition,
looking for bad blocks.  The swap partition did not appear to go through the same process.

Are bad blocks tracked in the swap space by some other mechanism?

thanks, oh knowing ones.

 
 
 

swap partition bad blocks?

Post by Bruce Thomps » Fri, 03 Feb 1995 16:39:39




> Just installed slackware 2.0, and fdisk formatted and checked the linux
native partition,
> looking for bad blocks.  The swap partition did not appear to go through
the same process.

> Are bad blocks tracked in the swap space by some other mechanism?

> thanks, oh knowing ones.

When the Slackware install ran mkswap, the swapspace formatting tool, it
_should_ have added the option to check for bad blocks. If not, all is not
lost. All you need to do is stop swapping to that partition, re-do the
mkswap with the -c option and re-start swapping. If you can't do the
swapoff because you're using space on it (it _should_ refuse if it space
is being used which cannot be reclaimed from the buffer cache) then you
can set up a temporary swap _file_ and  swap off that while you re-build
the swap partition.

   Cheers,
   Bruce.

--
--------------------------------------------------------------------
Bruce Thompson                     | "Never put off till tomorrow
PIE Developer Information Group    |  what you can put off till next
Apple Computer Inc.                |  week".
AppleLink: bthompson               |               -- Unknown


 
 
 

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,

Paco.

2. Any success with ATI 3D CHARGER on XFREE86?

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

4. Motorola 56k modem with linux

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

6. whatis.db file missing

7. Bad blocks on swap?

8. How should passwords be stored in a database?

9. Bad blocks in swap file?

10. Install scripts should check swap for bad blocks

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

12. bad blocks in swap area

13. Bad blocks in e2fs partition?