vgcreate on 1.5TB volume
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.
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)
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)
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
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
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.
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.