From: Adam Lupu-Sax <lupu-sax@typhoon.harvard.edu>
Subject: Re: Changing Swap Space entries in FSTAB
Date: 1998/06/23 [thread overview]
Message-ID: <xolhg1c3wec.fsf@typhoon.harvard.edu> (raw)
In-Reply-To: 01bd9dcb$d43cfad0$d53ec69b@leicester
"Jeff Wilson" <jwilson@ic.ac.uk> 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 <lupu-sax@typhoon.harvard.edu>
http://monsoon.harvard.edu/~lupu-sax
PGP public key: http://monsoon.harvard.edu/~lupu-sax/key.asc
prev parent reply other threads:[~1998-06-23 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-19 4:00 Changing Swap Space entries in FSTAB matsaki
1998-06-22 4:00 ` Jeff Wilson
1998-06-23 4:00 ` Adam Lupu-Sax [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox