Changes

From SME Server
Jump to navigationJump to search
Line 1: Line 1:  
==Recovering SME Server with lvm drives==
 
==Recovering SME Server with lvm drives==
    +
The purpose of this howto is to give to you the abilities to access to your data if the SME Server 8 is broken and can't start in a normal way.
 +
you have several methods below, but all are done on a default Raid over LVM, therefore you might need to adapt to your configuration, if necessary.
   −
==Method A with SystemRescueCd==
+
If your issue concerns a grub issue, you should look to this [[Grub|wiki page]]
 +
 
 +
 
 +
===Method with the official SME Server CDROM ===
 +
I presume that your SME Server is on a RAID over LVM, otherwise you will have to adapt this HOWTO.
 +
 
 +
* start the system with your official SME Server CDROM
 +
* give at prompt : '''linux rescue'''
 +
* set your language and your keyboard
 +
* set to '''no''' the start of network interfaces
 +
* set to '''continue''' the question about how the system is mounted in /mnt/sysimage
 +
* set to '''ok'''
 +
* give at prompt :
 +
chroot /mnt/sysimage
 +
su -
 +
 
 +
Now you have successfully mounted your LVM and you are able to read your data in a chroot environment, you can save them on a usb disk
 +
 
 +
* to exit
 +
exit
 +
exit
 +
halt
 +
 
 +
===Method with SystemRescueCd===
    
{{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.}}
Line 41: Line 66:  
  lvdisplay
 
  lvdisplay
   −
Now you have successfully mounted your LVM and able to read your data on /mnt/recover, you can save them on a usb disk with the file browser for example.
+
Now you have successfully mounted your LVM and you are able to read your data on /mnt/recover, you can save them on a usb disk with the file browser for example.
   −
==Method B==
+
===Method ===
 
Let’s try starting the raid and see what we get:
 
Let’s try starting the raid and see what we get:
   Line 141: Line 166:  
  user@user-desktop:~$
 
  user@user-desktop:~$
   −
==Method C with a ubuntu Cdrom==
+
===Method with a ubuntu Cdrom===
 
based on http://www.linuxjournal.com/article/8874?page=0,0
 
based on http://www.linuxjournal.com/article/8874?page=0,0
  

Navigation menu