LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   system image of Intel server RAID1 (http://www.linuxquestions.org/questions/linux-server-73/system-image-of-intel-server-raid1-895064/)

m4rtin 08-02-2011 06:30 AM

system image of Intel server RAID1
 
I have an Intel server, which has it's two SATA HDD's in "Intel Embedded Server RAID Technology 5.4" RAID1 volume. How to proceed with a system image in case two of those SATA HDD's fail at the same time? Should one take the first HDD of RAID1 volume, connect it to another machine and execute:

Code:

# ddrescue /dev/sda1 /media/External/image_of_first_hdd /media/External/log_of_first_hdd
* HDD from the problematic RAID1 volume would be recognised as /dev/sda1 behind new machine
* /media/External/ is a mount point for large external HDD in the new machine
* log_of_first_hdd would be the log file


..and then take the second HDD to another machine and execute:


Code:

# ddrescue /dev/sda1 /media/External/image_of_second_hdd /media/External/log_of_second_hdd
Any suggestions how to make system image using ddrescue in case disks are in "Intel Embedded Server RAID Technology 5.4" RAID1? :rolleyes:

mpapet 08-04-2011 05:33 AM

Quote:

Originally Posted by m4rtin (Post 4431524)
I have an Intel server, which has it's two SATA HDD's in "Intel Embedded Server RAID Technology 5.4" RAID1 volume. How to proceed with a system image in case two of those SATA HDD's fail at the same time? Should one take the first HDD of RAID1 volume, connect it to another machine and execute:

Code:

# ddrescue /dev/sda1 /media/External/image_of_first_hdd /media/External/log_of_first_hdd
* HDD from the problematic RAID1 volume would be recognised as /dev/sda1 behind new machine
* /media/External/ is a mount point for large external HDD in the new machine
* log_of_first_hdd would be the log file


..and then take the second HDD to another machine and execute:


Code:

# ddrescue /dev/sda1 /media/External/image_of_second_hdd /media/External/log_of_second_hdd
Any suggestions how to make system image using ddrescue in case disks are in "Intel Embedded Server RAID Technology 5.4" RAID1? :rolleyes:

First, the likelihood both drives fail at once is very small. State Lottery odds look good in comparison.
Second, maybe DRBD is what you are looking for? Otherwise, you have the problem of keeping the machines in sync.

To answer the question directly, you want to copy the files on top of the Intel RAID, not the disk-level. Rsync will actually do this for you. but make sure you exclude /proc among others. I can recommend using the Linux software RAID on your backup box. Totally ready for production.


All times are GMT -5. The time now is 11:06 AM.