[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: swap problems



> OK changed a few things in fdisk it is now:
>     Device Boot    Start       End    Blocks   Id  System
> /dev/hdb1   *         1      2642   1331536+  83  Linux
> /dev/hdb2          2643      3049    205128   82  Linux swap
> /dev/hdb3          3050      4092    525672    b  Win95 FAT32
> 
> so I did what bruce suggested
> 
> mkswap /dev/hdb2 and got this error:
> mkswap: error: swap area needs to be at least 40kB
> Usage: mkswap [-c] [-v0|-v1] /dev/name [blocks]
> 
> so i did a mkswap /dev/hdb2 200000 and got this
> Setting up swapspace version 1, size = 204795904 bytes
> mkswap: unable to write signature page
> 
> it is 200 meg partition   anything else I should try.?

That's really strange.

Do a "free" and a "cat /proc/swaps" to make sure it's not activated.

Remove the entry from /etc/fstab before you do any mkswap commands.

Try the "-c" (check disk) option on mkswap.

If that doesn't work, try the "-v1" option to make a new style swap.

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------