[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: swap problems
> Disk /dev/hdb: 16 heads, 63 sectors, 4092 cylinders
> Units = cylinders of 1008 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdb1 * 1 2642 1331536+ 83 Linux
> /dev/hdb2 2643 3049 205128 5 Extended
> /dev/hdb6 2643 3049 205065 82 Linux swap
>
> So I add /dev/hdb6 in fstab file under swap then did swapon -a and get:
>
> swapon: /dev/hdb6: No such device
>
> is this because my start and cylinders (or whatever) are the same for
> /dev/hdb2 and /dev/hdb6 and if so what do I do to reasolve that, and
> if not any suggestions.
Try formatting the swap partition and try "swapon" again:
mkswap /dev/hdb6
*** Be careful you don't make a typo in your device file, or
you will trash all the data in a perfectly good partition!!!
"mkswap" does not ask for confirmation, it just does it!
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------