Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!prls!amdimage!amdcad!amd!vecpyr!lll-crg!gymble!umcp-cs!seismo!brl-tgr!tgr!eichelbe@nadc.ARPA From: eichelbe@nadc.ARPA Newsgroups: net.unix-wizards Subject: swapon problem: solved!!! Message-ID: <1408@brl-tgr.ARPA> Date: Tue, 10-Sep-85 08:38:24 EDT Article-I.D.: brl-tgr.1408 Posted: Tue Sep 10 08:38:24 1985 Date-Received: Sat, 14-Sep-85 01:43:19 EDT Sender: news@brl-tgr.ARPA Lines: 59 Thanks go to ron@BRL and dunigan@ORNL-MSR and anyone I might have missed. To change the swap area on my system does require a reconfiguration as I have not included /dev/hp2b as a possible swap device. My original letter: >From eichelbe Mon Sep 9 17:10:33 1985 >To: unix-wizards@BRL >Subject: swapon problem > > > I have a real puzzler on my 4.1 BSD system on my VAX 11/780. I >recently reconfigured my system so that I needed to move my alternate >swapspace partition from hp1b to hp2b. However, when I bring up the system >I now get: > Adding /dev/hp2b as swap device > No such device: /dev/hp2b > >For some reason, the swapon program cannot access /dev/hp2b, but both /dev/hp2b >and /dev/rhp2b exist and are correct. I have made no changes to my operating >system. I do have source code, but swapon.c just shows a syscall of: > #define VSWAPON 85 > ... > if (syscall(VSWAPON,fs->fs_spec) == -1) > ... > >My swapping worked before for hp1b, but I've since converted its disk to a >"c" partition so I can't go back. Please help. Thanks. > >Jon Eichelberger >eichelbe@NADC >P.S. I've already tried "swapon /dev/hp2b", thinking that fstab might be bad. > This does not work, either. > The replies from wonderful wizards: >From ron@BRL Mon Sep 9 19:20:49 1985 ... >Subject: Re: swapon problem > >In order to turn on a swap area with swapon it must be configured >into your swapvmunix file. This is done by using the "swap on ... >and ..." clause in config. See "Building Systems with Config" by >Sam Leffler. > >-Ron > >From dunigan@ORNL-MSR Mon Sep 9 19:32:00 1985 ... >To: eichelbe@NADC.ARPA >Subject: Re: swapon problem > >did you change the swapping information in your configuration file and >rebuild vmunix? > ---