* [linux-lvm] Max LV size
@ 2002-11-11 16:10 Alexander Lazarevich
2002-11-11 16:53 ` Jose Luis Domingo Lopez
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Lazarevich @ 2002-11-11 16:10 UTC (permalink / raw)
To: Linux LVM Sistina
I've got a RAID 5 array which is 500GB. It's on a red hat 7.3 system
(2.4.18-3 kernel) using sistina LVM 1.0.3. I've already got my VG set up,
and I'm now crreating the LV's, but I've got a problem.
vgdisplay -v tells me the max LV size is 255GB. So I figured I'd decrease
the number of Max LV's (currently at 256) to 128, and then that would
increase the size that each LV could be. But when I do a "vgchange -l 128
blah", it just stops and says "segmentation fault".
What gives? I really hope 255GB isn't a limit. Any ideas?
Thanks in advance,
Alex
--- ---
Alex Lazarevich | Systems | Imaging Technology Group
alazarev@itg.uiuc.edu | (217)244-1565 | www.itg.uiuc.edu
--- ---
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Max LV size
2002-11-11 16:10 [linux-lvm] Max LV size Alexander Lazarevich
@ 2002-11-11 16:53 ` Jose Luis Domingo Lopez
0 siblings, 0 replies; 4+ messages in thread
From: Jose Luis Domingo Lopez @ 2002-11-11 16:53 UTC (permalink / raw)
To: Linux LVM Sistina
On Monday, 11 November 2002, at 16:10:05 -0600,
Alexander Lazarevich wrote:
> vgdisplay -v tells me the max LV size is 255GB. So I figured I'd decrease
> the number of Max LV's (currently at 256) to 128, and then that would
> increase the size that each LV could be. But when I do a "vgchange -l 128
> blah", it just stops and says "segmentation fault".
>
> What gives? I really hope 255GB isn't a limit. Any ideas?
>
Yes, just read the documentation :-). From man vgcreate:
-s, --physicalextentsize PhysicalExtentSize[kKmMgGtT]
Sets the physical extent size on physical volumes
of this volume group. A size suffix (k for kilo
bytes up to t for terabytes) is optional, megabytes
is the default if no suffix is present. Values can
be from 8 KB to 16 GB in powers of 2. The default
of 4 MB causes maximum LV sizes of ~256GB because
as many as ~64k extents are supported per LV. In
case larger maximum LV sizes are needed (later),
you need to set the PE size to a larger value as
well. Later changes of the PE size in an existing
VG are not supported.
Hope it helps.
--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Woody (Linux 2.4.19-pre6aa1)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] lvm 1 unable to boot
@ 2004-03-31 15:49 Patrick Caulfield
2004-03-31 19:33 ` [linux-lvm] max LV size Alexander Lazarevich
0 siblings, 1 reply; 4+ messages in thread
From: Patrick Caulfield @ 2004-03-31 15:49 UTC (permalink / raw)
To: LVM general discussion and development
On Wed, Mar 31, 2004 at 03:59:39PM +0100, Geoff Dolman wrote:
> Hi
>
> I have a machine with the following partition structure:
>
> /dev/sda1 /boot (ext3)
> /dev/sda2 swap
> /dev/sda3 LVM
>
> The LVM (1.03/rh9) contains one PV and this has Volume00 in it which
> contains lvs for slash, usr, var, /usr/local and so on...
>
> I rebooted the machine for the first time in ages (same kernel
> configuration as the last reboot and no changes - or very few).
>
> The machine won't reboot - it panics because of a message (something)
> like:
>
> vgscan found inactive "Volume00"
> Error 28 Unable to make /etc/lvmtab.d/Volume00/Volume00.tmp
> vg_cfgbackup.c line 273
>
Error 28 is ENOSPC - your initrd is too small to hold the metadata backups.
--
patrick
^ permalink raw reply [flat|nested] 4+ messages in thread
* [linux-lvm] max LV size
2004-03-31 15:49 [linux-lvm] lvm 1 unable to boot Patrick Caulfield
@ 2004-03-31 19:33 ` Alexander Lazarevich
2004-04-01 13:44 ` Heinz Mauelshagen
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Lazarevich @ 2004-03-31 19:33 UTC (permalink / raw)
To: LVM general discussion and development
Hi,
Using lvm-1.0.3-15 on RHEL3-AS, kernel 2.4.21-9.0.1.ELsmp.
I've got two SCSI devices attached to the system, each one is 1.74TB in
size. I want to make a single ext3 filesystem out of those devices. So I'm
using LVM to create a logical volume (3.48TB) out of those devices:
Even though I set the PE size to 512MB ("vgcreate -s512 /dev/sda
/dev/sdb"), and I can see the VG size is correct (3.18TB), the maximum LV
size is still 2TB:
#vgdisplay
[root@xxxxxx root]# vgdisplay
--- Volume group ---
VG Name test-vg
VG Access read/write
VG Status available/resizable
VG # 0
MAX LV 256
Cur LV 0
Open LV 0
MAX LV Size 2 TB
Max PV 256
Cur PV 2
Act PV 2
VG Size 3.18 TB
PE Size 512 MB
Total PE 6510
Alloc PE / Size 0 / 0
Free PE / Size 6510 / 3.18 TB
VG UUID dU1Xjg-w0Y4-aeh2-yU4l-Wo7g-Lewx-r6l1cT
Later in the man pages, it says something briefly about a 2TB block device
limit in linux 2.4:
#man vgcreate
"There is also (as of Linux 2.4) a kernel limitation of 2TB per block
device."
Is an LV a "block device" and is this why I can't seem to create an LV
bigger than 2TB? If this is the problem, then LVM2 wouldn't even help,
would it? Is it really true that no one can create a non-softwareRAID
filesystem bigger than 2TB on linux 2.4? That just can't be true. Can it?
Thanks in advance,
Alex
--- ---
Alex Lazarevich | Systems Administrator | Imaging Technology Group
Beckman Institute | University of Illinois | www.itg.uiuc.edu
--- ---
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [linux-lvm] max LV size
2004-03-31 19:33 ` [linux-lvm] max LV size Alexander Lazarevich
@ 2004-04-01 13:44 ` Heinz Mauelshagen
0 siblings, 0 replies; 4+ messages in thread
From: Heinz Mauelshagen @ 2004-04-01 13:44 UTC (permalink / raw)
To: LVM general discussion and development
On Wed, Mar 31, 2004 at 01:33:23PM -0600, Alexander Lazarevich wrote:
> Hi,
>
> Using lvm-1.0.3-15 on RHEL3-AS, kernel 2.4.21-9.0.1.ELsmp.
>
> I've got two SCSI devices attached to the system, each one is 1.74TB in
> size. I want to make a single ext3 filesystem out of those devices. So I'm
> using LVM to create a logical volume (3.48TB) out of those devices:
>
> Even though I set the PE size to 512MB ("vgcreate -s512 /dev/sda
> /dev/sdb"), and I can see the VG size is correct (3.18TB), the maximum LV
> size is still 2TB:
>
> #vgdisplay
> [root@xxxxxx root]# vgdisplay
> --- Volume group ---
> VG Name test-vg
> VG Access read/write
> VG Status available/resizable
> VG # 0
> MAX LV 256
> Cur LV 0
> Open LV 0
> MAX LV Size 2 TB
> Max PV 256
> Cur PV 2
> Act PV 2
> VG Size 3.18 TB
> PE Size 512 MB
> Total PE 6510
> Alloc PE / Size 0 / 0
> Free PE / Size 6510 / 3.18 TB
> VG UUID dU1Xjg-w0Y4-aeh2-yU4l-Wo7g-Lewx-r6l1cT
>
> Later in the man pages, it says something briefly about a 2TB block device
> limit in linux 2.4:
>
> #man vgcreate
> "There is also (as of Linux 2.4) a kernel limitation of 2TB per block
> device."
>
> Is an LV a "block device" and is this why I can't seem to create an LV
> bigger than 2TB? If this is the problem, then LVM2 wouldn't even help,
> would it? Is it really true that no one can create a non-softwareRAID
> filesystem bigger than 2TB on linux 2.4? That just can't be true. Can it?
It can. That limitation is gone in Linux 2.6.
>
> Thanks in advance,
>
> Alex
> --- ---
> Alex Lazarevich | Systems Administrator | Imaging Technology Group
> Beckman Institute | University of Illinois | www.itg.uiuc.edu
> --- ---
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@RedHat.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-04-01 13:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-11 16:10 [linux-lvm] Max LV size Alexander Lazarevich
2002-11-11 16:53 ` Jose Luis Domingo Lopez
-- strict thread matches above, loose matches on Subject: below --
2004-03-31 15:49 [linux-lvm] lvm 1 unable to boot Patrick Caulfield
2004-03-31 19:33 ` [linux-lvm] max LV size Alexander Lazarevich
2004-04-01 13:44 ` Heinz Mauelshagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox