Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-23 Thread Tanstaafl
On 2013-04-21 6:15 PM, Pandu Poluan pa...@poluan.info wrote: One thing you have to think about, is whether to implement LVM/partition-less, or LVM/partitions. Well, I was going to just allocate a new 'drive' (create one within vmWare and then attach it to my gentoo VM), and use that entire

[gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Tanstaafl
On 2013-04-20 11:00 AM, Tanstaafl tansta...@libertytrek.org wrote: Another question - are there any caveats as to which filesystem to use for a mail server, for virtualized systems? Ok, googling reveals lots of conflicting opinions about using LVM in a VM environment. I was wanting to use

Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Jarry
On 21-Apr-13 18:15, Tanstaafl wrote: Ok, googling reveals lots of conflicting opinions about using LVM in a VM environment. I was wanting to use it mainly for its snapshot ability (to get consistent backups of my mailstore and mysql DBs). Also it would be very nice to be able to resize things

Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Randy Barlow
On Sun, 2013-04-21 at 12:15 -0400, Tanstaafl wrote: But I've found lots of opinions that using LVM in a virtualized environment can lead to data corruption, and if this is true, I'd rather not risk it... So, LVM or not? This is surprising to me, because at my former employer we used LVM

Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Randy Barlow
On Sun, 2013-04-21 at 12:32 -0400, Randy Barlow wrote: LVM gives a lot of flexibility in managing virtual machines, so I'd highly recommend it. I should mention one specific advantage to using LVM over file-based images: I believe you will find that LVM performs better. This is due to avoiding

Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Tanstaafl
On 2013-04-21 12:27 PM, Jarry mr.ja...@gmail.com wrote: On 21-Apr-13 18:15, Tanstaafl wrote: Ok, googling reveals lots of conflicting opinions about using LVM in a VM environment. I was wanting to use it mainly for its snapshot ability (to get consistent backups of my mailstore and mysql

Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Tanstaafl
On 2013-04-21 12:56 PM, Tanstaafl tansta...@libertytrek.org wrote: Yes I can't take snapshots with ESXi, Sorry, should have read 'Yes I can take snapshots with ESXi...'

Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Michael Hampicke
Am 21.04.2013 18:32, schrieb Randy Barlow: On Sun, 2013-04-21 at 12:15 -0400, Tanstaafl wrote: But I've found lots of opinions that using LVM in a virtualized environment can lead to data corruption, and if this is true, I'd rather not risk it... So, LVM or not? This is surprising to me,

Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Tanstaafl
On 2013-04-21 12:38 PM, Randy Barlow ra...@electronsweatshop.com wrote: I should mention one specific advantage to using LVM over file-based images: I believe you will find that LVM performs better. This is due to avoiding the duplicated filesystem overhead that would occur in the file-based

Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Pandu Poluan
On Apr 22, 2013 2:05 AM, Tanstaafl tansta...@libertytrek.org wrote: On 2013-04-21 12:38 PM, Randy Barlow ra...@electronsweatshop.com wrote: I should mention one specific advantage to using LVM over file-based images: I believe you will find that LVM performs better. This is due to avoiding

Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Randy Barlow
On Sun, 2013-04-21 at 15:04 -0400, Tanstaafl wrote: ??? This doesn't make sense to me. Unless you're talking about using LVM on the HOST. Ah, apologies, I think I had misunderstood. Given that you are using ESXi, I should have thought that LVM on the host wouldn't be possible. Are you set

Re: [gentoo-user] LVM on VM or not? - WAS Re: Best filesystem for virtualized gentoo mail server - WAS: vmWare HowTo / best practices

2013-04-21 Thread Randy Barlow
On Sun, 2013-04-21 at 12:56 -0400, Tanstaafl wrote: Yes I can't take snapshots with ESXi, but everything I've read says that for these to be consistent, they need to be done when the VM is shutdown. Also, they take a LONG time, whereas an LVM snapshot happens almost immediately. This