User Tools

Site Tools


ubuntu-raid1-conversion

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
ubuntu-raid1-conversion [2009/10/30 17:33] snargubuntu-raid1-conversion [2009/10/30 17:46] (current) snarg
Line 316: Line 316:
 Also a one-liner: Also a one-liner:
 <code> <code>
-sudo mdadm --manage /dev/md1 --add /dev/sda2+sudo mdadm --manage /dev/md1 --add /dev/sda5
 </code> </code>
 ==17. Watch some rebuild stats. Dont forget the important last step.== ==17. Watch some rebuild stats. Dont forget the important last step.==
Line 337: Line 337:
  
 ==18. Final update to the bootloader to account for the first drive being changed.== ==18. Final update to the bootloader to account for the first drive being changed.==
 +Use nano to edit your /boot/grub/device.map
 +<code>
 +sudo nano /boot/grub/device.map
 +</code>
 +And make sure it looks like this: (note this should be the same as your bios hard disk boot order)
 +<code>
 +(hd0)   /dev/sda
 +(hd1)   /dev/sdb
 +</code>
 Type this to finalise the bootloader config and Master Boot Record on both hard disks: Type this to finalise the bootloader config and Master Boot Record on both hard disks:
 <code> <code>
ubuntu-raid1-conversion.1256895190.txt.gz · Last modified: 2009/10/30 17:33 by snarg