Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices
Date: Sun, 21 Apr 2013 22:16:11
Message-Id: CAA2qdGWpXfOcnijGZkU8eFgQkKavZA18rt8Mr9Saas5njcXfDg@mail.gmail.com
In Reply to: Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices by Tanstaafl
1 On Apr 22, 2013 2:05 AM, "Tanstaafl" <tanstaafl@×××××××××××.org> wrote:
2 >
3 > On 2013-04-21 12:38 PM, Randy Barlow <randy@×××××××××××××××××.com> wrote:
4 >>
5 >> I should mention one specific advantage to using LVM over file-based
6 >> images: I believe you will find that LVM performs better. This is due to
7 >> avoiding the duplicated filesystem overhead that would occur in the
8 >> file-based image approach. If the guest wants to fsync(), for example,
9 >> both filesystems need to be involved (the guest's, and the host's). With
10 >> LVM, you still have the host processing the LVM bits of that process,
11 >
12 >
13 > ???
14 >
15 > This doesn't make sense to me.
16 >
17 > Unless you're talking about using LVM on the HOST.
18 >
19 > I'm not. I didn't specify this in this particular post, but I'm using
20 vmWare ESXi, and installing a gentoo VM to run on it.
21 >
22 > So, I'm asking about using the LVM2 installation manual from Gentoo and
23 using LVM2 for just my gentoo VM...
24 >
25 > So, in this case, is it still recommended/fully supported/safe?
26 >
27 > Thanks
28 >
29
30 Honestly, I don't see how LVM can interact with VMware's VMDK... unless one
31 use VMware's thin provisioning over a SAN Storage Thin Provisioning, in
32 which case all hell will break loose once the actual disk size is reached...
33
34 Stick with VMware Thin Provisioning XOR SAN Storage Thin Provisioning.
35 Never both.
36
37 One thing you have to think about, is whether to implement
38 LVM/partition-less, or LVM/partitions.
39
40 Rgds,
41 --

Replies