Skip to contentSkip to conversation

vgcreate on 1.5TB volume

linux-lvm Austin Gonyou 4 participants 7 messages Oct 14, 2002 – Oct 17, 2002

lore
Share & tools
lore
#0 lore raw

I want to get as much of this volume useable as possible in one LV. (if not all, I thought vgcreate -Ay -s8M would work, but I get 512MB LV max message)

What is the best way to get all 1.5TB in one LV?

TIA

Signature · 2 lines
Austin Gonyou <[email protected]>
Coremetrics, Inc.
#1 lore raw
Quoted 4 lines · Austin Gonyou

I want to get as much of this volume useable as possible in one LV. (if not all, I thought vgcreate -Ay -s8M would work, but I get 512MB LV max message)

A default physical extent (PE) size of 4 MB when creating a VG gives you a maximun LV size of 65536*4 MB = 256 GB. If you increase your PE size by a factor of 16 (any factor multiple of two should work) you get a maximun LV size of 16 times 256 GB, that is, 4 TB.

Current unpatched kernels for 32-bit architectures have a hard limit at around 2 TB, so maybe you can even try with a PE size of 8 MB. The only apparent drawback of a larger PE is LV sizes get rounded to the nearest PE-size boundary, so you can "waste" up to PE MB for each LV.

Hope this helps (and is correct ;-)

Signature · 2 lines
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Woody (Linux 2.4.18-586tsc)
#2 lore raw
Quoted 5 lines · Jos� Luis Domingo L�pez

Current unpatched kernels for 32-bit architectures have a hard limit at around 2 TB, so maybe you can even try with a PE size of 8 MB. The only apparent drawback of a larger PE is LV sizes get rounded to the nearest PE-size boundary, so you can "waste" up to PE MB for each LV.

Argh, my brain seems to have been lost somewhere between the two first paragraphs of my earlier post. Instead of "...you can even try with a PE size of 8 MB." I should have said "...you can even try with a PE size 8 times the size of the default (32 MB)."

So 65536*32 MB = 2 TB , just what I wanted to mean and was unable to write in the previous post.

Sorry for the inconvenience.

Signature · 2 lines
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Woody (Linux 2.4.18-586tsc)
#3 lore raw
In reply to Austin Gonyou
Quoted 1 line

What is the best way to get all 1.5TB in one LV?

What are you using the space for? Nearly anything that would handle that much space can divide the space up into multiple areas (e.g., oracle tablespaces) that allow more reasonably sized filesystems.

--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647

                                           +1 800 762 1582
#4 lore raw
Quoted 9 lines · Steven Lembark
Quoted 2 lines

What is the best way to get all 1.5TB in one LV?

What are you using the space for?

Nearly anything that would
handle that much space can divide the space up into multiple areas (e.g., oracle tablespaces) that allow more reasonably sized filesystems.

glftpd.. :)
i have nearly 2TB VG..

we planning to upgrade some drivers.. is there any way to get more than 2TB as max? i need ~8-10TB.. is there any way to do that?

thnx

NagyZ

#5 lore raw
In reply to Steven Lembark

Sorry for the late response. This will be a backup/software mirroring volume for our large DB.

Quoted 18 lines · Steven Lembark
Quoted 1 line

What is the best way to get all 1.5TB in one LV?

What are you using the space for? Nearly anything that would handle that much space can divide the space up into multiple areas (e.g., oracle tablespaces) that allow more reasonably sized filesystems.

--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647

                                            +1 800 762 1582

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Signature · 2 lines
Austin Gonyou <[email protected]>
Coremetrics, Inc.
#6 lore raw
In reply to Steven Lembark

I ended up having to do vgcreate -s32M, that got me a 2TB LV Max.

ALso, there is an issue which I'd like to discuss here on this list. It is about LVM1 and kernel stack clobbering. It's pretty terrible, and all roads, so far, seem to point at LVM.

Austin

Quoted 18 lines · Steven Lembark
Quoted 1 line

What is the best way to get all 1.5TB in one LV?

What are you using the space for? Nearly anything that would handle that much space can divide the space up into multiple areas (e.g., oracle tablespaces) that allow more reasonably sized filesystems.

--
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647

                                            +1 800 762 1582

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Signature · 2 lines
Austin Gonyou <[email protected]>
Coremetrics, Inc.