server crash!!!-hurry

Discussion in 'Installation/Configuration' started by metaldrummer, Oct 31, 2008.

  1. metaldrummer

    metaldrummer New Member

    hi all....today my disk server crash....i need step by recover data to move other server from 0.
    someone who has experienced this problem can help me? ... I have read only system can not access the information and require support in order to move to a new server
    server suse linux 10.1 and ispconfig 2.25
    regards
     
  2. Leszek

    Leszek New Member

    First of all if that was a HDD failure You should think of making an accurate image of the disk using DD and then mount it (read only) and try to recover Your files. This thread should help You with moving stuff: http://howtoforge.com/forums/showthread.php?t=2717
     
  3. metaldrummer

    metaldrummer New Member

    thanks....can you help me with a example?....
    regards
     
  4. Leszek

    Leszek New Member

    Sure.
    Run a Linux system from another disk or a live cd/dvd with two disks connected: one that has failed and second that works good (the good one has to be mounted offcourse).
    Make an uncompressed image (will work if that disk still manages to work):
    Code:
    dd if=/dev/sda1 of=/mnt/good_disk/image
    
    This will take some time and a lot of disk space (equal to the copied partition) but You will have a mirror of the damaged disk and not worry about it anymore (whether it will die for good or not).
    You have to adjust disk/partition labels and directories in the example (/dev/sda1) to suit Your layout.Then You can work on the copy and move Your files to a new working HDD.To mount the image You can enter:
    Code:
    mount -o loop /mnt/good_disk/image /mnt/mounted_image
    
    At this point You can connect the destination disk (server's new hdd) and read:
    http://howtoforge.com/forums/showthread.php?t=2717
     

Share This Page