Re: can I simulate a physical raid using image files (loop device)?
- From: J <notavailable@local>
- Date: Fri, 10 Feb 2006 18:00:02 -0500
Jeremiah DeWitt Weiner wrote:
In alt.os.linux.slackware J <notanymore> wrote:
if you can mount a disk image (dd, iso) using a loopx device file, can you access several of them with linux software raid tools?
I don't know why not, although I've never tried it. I did once try
using cryptoloop and NBD (network block device) together for an
encrypted remote block device, and it worked flawlessly (AFAICT; I
wasn't doing anything with it other than seeing if it would work).
Followup-set. Please remember to do that when crossposting; I think
you left out the most appropriate group anyway.
You can indeed.
losetup your img to your loop device,
setup your md driver accordingly.