* [linux-lvm] Different PV on the same raid array
@ 2011-02-24 10:51 Cédric Lemarchand
2011-02-24 13:04 ` Ray Morris
0 siblings, 1 reply; 3+ messages in thread
From: Cédric Lemarchand @ 2011-02-24 10:51 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Different PV on the same raid array
2011-02-24 10:51 [linux-lvm] Different PV on the same raid array Cédric Lemarchand
@ 2011-02-24 13:04 ` Ray Morris
2011-02-24 13:44 ` Cédric Lemarchand
0 siblings, 1 reply; 3+ messages in thread
From: Ray Morris @ 2011-02-24 13:04 UTC (permalink / raw)
To: linux-lvm; +Cc: cedric.lemarchand
> 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.
> 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.
--
Ray Morris
support@bettercgi.com
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
Cédric Lemarchand <cedric.lemarchand@ixcore.com> wrote:
> 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
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Different PV on the same raid array
2011-02-24 13:04 ` Ray Morris
@ 2011-02-24 13:44 ` Cédric Lemarchand
0 siblings, 0 replies; 3+ messages in thread
From: Cédric Lemarchand @ 2011-02-24 13:44 UTC (permalink / raw)
To: Ray Morris; +Cc: linux-lvm
Le 24/02/11 14:04, Ray Morris a écrit :
>> 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.
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).
>> > 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-24 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 10:51 [linux-lvm] Different PV on the same raid array Cédric Lemarchand
2011-02-24 13:04 ` Ray Morris
2011-02-24 13:44 ` Cédric Lemarchand
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).