Chuck Campbell
2015-Jun-24 20:11 UTC
[CentOS] LVM hatred, was Re: /boot on a separate partition?
On 6/24/2015 1:06 PM, m.roth at 5-cent.us wrote:> Gordon Messmer wrote: >> On 06/23/2015 08:10 PM, Marko Vojinovic wrote: >>> Ok, you made me curious. Just how dramatic can it be? From where I'm >>> sitting, a read/write to a disk takes the amount of time it takes, the >>> hardware has a certain physical speed, regardless of the presence of >>> LVM. What am I missing? >> Well, there's best and worst case scenarios. Best case for file-backed >> VMs is pre-allocated files. It takes up more space, and takes a while >> to set up initially, but it skips block allocation and probably some >> fragmentation performance hits later. >> >> Worst case, though, is sparse files. In such a setup, when you write a >> new file in a guest, the kernel writes the metadata to the journal, then > <MVNCH> > > Here's a question: all of the arguments you're giving have to do with VMs. > Do you have some for straight-on-the-server, non-VM cases? > > mark > >Is there an easy to follow "howto" for normal LVM administration tasks. I get tired of googling every-time I have to do something I don't remember how to do regarding LVM, so I usually just don't bother with it at all. I believe it has some benefit for my use cases, but I've been reticent to use it, since the last time I got LVM problems, I lost everything on the volume, and had to restore from backups anyway. I suspect I shot myself in the foot, but I still don't know for sure. thanks, -chuck --
Jason Warr
2015-Jun-25 15:49 UTC
[CentOS] LVM hatred, was Re: /boot on a separate partition?
On 6/24/2015 3:11 PM, Chuck Campbell wrote:> Is there an easy to follow "howto" for normal LVM administration > tasks. I get tired of googling every-time I have to do something I > don't remember how to do regarding LVM, so I usually just don't bother > with it at all. I believe it has some benefit for my use cases, but > I've been reticent to use it, since the last time I got LVM problems, > I lost everything on the volume, and had to restore from backups > anyway. I suspect I shot myself in the foot, but I still don't know > for sure. thanks, -chuck >Gentoo Wiki has a pretty good "cheat sheet" on it: https://wiki.gentoo.org/wiki/LVM> _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos
Scott Robbins
2015-Jun-25 16:59 UTC
[CentOS] LVM hatred, was Re: /boot on a separate partition?
On Thu, Jun 25, 2015 at 10:49:57AM -0500, Jason Warr wrote:> > > On 6/24/2015 3:11 PM, Chuck Campbell wrote: > >Is there an easy to follow "howto" for normal LVM administration > >tasks. I get tired of googling every-time I have to do something I > >don't remember how to do regarding LVM, so I usually just don't > >bother with it at all. I believe it has some benefit for my use > >cases, but I've been reticent to use it, since the last time I got > >LVM problems, I lost everything on the volume, and had to restore > >from backups anyway. I suspect I shot myself in the foot, but I > >still don't know for sure. thanks, -chuck > > > Gentoo Wiki has a pretty good "cheat sheet" on it: > > https://wiki.gentoo.org/wiki/LVMI have my own page, limited and out of date but.. http://srobb.net/lvm.html -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6