Difference between revisions of "Creation of a swap zone"
⧼vector-jumptonavigation⧽
⧼vector-jumptosearch⧽
Line 1: | Line 1: | ||
+ | <span data-link_translate_de_title="Erstellung einer Swap-Zone" data-link_translate_de_url="Erstellung einer Swap-Zone"></span>[[:de:Erstellung einer Swap-Zone]][[de:Erstellung einer Swap-Zone]] | ||
<span data-link_translate_nl_title="Instelling van een ruilzone" data-link_translate_nl_url="Instelling van een ruilzone"></span>[[:nl:Instelling van een ruilzone]][[nl:Instelling van een ruilzone]] | <span data-link_translate_nl_title="Instelling van een ruilzone" data-link_translate_nl_url="Instelling van een ruilzone"></span>[[:nl:Instelling van een ruilzone]][[nl:Instelling van een ruilzone]] | ||
<span data-link_translate_it_title="Creazione di una zona di scambio" data-link_translate_it_url="Creazione di una zona di scambio"></span>[[:it:Creazione di una zona di scambio]][[it:Creazione di una zona di scambio]] | <span data-link_translate_it_title="Creazione di una zona di scambio" data-link_translate_it_url="Creazione di una zona di scambio"></span>[[:it:Creazione di una zona di scambio]][[it:Creazione di una zona di scambio]] |
Revision as of 12:24, 26 July 2021
de:Erstellung einer Swap-Zone
nl:Instelling van een ruilzone
it:Creazione di una zona di scambio
pt:Criação de uma zona de troca
es:Creación de una zona de intercambio
fr:Création d'une zone de swap
This article has been created by an automatic translation software. You can view the article source here.
Introduction
We will see how to create a swap zone in a file.
This can also be used to complement an existing swap area as a partition or file.
Course
Example to add 1GB of swap to the swapfile1 file in the root.
We generate the file :
# dd if=/dev/zero of=/swapfile1 bs=1024 count=1048576
Format the file in swap:
# mkswap /swapfile1 1048576
Mount the area of swap:
# swapon /swapfile1
We add the following configuration to the /etc/fstab file so that the swap zone is mounted at startup:
/swapfile1 swap swap defaults 0 0
Cet article vous a semblé utile ?
0
Enable comment auto-refresher