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
Next revisionBoth sides next revision
administration:system-mirror [2008/03/12 20:29] damiradministration:system-mirror [2008/03/12 20:33] damir
Line 8: Line 8:
  
 ==== The second disk is already installed and the partition Table is empty ==== ==== The second disk is already installed and the partition Table is empty ====
-else remove the partitions on the second disk by hand+ 
 + **else remove the partitions on the second disk by hand pbefore starting this procedure**
  
   * /dev/sda: is the original disk from where the system boot   * /dev/sda: is the original disk from where the system boot
   * /dev/sdb: is the second disk   * /dev/sdb: is the second disk
-\\+
 === create the correct partitions we need === === create the correct partitions we need ===
     * 100 MB for the boot partition     * 100 MB for the boot partition
Line 61: Line 62:
  
 === the /dev/md0 partition will be used flat for the boot partitions === === the /dev/md0 partition will be used flat for the boot partitions ===
 +  * so we can format it right now
 <code> <code>
   mkfs.ext3 /dev/md0   mkfs.ext3 /dev/md0
Line 84: Line 86:
   mkfs.ext3 /dev/vg1/var   mkfs.ext3 /dev/vg1/var
   mkfs.ext3 /dev/vg1/export   mkfs.ext3 /dev/vg1/export
-  mkfs.ext3 /dev/md0 
 </code> </code>
  
Line 106: Line 107:
      
 === Create the new initrd image file === === Create the new initrd image file ===
-  * after the copy we need to create a new initrd and change the information in the /etc/fstab file+  * after the copy we need to create a new initrd and change the information in the **/1/etc/fstab** file
   * avoid the use of label inside this file, instead use the physical name of the devices   * avoid the use of label inside this file, instead use the physical name of the devices
   * you should have something like that:   * you should have something like that:
 <code> <code>
 +vi /1/etc/fstab
 +
 /dev/vg1/root           /                       ext3    defaults        1 1 /dev/vg1/root           /                       ext3    defaults        1 1
 /dev/md0                /boot                   ext3    defaults        1 2 /dev/md0                /boot                   ext3    defaults        1 2
administration/system-mirror.txt · Last modified: 2009/03/16 15:00 by damir