From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4ad36fdd8dbe86b9 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,4ad36fdd8dbe86b9 X-Google-Attributes: gidf678f,public From: Adam Lupu-Sax Subject: Re: Changing Swap Space entries in FSTAB Date: 1998/06/23 Message-ID: #1/1 X-Deja-AN: 365358797 References: <6me0b3$c51$1@nnrp1.dejanews.com> <01bd9dcb$d43cfad0$d53ec69b@leicester> Organization: Harvard University, Cambridge, Massachusetts Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc "Jeff Wilson" writes: > There is no need to reboot. Use the swapon -s command to check > current swapon size and locations. Amend the /etc/fstab file as > required, adding unused partitions as swap2 or swap 3, then run > swapon -a to "mount" all the swap partitions in fstab. Use swapon -s > again to check. > -- > . > > Jeff Wilson > London - UK Of course, releasing existing swap space is not so easy. I upgraded the memory on my 500/500 from 256 MB to 512 MB and so wanted to increase the swap from the 638 MB already configured. I cleared a 2 GB partition (overkill, but it was the smallest empty partition. Any way to repartition part of a disk?) and added that to the swap as indicated above. However, I wanted my 638 MB back since 2 GB was plenty for swap. To do this I had to change the disklabel and then use fdisk to put a ufs filesystem on the old swap partition. I also had to change the default swap entries in /etc/rc.config. -Adam > > matsaki@statcan.ca wrote in article > <6me0b3$c51$1@nnrp1.dejanews.com>... > > I just did a reconfiguration of my disks and need to change the > swap space > > setup. > > > > Can I just go into /etc/fstab and put the new swap configuration in > and > > reboot? > > > > or are there ramifications to this method? > > > > -----== Posted via Deja News, The Leader in Internet Discussion > ==----- > > http://www.dejanews.com/ Now offering spam-free web-based > newsreading > > -- ____________________________________________________________ Adam Lupu-Sax http://monsoon.harvard.edu/~lupu-sax PGP public key: http://monsoon.harvard.edu/~lupu-sax/key.asc