HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   server crash!!!-hurry (http://www.howtoforge.com/forums/showthread.php?t=28314)

metaldrummer 31st October 2008 18:22

server crash!!!-hurry
 
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

Leszek 1st November 2008 02:06

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

metaldrummer 1st November 2008 17:39

Quote:

Originally Posted by Leszek (Post 152821)
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

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

Leszek 1st November 2008 18:11

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


All times are GMT +2. The time now is 01:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.