Software RAID with dmraid

Asked by aftertaf

Hi,

Partimage 'old version' can't see devices other than block devices, running it to backup an initialised raid array does this:

# partimage -z1 -d save /dev/mapper/isw_bidfbdeiab_TRACE /usb/t14_raid.partimg.gz

Error:

The File system of /dev/mapper/isw_bidfbdeiab_TRACE is [-unknown-], and is not supported

Does or can partimage-ng support software/fake raid?

Question information

Language:
English Edit question
Status:
Solved
For:
partimage-ng Edit question
Assignee:
No assignee Edit question
Solved by:
aftertaf
Solved:
Last query:
Last reply:
Revision history for this message
Dmitry Ivanov (vonami) said :
#1

There are development branches where some efforts have been made to support LVM volumes.

Gene Czarcinski's branches:

https://code.launchpad.net/~gene-czarc/partimage-ng/devel-gc1
https://code.launchpad.net/~gene-czarc/partimage-ng/devel-gc2

My old branch:

https://code.launchpad.net/~vonami/partimage-ng/lvm-support

Try it and post the results here.

Revision history for this message
Hans-Joachim Baader (hjb-pro-linux) said :
#2

Hi,

the old partimage doesn't have a problem with fakeraid (it's a block device after all), but it may be necessary to patch it. I'm using 0.6.2 but I'd have to check if I have patched it.

Are you sure you have a filesystem on your RAID, and which? The error message indicates that it doesn't recogize the filesystem. Which partition type did you use? Could you try 0x83 if it's different?

Regards,
hjb

Revision history for this message
aftertaf (david-wooffindin) said :
#3

i gave up on dmraid. I initialise it myself with mdadm (using a windows raid so Legacy.)
And partimage works a dream.
/dev/md1 . . . . .

I couldn't use partimage-ng finally, cos dependencies with a too old libparted (kubuntu intrepid)
But all works good now :)