Line 33: |
Line 33: |
| {{note box| We go to work with [http://www.sysresccd.org/SystemRescueCd_Homepage SystemRescueCd] which is a Linux system rescue disk available as a bootable CD-ROM or USB stick for administrating or repairing your system and data after a crash.[http://www.sysresccd.org/Download Download]. The goal is to get mounted your logical volumes on /mnt where you can save them on a usb disk.}} | | {{note box| We go to work with [http://www.sysresccd.org/SystemRescueCd_Homepage SystemRescueCd] which is a Linux system rescue disk available as a bootable CD-ROM or USB stick for administrating or repairing your system and data after a crash.[http://www.sysresccd.org/Download Download]. The goal is to get mounted your logical volumes on /mnt where you can save them on a usb disk.}} |
| | | |
− | start the system with your system rescue cd or you usb stick, choose your keyboard settings | + | *start the system with your system rescue cd or you usb stick, choose your keyboard settings |
| | | |
− | then start the server X | + | *then start the server X |
| | | |
| startx | | startx |
| | | |
− | open a terminal to verify if your raid is initiated. | + | *open a terminal to verify if your raid is initiated. |
| | | |
| cat /proc/mdstat | | cat /proc/mdstat |
| | | |
− | if you are lucky the output will look like this | + | *if you are lucky the output will look like this |
| | | |
| # cat /proc/mdstat | | # cat /proc/mdstat |
Line 55: |
Line 55: |
| unused devices: <none> | | unused devices: <none> |
| | | |
− | so we need to launch the LVM | + | *so we need to launch the LVM |
| | | |
| vgchange -ay | | vgchange -ay |
| | | |
− | afterward if the LVM is launched without error messages, we can mount the LVM in /mnt | + | *afterward if the LVM is launched without error messages, we can mount the LVM in /mnt |
| | | |
| {{tip box|if you have a name of logical volume who is not '''/dev/main/root''', you can type this command for knowing all your logical volume, and adapt this to your configuration.}} | | {{tip box|if you have a name of logical volume who is not '''/dev/main/root''', you can type this command for knowing all your logical volume, and adapt this to your configuration.}} |
Line 65: |
Line 65: |
| lvdisplay | | lvdisplay |
| | | |
− | Now you have successfully mounted your LVM | + | *Now you have successfully mounted your LVM then do this |
| | | |
| mkdir /mnt/sysimage | | mkdir /mnt/sysimage |
Line 73: |
Line 73: |
| chroot /mnt/sysimage /bin/bash | | chroot /mnt/sysimage /bin/bash |
| | | |
− | We will have to mount the /boot of your system, which is normally contained in / dev/md1. | + | *We will have to mount the /boot of your system, which is normally contained in / dev/md1. |
| To do this you must send a | | To do this you must send a |
| cat /proc/mdstat | | cat /proc/mdstat |
| | | |
− | and note the md(X) the smallest (about 100 megs) then in your root terminal do this:
| + | * note the md(X) the smallest (about 100 megs) then in your root terminal do this: |
| mount /dev/md(X) /boot | | mount /dev/md(X) /boot |
| and then | | and then |
Line 88: |
Line 88: |
| ===Installation of grub on the other disks=== | | ===Installation of grub on the other disks=== |
| | | |
− | once your Sme started, you need to login in Root | + | *once your Sme started, you need to login in Root |
| | | |
| grub | | grub |
Line 99: |
Line 99: |
| quit | | quit |
| | | |
− | same for other drives, you implement one each time | + | *same for other drives, you implement one each time |
| | | |
| from there you can reboot your server and check that the grub is installed on each hd. it is simple, with the boot menu or bios, you say on what hd you want to boot . | | from there you can reboot your server and check that the grub is installed on each hd. it is simple, with the boot menu or bios, you say on what hd you want to boot . |
| | | |
| <noinclude>[[Category:Howto]][[Category:Administration:Storage]]</noinclude> | | <noinclude>[[Category:Howto]][[Category:Administration:Storage]]</noinclude> |