add swap to osf

add swap to osf

Post by Israel John Lav » Wed, 26 Apr 2000 04:00:00



Hi
how do I enlarge the swap on digital-unix osf F true 64

thanks

--
Keep On Rocking In the free World!

  israel_l.vcf
< 1K Download
 
 
 

add swap to osf

Post by Mike Esle » Wed, 26 Apr 2000 04:00:00



> Hi
> how do I enlarge the swap on digital-unix osf F true 64

> thanks

> --
> Keep On Rocking In the free World!

Read the man pages for swapon.

Here is an excerpt from the man page:

  The following example shows a swap file entry in an /etc/fstab file:
       /dev/rz0b   swap2   ufs   sw   0   0
  The following command adds the /dev/rz0b block device file as swap
space:
       swapon /dev/rz0b

I believe that someone asked the same question not too long ago.  Have
you ever tried http://www.deja.com?
 It's very useful tool for finding the answers to questions that have
already been asked. ;)  Make sure you click DISCUSSIONS.

--
Mike Esler
Sverdrup Technology
System Administrator

 
 
 

add swap to osf

Post by Rev. Don Koo » Sun, 30 Apr 2000 04:00:00



> Hi
> how do I enlarge the swap on digital-unix osf F true 64

        I notice that some smart-ass gave you a totally useless "RTFM"
answer.  Sadly that is all too typical on this newsgroup.  :-(

        The answer is that you can either enlarge your existing swap space
or create a second swap space.  COMPAQ Tru64 UNIX doesn't support
using a regular file as a swap area.  It has to be raw partition.
Usually it is partition "b" of your system disk.  One method to
increase the swap space is to repartition the system disk so that
partition "b" is larger.  The other is to find another disk
partition to use as a second swap space.

        Depending on why you wish to enlarge your swap space, changing to
"lazy" (aka "overcommitment") mode may solve your problem without
you having to increase your swap space.

                        Hope this helps,
                              Don

--
**********************      You a bounty hunter?
* Rev. Don McDonald  *      Man's gotta earn a living.
* Baltimore, MD      *      Dying ain't much of a living, boy.
**********************             "Outlaw Josey Wales"
http://members.home.net/oldno7

 
 
 

1. Adding swap space using 'swap -a' command ?

Greetings,

I am using SCO OpenServer 5.0.4 on a compaq prolian 4500 server. The
initial swap space setup is too small. I want to increase the swap
space.

I first create a directory say '/hotswap' and inside the hotswap
directory, I created a empty file called 'swapfile2'. I then make the
file swapfile2 act as a swap space
using :
              swap -a /hotswap/swapfile2 65536

When I used 'swap -l' to list the current swap space, it appears to have
added to the system. But when I check the system disk space, it appear
to be the same as before the swap file is added to the system.

path                                        swaplo    block        free
block
=========================================
/dev/swap                  1,41            0        196668      186790
/hotswap/swapfile2     76,1            0        65536        65536

Can someone tell if I done it correctly?  If not, how should I do it ?


Thank in advance

Eric Chin

2. FAT32 and Ext2 File Systems

3. Adding Swap: 257000k swap-space (priority -1)

4. Is the solaris 8 hard to use?

5. Learn OSF Technology at the OSF/DCE Conference

6. rename a partition

7. AMD running on OSF/1 (dec/alpha) version 3.2 run on OSF/1 4.0?

8. DHCP for linux

9. Adding first swap drive to existing linux box

10. Adding a swap file in Linux

11. Swap Space Adding From Another Disk

12. adding swap on solaris8

13. Q: Why CAN'T add swap space