[plug] Bad blocks in Swap

Garth Atkinson garth at cclinic.com.au
Fri Feb 23 10:58:37 WST 2001


I didnt think that 'mkswap -c' did anything other that report the
bad blocks.

Brad Campbell wrote:
> 
> Garth Atkinson wrote:
> >
> > Hi Brad
> >
> > I think the bad blocks are still there in your swap.
> >
> > Garth
> 
> Yes, they are still there, but by doing a mkswap -c, it marks the
> bad blocks as unusable and therefore does not access them.
> Since I have done this, I have no hda errors in my log, therefore I
> assume the kernel is not trying to access the faulty disk areas..
> What I did not do, was restart squid. When I did a swapoff -a
> it flushed the swapfile back into ram. Ahh bugger it, my rambling
> is becoming increasingly incoherent.
> Anyway, on this machine, with it's usage profile, squid is the task
> MOST likely to get swapped out. Time will tell I guess..
> 
> Of course I do have 96 megs of Ram, I guess I could leave the swap
> turned off for a couple of weeks..
> 
> I'll let it run as is for the moment and see what happens.
> I have 192 days uptime at the moment, so I'm a little reluctant to
> play with it too much, squid is the only thing that causes any trouble..
> 
> --
> Brad....
>                    /"\
> Save the Forests   \ /     ASCII RIBBON CAMPAIGN
> Burn a Greenie.     X      AGAINST HTML MAIL
>                    / \



More information about the plug mailing list