Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Linux AS 3 swap question!!

Linux AS 3 swap question!!

2006-02-25       - By Rick Stevens

 Back
Reply:     1     2     3     4     5     6  

On Sat, 2006-02-25 at 23:09 +0530, mac wrote:
> Hi,
> We have a Linux EL AS 3 running on a poweredge server with 8 GB
> ram ...we would like to know how to change the swap space on a linux
> AS 3 system dynamically
>
>  and would AS3 support a swap size of 16 GB
>
> any pointers appreciated

You can have up to 16 swap sections but each is limited to 2GB each,
giving a total of 32GB of swap.  You can't change the swap size
dynamically, since the swap is on a fixed-size partition or file.  You
can enable and disable various swap files or partitions using the
swapon(8) or swapoff(8) commands.

Swap has to be either a separate partition OR a zero-filled file.  You
probably know how to make a swap partition.  To create a swap _file_:

1. Find a partition that has enough free space for the swap you want.

2. As root, do:

  # dd if=/dev/zero of=/path/to/swap/file count=size

For example, to create a 2GB swap file called "/var/swapfile":

  # dd if=/dev/zero of=/var/swapfile count=2G

3. Convert the file to a swap file:

  # mkswap /var/swapfile

3. Activate via:

  # swapon /var/swapfile

4. Edit your /etc/fstab file and add a line for this swap file so it'll
activate on the next boot:

  /var/swapfile   swap          swap    defaults        0 0

Voila!

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
- Rick Stevens, Senior Systems Engineer     rstevens@(protected) -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-        God is real...........unless declared integer or long       -
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe