From: "Bryn M. Reeves" <bmr@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] lvm over loop device
Date: Mon, 29 Sep 2008 10:08:40 +0100 [thread overview]
Message-ID: <48E09B18.6030908@redhat.com> (raw)
In-Reply-To: <db00b3d70809260504j1754c205v9044f069c37e2c24@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
geert Geurts wrote:
> So what I did first create a LVM partition of 1MB on a memorystick and then
> change the if of dd to point to the LVM partition, I'm now able to pvcreate
> /dev/loop0, vgcreate SmallDisk /dev/loop0.
> But I'm unable to create a logical volume in the SmallDisk group...
> what am I doing wrong here? is it even possible if not why?
Hi Geert,
What was the error you were getting at this point? If possible, can you
use a service like pastebin.com to post the complete output of "lvcreate
- -vvv" with the options you're using for the SmallDisk VG. That should
give enough detail to have some idea where it's failing.
I think the idea is reasonable enough although you'll probably need to
do some fiddling around to get the size/number of the gmailfs volumes
right to give good performance.
Snapshots could definitely work here but I think it might be a bit
tricky without some of the patches that are currently outstanding for
device-mapper, esp. Mikulas' snapshot merging patches which you'd need
to "restore" one of the COW areas. See the thread here:
http://kerneltrap.org/Linux/LVM_Snapshot_Merging
Regards,
Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkjgmxgACgkQ6YSQoMYUY96LegCcCHPZNLfhTUjIrsLiJcgROTDV
+SwAoLFQDiGpkZl5tpEFW5hjFH+6OuAj
=i+W8
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2008-09-29 9:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-26 12:04 [linux-lvm] lvm over loop device geert Geurts
2008-09-26 13:36 ` Stuart D. Gathman
2008-09-26 14:00 ` Larry Dickson
2008-09-26 17:37 ` geert Geurts
2008-09-29 9:08 ` Bryn M. Reeves [this message]
2008-09-29 9:44 ` Geert Geurts
2008-09-30 19:32 ` Steve Brueggeman
2008-10-04 17:08 ` geert Geurts
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=48E09B18.6030908@redhat.com \
--to=bmr@redhat.com \
--cc=linux-lvm@redhat.com \
/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