linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolinux.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Possible to raise Max LV?
Date: Tue, 27 Feb 2001 09:58:46 -0700 (MST)	[thread overview]
Message-ID: <200102271658.f1RGwkl27047@webber.adilger.net> (raw)
In-Reply-To: <20010227131526.1C48E3FDB@math.ohio-state.edu> from Dave Alden at "Feb 27, 2001 01:15:26 pm"

Dave Alden writes:
>   I'm hoping to use LVM with my hardware RAID array so I can take snapshots
> of the filesystem for backups.  What I'm worried about is that my current
> array is 240GB, so the next drive I add will take it over 256GB which (if
> I'm reading the HOWTO correctly) means that I won't be able to use LVM
> anymore (since it's being presented as one drive).  Is there someway to
> get around the 256GB limit (or did I misunderstand this completely? :-)

The max LV size is dependent upon the PE size that you select at VG
creation time.  This is because there is a limit of 64k PEs per LV.

64k = 2^16, 4MB = 2^22 -> 2^16 * 2^22 = 2^38 = 2^8 * 2^30 = 256GB

There is no way to fix this, unfortunately, without backup/restore or
having enough disk space to make a new VG with larger PE size and
then copy your filesystem over.  You can only have 1 PE size in a VG,
so it is not possible to do a "pvmigrate" to a larger PE size.

If you don't have a single LV > 256GB then you do not have a problem.
The 256GB limit is per LV.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

  reply	other threads:[~2001-02-27 16:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-27 13:15 [linux-lvm] Possible to raise Max LV? Dave Alden
2001-02-27 16:58 ` Andreas Dilger [this message]
2001-02-27 18:23   ` Dave Alden
2001-02-27 19:18     ` Jay Weber
2001-02-27 20:22     ` Andreas Dilger
2001-02-27 20:35       ` Ragnar Kjørstad
2001-02-27 20:55         ` Andreas Dilger
2001-02-27 21:04           ` Eric M. Hopper
2001-02-28 12:34             ` Heinz J. Mauelshagen
2001-02-27 22:28           ` zoo1
2001-02-28  5:37             ` Andreas Dilger
2001-02-28  5:07     ` Steven Lembark
2001-02-28 12:22       ` Heinz J. Mauelshagen

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=200102271658.f1RGwkl27047@webber.adilger.net \
    --to=adilger@turbolinux.com \
    --cc=linux-lvm@sistina.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).