swapon(8) System Manager's Manual swapon(8)Name
swapon - specify additional device for paging and swapping
Syntax
/etc/swapon -a
/etc/swapon name ...
Description
The command is used to specify additional devices on which paging and swapping are to take place. The system begins by swapping and paging
on only a single device so that only one disk is required at bootstrap time. Calls to normally occur in the system multi-user initializa-
tion file making all swap devices available, so that the paging and swapping activity is interleaved across several devices.
Normally, the option is given, causing all devices marked as ``sw'' (swap devices) in to be made available.
The second form gives individual block devices, as listed in the system swap configuration table. The call makes only this space available
to the system for swap allocation.
Restrictions
There is no way to stop paging and swapping on a device. It is therefore not possible to make use of devices which may be dismounted dur-
ing system operation.
Files
Normal paging devices
See Alsoswapon(2), init(8)swapon(8)
Check Out this Related Man Page
SWAPON(8) System Manager's Manual SWAPON(8)NAME
swapon - specify additional device for paging and swapping
SYNOPSIS
swapon -a
swapon name ...
DESCRIPTION
Swapon is used to specify additional devices on which paging and swapping are to take place. The system begins by swapping and paging on
only a single device so that only one disk is required at bootstrap time. Calls to swapon normally occur in the system multi-user initial-
ization file /etc/rc making all swap devices available, so that the paging and swapping activity is interleaved across several devices.
Normally, the -a argument is given, causing all devices marked as ``sw'' swap devices in /etc/fstab to be made available.
The second form gives individual block devices as given in the system swap configuration table. The call makes only this space available
to the system for swap allocation.
SEE ALSO swapon(2), init(8)FILES
/dev/[ru][pk]?b normal paging devices
BUGS
There is no way to stop paging and swapping on a device. It is therefore not possible to make use of devices which may be dismounted dur-
ing system operation.
swapon is not implemented in 2.11BSD.
4th Berkeley Distribution November 17, 1996 SWAPON(8)
Hi,
Trying to add a swap file to my server as below:
dd if=/dev/zero of=/swapfile1 bs=1M count=2048
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB) copied, 27.4514 seconds, 78.2 MB/s
# mkswap -c /swapfile1
Setting up swapspace version 1, size = 2147479 kB
# swapon... (6 Replies)
Is there a trick to mounting swap in n a lvm? I can't get it to work.
# swapon -va
swapon on /dev/mapper/VG-lv_swap
swapon: /dev/mapper/VG-lv_swap: found swap signature: version 1, page-size 4, same byte order
swapon: /dev/mapper/VG-lv_swap: pagesize=4096, swapsize=4294967296,... (1 Reply)
hello all
i have application which according to AWS monitoring is reaching to high spikes of IO at random time .
and causing the server to crash and restart .
my question is how can i find out what cause the spike and if i can't with the native linux tools
what free open source minimon... (6 Replies)