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 13: Line 13:
   * /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 62: 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 85: 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 107: 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