All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zac Slade <krakrjak@volumehost.net>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Is it better to use partitions or entire disk for LVM?
Date: Fri, 9 Jun 2006 03:31:46 -0500	[thread overview]
Message-ID: <200606090331.46197.krakrjak@volumehost.net> (raw)
In-Reply-To: <1149547428.14842.502.camel@server.ak.quickcircuit.co.nz>

On Monday 05 June 2006 17:43, Mario Becroft (mailing list) wrote:
> On Tue, 2006-06-06 at 00:31 +0200, Heinz Mauelshagen wrote:
> > On Sun, Jun 04, 2006 at 10:46:45AM -0400, Mag Gam wrote:
> > > Is it better to create 1 partition on a disk, and use that into the
> > > LVM, or have a blank disk, and use that in the LVM (if possible)?
I prefer full disks where possible.  Unless you have to boot from it there is 
no need for a partition table.

> Another reason for creating a partition (perhaps a silly one, but I have
> found it useful) is that discs from different vendors (or even the same
> vendor) that are supposedly the same size often vary slightly, so I find
> it useful to create a partition slightly smaller than the total size of
> the disc. This is a little wasteful of space, but means that if I need
> to drop in a replacement disc that is slightly smaller than the original
> one, I can just copy an image of the old disc and it will generally
> work--otherwise I would have to fiddle around with whatever was near the
> end of the old disc.
Yeah it is a little silly.  If the disk is good enough to image it's probably 
good enough to pvmove off of.  If that's the case take the new disk pvcreate 
it, add it to the volume group and pvmove /dev/old /dev/new once that 
completes just vgremove the old one.  Works like a champ.  If you run into 
problems wholesale pvmoving you can go to pvmove by extent.  Like I said 
above, unless you have to boot from the disk there is no need for partition 
tables.

-- 
Zac Slade
krakrjak@volumehost.net
ICQ:1415282 YM:krakrjak AIM:ttyp99

  parent reply	other threads:[~2006-06-09  8:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-04 14:46 [linux-lvm] Is it better to use partitions or entire disk for LVM? Mag Gam
2006-06-05 22:31 ` Heinz Mauelshagen
2006-06-05 22:43   ` Mario Becroft (mailing list)
2006-06-05 22:58     ` Joep Blom
2006-06-09  8:31     ` Zac Slade [this message]
2006-06-09 11:36   ` Dieter Stüken
2006-06-09 18:44     ` Luca Berra

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=200606090331.46197.krakrjak@volumehost.net \
    --to=krakrjak@volumehost.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.