From: Tim Southerwood <ts@dionic.net>
To: Moshe Yudkowsky <moshe@pobox.com>
Cc: Peter Rabbitson <rabbit+list@rabbit.us>, linux-raid@vger.kernel.org
Subject: Re: Loop devices to RAID? (was Re: In this partition scheme, grub does not find md information?)
Date: Wed, 30 Jan 2008 15:56:11 +0000 [thread overview]
Message-ID: <47A09E1B.5070705@dionic.net> (raw)
In-Reply-To: <47A09BBC.1000800@pobox.com>
Moshe Yudkowsky wrote:
> My mind boggles. I know how to mount an ISO as a loop device onto the
> file system, but if you'd be so kind, can you give a super-brief
> description on how to get a loop device to look like an actual partition
> that can be made into a RAID array? I can see this software-only
> solution as being quite interesting for testing in general.
>
I tried this a while back, IIRC the procedure was:
1) Make some empty files of the required length each.
2) Use losetup to mount each one onto a loop device (loop0-3 say).
3) Use /dev/loop[0-3] as component devices to mdadm as you would use any
other device or partition. It is not necessary to partition the loop
devices, use them whole.
HTH
Tim
next prev parent reply other threads:[~2008-01-30 15:56 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-29 4:44 In this partition scheme, grub does not find md information? Moshe Yudkowsky
2008-01-29 5:08 ` Neil Brown
2008-01-29 11:02 ` Moshe Yudkowsky
2008-01-29 11:14 ` Peter Rabbitson
2008-01-29 11:29 ` Moshe Yudkowsky
2008-01-29 14:09 ` Michael Tokarev
2008-01-29 14:07 ` Michael Tokarev
2008-01-29 14:47 ` Peter Rabbitson
2008-01-29 15:13 ` Michael Tokarev
2008-01-29 15:41 ` Peter Rabbitson
2008-01-29 16:51 ` Michael Tokarev
2008-01-29 17:51 ` Keld Jørn Simonsen
2008-01-29 16:16 ` Moshe Yudkowsky
2008-01-29 16:34 ` Peter Rabbitson
2008-01-29 19:34 ` Moshe Yudkowsky
2008-01-29 20:21 ` Keld Jørn Simonsen
2008-01-29 22:14 ` Moshe Yudkowsky
2008-01-29 23:45 ` Bill Davidsen
2008-01-30 0:13 ` Moshe Yudkowsky
2008-01-30 22:36 ` Bill Davidsen
2008-01-30 0:17 ` Keld Jørn Simonsen
2008-01-29 23:44 ` Bill Davidsen
2008-01-30 0:22 ` Keld Jørn Simonsen
2008-01-30 0:26 ` Peter Rabbitson
2008-01-30 22:39 ` Bill Davidsen
2008-01-30 0:32 ` Moshe Yudkowsky
2008-01-30 0:53 ` Keld Jørn Simonsen
2008-01-30 1:00 ` Moshe Yudkowsky
2008-01-31 14:40 ` Bill Davidsen
2008-01-30 13:11 ` Michael Tokarev
2008-01-30 14:10 ` Moshe Yudkowsky
2008-01-30 14:41 ` Michael Tokarev
2008-01-31 14:59 ` Bill Davidsen
2008-02-02 20:17 ` Bill Davidsen
2008-01-30 12:01 ` Peter Rabbitson
2008-01-29 16:42 ` Michael Tokarev
2008-01-29 16:26 ` Keld Jørn Simonsen
2008-01-29 16:46 ` Michael Tokarev
2008-01-29 18:01 ` Keld Jørn Simonsen
2008-01-30 13:37 ` Michael Tokarev
2008-01-30 14:47 ` Peter Rabbitson
2008-01-30 15:21 ` Keld Jørn Simonsen
2008-01-30 15:35 ` Peter Rabbitson
2008-01-30 15:46 ` Loop devices to RAID? (was Re: In this partition scheme, grub does not find md information?) Moshe Yudkowsky
2008-01-30 15:56 ` Tim Southerwood [this message]
2008-01-29 15:57 ` In this partition scheme, grub does not find md information? Moshe Yudkowsky
2008-01-29 16:37 ` Keld Jørn Simonsen
2008-01-29 16:57 ` Michael Tokarev
2008-01-30 11:03 ` David Greaves
2008-01-30 11:44 ` Moshe Yudkowsky
2008-01-30 12:00 ` WRONG INFO (was Re: In this partition scheme, grub does not find md information?) Peter Rabbitson
2008-01-30 12:41 ` David Greaves
2008-01-30 13:39 ` Michael Tokarev
2008-02-04 16:49 ` In this partition scheme, grub does not find md information? John Stoffel
2008-02-04 17:26 ` Michael Tokarev
2008-01-30 11:03 ` David Greaves
2008-01-29 14:48 ` Keld Jørn Simonsen
2008-01-29 16:00 ` Moshe Yudkowsky
2008-01-29 16:25 ` Peter Rabbitson
2008-01-29 14:04 ` Keld Jørn Simonsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47A09E1B.5070705@dionic.net \
--to=ts@dionic.net \
--cc=linux-raid@vger.kernel.org \
--cc=moshe@pobox.com \
--cc=rabbit+list@rabbit.us \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).