Skip to contentSkip to conversation

Different PV on the same raid array

linux-lvm Cédric Lemarchand 2 participants 3 messages Feb 24, 2011

lore
Share & tools
lore
#0 lore raw

Hello,

To bypass the DOS MBR 2TB limits, i plan to use LVM to create on the same raid array some "small" PV (< 2TB) that will be in the same big VG (> 2TB).

First, am i planning ugly thing ? is the GPT alternative a better way ?

Secondly, I dont know how LVM use PVs within a VG, but for performances issues, i would like that LVM use 1 PV first and then the second when the first come full (not both at the same time).
Maybe LVM do that by default, or do i need some option ? (i saw "--contiguous" in the lvcreate man pages, but dont know exactly what this option does ... )

Thx

Cédric

#1 lore raw
Quoted 6 lines

To bypass the DOS MBR 2TB limits, i plan to use LVM to create on the same raid array some "small" PV (< 2TB) that will be in the same big VG (> 2TB).

First, am i planning ugly thing ? is the GPT alternative a better way ?

If you're not booting from the array, just make the array
the PV. Once you're past the BIOS boot, there's little reason to have partitions at all since you're using LVM to divide the storage into appropriate volumes. If you are booting from it and therefore need partitions, GPT is the new standard for partitions.

Quoted 5 lines

i would like that LVM use 1 PV first and then
the second when the first come full (not both at the same time). Maybe LVM do that by default, or do i need some option ? (i saw "--contiguous" in the lvcreate man pages, but dont know exactly what this option does ... )

I think it does that by default, subject to certain other contraints
such as not putting both halves of a mirrored LV on the same PV.

Signature · 16 lines
Ray Morris
[email protected]

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php




On Thu, 24 Feb 2011 11:51:26 +0100
Quoted 26 lines · Cédric Lemarchand

Hello,

To bypass the DOS MBR 2TB limits, i plan to use LVM to create on the same raid array some "small" PV (< 2TB) that will be in the same big VG (> 2TB).

First, am i planning ugly thing ? is the GPT alternative a better way ?

Secondly, I dont know how LVM use PVs within a VG, but for performances issues, i would like that LVM use 1 PV first and then the second when the first come full (not both at the same time). Maybe LVM do that by default, or do i need some option ? (i saw "--contiguous" in the lvcreate man pages, but dont know exactly what this option does ... )

Thx

Cédric

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

#2 lore raw
Quoted 4 lines · Ray Morris
Quoted 4 lines

To bypass the DOS MBR 2TB limits, i plan to use LVM to create on the

Quoted 3 lines

same raid array some "small" PV (< 2TB) that will be in the same big VG (> 2TB).

Quoted 8 lines
Quoted 2 lines
Quoted 2 lines

First, am i planning ugly thing ? is the GPT alternative a better way ?

If you're not booting from the array, just make the array
the PV. Once you're past the BIOS boot, there's little reason to have partitions at all since you're using LVM to divide the storage into appropriate volumes. If you are booting from it and therefore need partitions, GPT is the new standard for partitions.

Ok, i am booting on but on a different partition, so i'll need to use GPT or maybe split my array in two parts, one small for OS (using MBR) and second for DATA (without partitions, or with GPT).

Quoted 7 lines
Quoted 5 lines
Quoted 5 lines

i would like that LVM use 1 PV first and then
the second when the first come full (not both at the same time). Maybe LVM do that by default, or do i need some option ? (i saw "--contiguous" in the lvcreate man pages, but dont know exactly what this option does ... )

I think it does that by default, subject to certain other contraints
such as not putting both halves of a mirrored LV on the same PV.

Thx for this precious informations.

Cédric