* Changing Swap Space entries in FSTAB
@ 1998-06-19 4:00 matsaki
1998-06-22 4:00 ` Jeff Wilson
0 siblings, 1 reply; 3+ messages in thread
From: matsaki @ 1998-06-19 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Changing Swap Space entries in FSTAB
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
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Wilson @ 1998-06-22 4:00 UTC (permalink / raw)
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
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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Changing Swap Space entries in FSTAB
1998-06-22 4:00 ` Jeff Wilson
@ 1998-06-23 4:00 ` Adam Lupu-Sax
0 siblings, 0 replies; 3+ messages in thread
From: Adam Lupu-Sax @ 1998-06-23 4:00 UTC (permalink / raw)
"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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-06-23 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox