Changes

Jump to navigation Jump to search
no edit summary
Line 12: Line 12:     
=== The starting point: the device for the swap can't get sync ===
 
=== The starting point: the device for the swap can't get sync ===
This can occur when a new disk has been added to the SME and that this disk is "a little bit" smaller than the disk what is already running.  
+
It can occur that the raid refuses to resync completely when a new disk has been added to the SME and that this disk is "a little bit" smaller than the disk what is already running.  
The raid sync (e.g. started from the console) works of "/", for "/boot" but not for the swap because os missing some space on the added disk.
+
The raid sync (e.g. started from the console) works of "/", for "/boot" but not for the swap because of missing some space on the added disk.
    
==== look to the current state of the RAID: ====
 
==== look to the current state of the RAID: ====
Line 36: Line 36:  
     mdadm: /dev/vdb2 not large enough to join array (the disk#2 has been added to the machine afterwards)
 
     mdadm: /dev/vdb2 not large enough to join array (the disk#2 has been added to the machine afterwards)
   −
==== The RAID array: ====
+
=== The RAID array: ===
 
* stop the swap:
 
* stop the swap:
 
     # swapoff -a  
 
     # swapoff -a  
Line 120: Line 120:  
* 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: ====
+
=== The swap: ===
 
Open /etc/fstab and remember the UUID set for the swap file system
 
Open /etc/fstab and remember the UUID set for the swap file system
 
     nano /etc/fstab
 
     nano /etc/fstab
Line 148: Line 148:  
     Swap:  2093116k total,        0k used,  2093116k free,  413852k cached  
 
     Swap:  2093116k total,        0k used,  2093116k free,  413852k cached  
 
     etc.........
 
     etc.........
 +
 +
{{Tip box|Reusing the "old" UUIDs makes the thing simple because there is no need to change any parameter in the configuration of the SME.}}
 +
 +
[https://forums.contribs.org/index.php/topic,52216.0.html Link to a topic] of the forum relating to this.
 +
 +
Enjoy!
 +
 +
{{Note box| Where was the difficulty??....}}
 +
[[Category:Howto]]
41

edits

Navigation menu