Sample Header Ad - 728x90

User space program for assembling Linux MD RAID disk images into a coalesced disk image, without using kernel implementation

1 vote
0 answers
25 views
I've been handed a set of disk images which apparently are Linux MD RAID, asking if I could "reassemble" them. Using a Linux kernel it's as easy as attaching them into partition scanned loopback devices (losetup -fP ) and then have the kernel assemble them, by issuing the right mdadm stanza. However, I was wondering if there's a tool that would take a bunch of Linux MD RAID images assembling and digesting it into a mountable disk image file. My main motivation is, that assembling via kernel might cause user whoopsies on a system that nominally uses MD RAID and you'd have to spin up a dedicated VM if you'd want to isolate the process. And this seems like a kludge that rubs me the wrong way.
Asked by datenwolf (369 rep)
Dec 19, 2024, 09:46 AM