4

I have a not-so-recent HP desktop PC (model# m9510f, Q8200 CPU - I think it was manufactured in early 2009 sometime, because it still had Vista 64-bit).

I've set it up with a pair of 500GB drives that I want to run in RAID0 striped mode (for higher performance and lower reliability). I've successfully setup the RAID in the BIOS, and it is recognized at boot time.

Only problem is, Clonezilla won't recognize the RAID0, so I can't very well restore the OS. I could just reinstall from the recovery disks, but then I suppose I also won't be able to make Clonezilla backups either. Clonezilla only sees the individual drives.

What's the best way to get around this issue?

Thanks

4

Clonezilla doesn't support software-based or firmware-based (aka "FakeRAID") arrays.

From what I understand your HP system has an Asus-made MB in it with an Intel ICH9R chipset. If you used that to make your RAID 0 then Clonezilla can't do anything with it.

From their About page (under "Limitations"):

Software RAID/fake RAID is not supported by default.

From their FAQ:

Q: Does Clonezilla support RAID ?

A: Clonezilla does support hardware RAID, if your RAID device is seen as /dev/sda, /dev/sdb, /dev/hda, /dev/hdb, /dev/cciss/c0d0... on GNU/Linux. Clonezilla does support this. On the other hand, if it's Linux software RAID, no, Clonezilla does not support that.

See here for a recent Clonezilla forum thread about using it (or rather, NOT using it) with firmware-based arrays.

HTH

0

Can't help you with Clonezilla as it appears from the previous poster that it simply will not work. If that's the case, use something else. Want free (as in no license fee)? Then you can use Microsoft's ImageX program. Image your old system with that to an external drive, then restore it. ImageX is a command line tool that is freely available within the Windows Automated Installation Kit. Using that kit, you can (if necessary) create a WinPE boot DVD that includes imagex and the drivers for your RAID controller. If windows can see the drive as you want it, you can deploy the image (note: if your Vista install (or whatever version of Windows you use) doesn't have the appropriate drivers for the RAID controller IN windows, then it may not boot at all - it would be wise to install the drivers BEFORE making the image). There could still be other issues - a possible need to make the drive partition "active"... but the imaging part of the problem should be solved with this solution.

0

During my Google search for this problem, I saw a post that I thought was interesting, and worked for me when I tried it. (Caution: this only works for RAID 1 and possibly RAID 10).

Unplug one of the drives. Then boot clonezilla. The RAID array will be "degraded". Then restore the image to the active drive, shutdown, plug the drive back in, and the array will rebuild. I'm currently watching a copy I just made this way and it seems to have worked great.

The trick is that, since this is software RAID, the RAID info is stored on the drive. I only restored the partition, not the full drive, and I left the MBR as is (using the clonezilla advanced options). Make a comment if other options worked for you.

Edit: I'm testing with a Dell Precision 390, with the Intel Matrix RAID built into the motherboard.

2
  • @ Nathan Garabedian - Could you provide more detailed information about the MBR configuration? I have the intel matrix raid on 2 x 500GB hard drives but I get a blue screen when I attempt to unplug one drive and then restore a clone from a single disk image. I could really use some guidance on this one and it would help me out tremendously at work. – user166268 Oct 18 '12 at 19:01
  • I believe I was using the Windows XP MBR, which clonezilla gives you the option to save when you capture the image. If you are running into problems with the MBR not restoring properly, you can try booting BartPE or the Windows XP Recovery boot to restore it. Check out mbrfix sysint.no/nedlasting/mbrfix.htm or the Windows Recovery tools. – Nathan Garabedian Nov 8 '12 at 0:01
0

You can manually activate RAID support in Clonezilla. YMMV on success. The clonezilla image must have kpartx and dmraid as well as the necessary modules.

Running "dmraid -ay" should activate all the RAID arrays if your array is MBR-formatted. This is usually not the case for UEFI machines which are GPT-formatted, you need to add the command "kpartx -a" after running dmraid to activate GPT arrays.

Once activated the arrays should be available via /dev/mapper

However, even after RAID is activated, you need to manage the backups or restoration manually. This means it's up to you to issue the backup command from command prompt. Clonezilla does not allow selecting volumes from /dev/mapper, but it's not an issue if you call the backup command like partimage and point it at the volume directly. You will also need to backup the disk parameters, that should be doable using gdisk.

Good luck!

1
  • Have you actually tried this? After following these steps, ocs-sr restoredisk tells me the disk at /dev/mapper/ist... is an unknown hard drive device and terminates. – Elliott B Jan 18 '19 at 0:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.