Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!decwrl!shlump.nac.dec.com!riscy.dec.com!croton.dec.com!frank From: frank@croton.dec.com (Frank Wortner) Newsgroups: comp.unix.ultrix Subject: Re: creating extra swap partitions Message-ID: <1487@riscy.dec.com> Date: 18 Sep 89 14:43:17 GMT References: <8871@batcomputer.tn.cornell.edu> Sender: news@riscy.dec.com Distribution: na Organization: Digital Equipment Corporation, NYC Lines: 31 In article <8871@batcomputer.tn.cornell.edu>, eric@batcomputer.tn.cornell.edu (Eric Fielding) 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? > (Oh, in case it makes any difference this is Ultrix 3.0 on a PMAX.) > > ++Eric Fielding > eric@jasper.tn.cornell.edu The "block device" is the non-raw partition. The entry in /etc/fstab should list /dev/rz3b, not /dev/rrz3b. You do have to reconfigure the kernel to add a second swap partition. The configuration file in /sys/conf/mips should have a line like this: config vmunix root on rz0a swap on rz0b and rz3b dumps on rz0b If you want, you can run /etc/doconfig, reply to its questions, and it will generate a config file for you. Before you boot the new kernel, make sure that you have special files in /dev for rz3. Enjoy! Frank