creating extra swap partitions
George Robbins
grr at cbmvax.UUCP
Sun Sep 17 10:36:47 AEST 1989
In article <8871 at batcomputer.tn.cornell.edu> eric at jasper.tn.cornell.edu writes:
> what does one have to do to create a second swap partition on a second disk
> drive (in addition to the default b on the system disk)? I tried changing the
> partition size with 'chpt' of my /dev/rrz3b partition and entering it into my
> /etc/fstab as a swap partition, but "swapon -a" complains that it must be a
> block device. This happens with or without running 'mkfs' on that partition.
> Is there some other program to run to create a "block device" for swapping?
> Do you have to specify the swap partitions in the kernal configuration?
The entry in /etc/fstab should specifiy the "cooked" or "block" device
rather than the "raw" device (regardless of what it actually uses).
Most likely you've put the wrong name /dev/rhp1b vs /dev/hp1b in your
entry. Second chance would be that you don't have the correct names in
/dev for all the partitions of the disk device.
mkfs isn't used for swap partitions, since the system (normally) swaps on the
entire partition, rather than within the bounds of a filesystem layered onto
the device...
--
George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing arpa: cbmvax!grr at uunet.uu.net
Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)
More information about the Comp.unix.ultrix
mailing list