Re: lvm over loop device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux