swapon(1M) DG/UX R4.11 swapon(1M)
NAME
swapon - specify additional devices for system paging
SYNOPSIS
/etc/swapon -a
/etc/swapon name ...
DESCRIPTION
Swapon specifies additional devices for paging. The system begins by
paging on just one device so that only one disk is required at
bootstrap time. Calls to swapon normally occur in the system rc
script chk.system in the /usr/sbin/init.d directory. By default,
this will invoke swapon the first time you change init run levels.
See the file /etc/dgux.params to set the argument to the swapon
command in the rc script chk.setup.
Normally, the -a argument is given. This makes available all devices
marked as swap devices in /etc/fstab. A secondary swap device entry
in etc/fstab would be as follows:
/dev/dsk/swap1 swaparea swap sw x 0
The second form of swapon makes the individual block-special devices
specified on the command line available to the system for swap
allocation.
The additional devices for paging must specify neither shared
physical disks, nor virtual disks that reside upon shared physical
disks; see admpdisk(1M) and admvdisk(1M) for more information.
NOTE: Disk sharing is an additional feature provided with the
AViiONĀ® Distributed Lock Manager for ORACLE Parallel Server
(Trademark) product, which must be purchased separately from
the DG/UX (Trademark) System product. If you do not have this
feature, the above restriction does not apply to your system.
FILES
/dev/dsk/* Potential paging devices
DIAGNOSTICS
Exit code is 0 on successful completion, and >0 if an error occurs.
SEE ALSO
admswap(1M), admpdisk(1M), admvdisk(1M), swapon(2), fstab(4).
BUGS
You cannot stop paging on a device. Therefore, you cannot use swapon
for devices that may be dismounted during system operation.
Licensed material--property of copyright holder(s)