Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!cbmvax!grr From: grr@cbmvax.UUCP (George Robbins) Newsgroups: comp.unix.ultrix Subject: Re: creating extra swap partitions Message-ID: <7930@cbmvax.UUCP> Date: 17 Sep 89 00:36:47 GMT References: <8871@batcomputer.tn.cornell.edu> Reply-To: grr@cbmvax.UUCP (George Robbins) Distribution: na Organization: Commodore Technology, West Chester, PA Lines: 24 In article <8871@batcomputer.tn.cornell.edu> eric@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@uunet.uu.net Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)