User Tools

Site Tools


administration:system-mirror

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
administration:system-mirror [2008/11/24 10:34] damiradministration:system-mirror [2009/03/16 14:00] (current) damir
Line 133: Line 133:
 mkinitrd --preload raid1 --preload raid456 --preload sata_nv --fstab /1/etc/fstab /boot/initrd-$(uname -r)-raid.img $(uname -r) mkinitrd --preload raid1 --preload raid456 --preload sata_nv --fstab /1/etc/fstab /boot/initrd-$(uname -r)-raid.img $(uname -r)
 </code> </code>
 +
  
 ==== Edit the grub configuration file in the original disk ==== ==== Edit the grub configuration file in the original disk ====
Line 153: Line 154:
         root (hd1,0)         root (hd1,0)
         kernel /vmlinuz-2.6.23.15-80.fc7 ro root=/dev/vg1/root vga=791 selinux=0 noipv6 panic=30         kernel /vmlinuz-2.6.23.15-80.fc7 ro root=/dev/vg1/root vga=791 selinux=0 noipv6 panic=30
-        initrd /initrd-2.6.23.15-80.fc7-2.img+        initrd /initrd-2.6.23.15-80.fc7-2-raid.img
 </code> </code>
  
Line 175: Line 176:
   rsync -aH /boot/ /1/boot/   rsync -aH /boot/ /1/boot/
 </code> </code>
 +
  
 ==== Reboot ==== ==== Reboot ====
Line 182: Line 184:
 </code> </code>
  
-  * at the boot prompt select the second boot option and verify that is the right one checking that contains the **root (hd1,0)** line+  * **at the boot prompt select the second boot option** and verify that is the right one checking that contains the **root (hd1,0)** line
   * if everything was right the system should boot with the raid 1 disk   * if everything was right the system should boot with the raid 1 disk
  
Line 222: Line 224:
 </code> </code>
      
-==== add the second disk to the raid system ====+==== add the second disk to the raid system ..... ====
  
 <code> <code>
Line 230: Line 232:
   * the raid subsystem is synchronizing the content of both disks   * the raid subsystem is synchronizing the content of both disks
  
-==== one last task is to create the second swap partition ====+==== .... and update the grub code ==== 
 + 
 +<code> 
 +  grub 
 +  root (hd0,0) 
 +  setup (hd0) 
 +  quit 
 +</code> 
 + 
 +==== the last task is to create the second swap partition ====
  
 <code> <code>
Line 237: Line 248:
 </code> </code>
  
-  * uncomment the line about he swap partition inside /etc/fstab+  * uncomment the line about the swap partition inside /etc/fstab
  
 ===== Kernel upgrade ===== ===== Kernel upgrade =====
administration/system-mirror.1227522894.txt.gz · Last modified: 2008/11/24 10:34 by damir