Changes

Jump to navigation Jump to search
no edit summary
Line 119: Line 119:     
* Check that the UUID and the name are correct and wait the end of the sync.
 
* Check that the UUID and the name are correct and wait the end of the sync.
 +
 +
==== The swap: ====
 +
Open /etc/fstab and remember the UUID set for the swap file system
 +
    nano /etc/fstab
 +
   
 +
    UUID=6844de9b-2c3c-433b-a7b5-c39258dbb85a swap                    swap    defaults        0 0
 +
 +
* Create a swap file system on the RAID device with the UUID present into /etc/fstab:
 +
    # mkswap /dev/md2 -U 6844de9b-2c3c-433b-a7b5-c39258dbb85a
 +
    mkswap : /dev/md2 : attention, ne pas effacer les secteurs de démarrage
 +
            tout le disque.Use -f to force.
 +
    Configure l'espace d'échange (swap) en version 1, taille = 2093116 Ko
 +
    pas d'étiquette, UUID=6844de9b-2c3c-433b-a7b5-c39258dbb85a
 +
 +
* Reconfigure the server (only reboot should be sufficient in fact…)
 +
    signal-event post-upgrade; signal-event reboot
 +
 +
* Check the RAID in the console or with:
 +
    # cat /proc/mdstat
 +
 +
* Check the swap is running:
 +
    # top
 +
   
 +
    top - 21:27:13 up 2 min,  1 user,  load average: 2.46, 1.02, 0.38
 +
    Tasks: 213 total,  1 running, 212 sleeping,  0 stopped,  0 zombie
 +
    Cpu(s):  0.1%us,  0.2%sy,  0.0%ni, 99.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
 +
    Mem:  2029604k total,  957820k used,  1071784k free,    20912k buffers
 +
    Swap:  2093116k total,        0k used,  2093116k free,  413852k cached
 +
    etc.........
41

edits

Navigation menu