Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] How big are PEs by default?
@ 2003-03-11  5:23 Paul Furness
  2003-03-11  5:32 ` Patrick Caulfield
  2003-03-11  9:52 ` Aaron Brock
  0 siblings, 2 replies; 9+ messages in thread
From: Paul Furness @ 2003-03-11  5:23 UTC (permalink / raw)
  To: linux-lvm

Hi.

I'm trying to get LVM 1.0.7 going on our new production server. I've
never used LVM before, but based on reccommendations and looking at what
it can do, it looks like exactly what I need.

For the reccord, it's a SMP Xeon system, running RedHat 7.3 plus current
RH patches.

I am confused about the defualt setting for Physical Extents when you
run vgcreate on a new PV. 

Looking through the man page for vgcreate is says this:

       -s, --physicalextentsize PhysicalExtentSize[kKmMgGtT]
              Sets  the  physical extent size on physical volumes
              of this volume group. ................. The default
              of 32 MB allows LV sizes of ~2TB because as many as
              ~64k  extents  are supported per LV.

A bit later, under "Examples." it says this:

       To create a volume group named test_vg using physical vol-
       umes /dev/hdk1,  /dev/hdl1,  and  /dev/hdm1  with  default
       physical extent size of 4MB:

            vgcreate test_vg /dev/sd[k-m]1


So what is the default? 4M or 32M? Or something else? Or should I simply
forget about the default and pick a number?

Finally, is there any documentation that's more detailed than the HOWTO,
and explains a bit more about the theory of LVM - what happens when you
change the size of existing file systems, and so on? The HowTo is ok
(although not all that great if you've never patched a kernel before),
but necessarily brief. :)


Thanks.

Paul.




-- 
Paul Furness

Systems Manager
Visual Information Lab
Mitsubsihi Electric ITE BV
Guildford, UK

Steepness is an illusion caused by flat things leaning over.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [linux-lvm] How big are PEs by default?
  2003-03-11  5:23 [linux-lvm] How big are PEs by default? Paul Furness
@ 2003-03-11  5:32 ` Patrick Caulfield
  2003-03-11  6:23   ` [linux-lvm] " Joao Rechena
  2003-03-13  6:31   ` [linux-lvm] " Urs Thuermann
  2003-03-11  9:52 ` Aaron Brock
  1 sibling, 2 replies; 9+ messages in thread
From: Patrick Caulfield @ 2003-03-11  5:32 UTC (permalink / raw)
  To: linux-lvm

On Tue, Mar 11, 2003 at 11:22:20AM +0000, Paul Furness wrote:
> Hi.
> 
> I'm trying to get LVM 1.0.7 going on our new production server. I've
> never used LVM before, but based on reccommendations and looking at what
> it can do, it looks like exactly what I need.
> 
> For the reccord, it's a SMP Xeon system, running RedHat 7.3 plus current
> RH patches.
> 
> I am confused about the defualt setting for Physical Extents when you
> run vgcreate on a new PV. 
> 
> Looking through the man page for vgcreate is says this:
> 
>        -s, --physicalextentsize PhysicalExtentSize[kKmMgGtT]
>               Sets  the  physical extent size on physical volumes
>               of this volume group. ................. The default
>               of 32 MB allows LV sizes of ~2TB because as many as
>               ~64k  extents  are supported per LV.
> 
> A bit later, under "Examples." it says this:
> 
>        To create a volume group named test_vg using physical vol-
>        umes /dev/hdk1,  /dev/hdl1,  and  /dev/hdm1  with  default
>        physical extent size of 4MB:
> 
>             vgcreate test_vg /dev/sd[k-m]1
> 
> 
> So what is the default? 4M or 32M? Or something else? Or should I simply
> forget about the default and pick a number?

The default is 32MB, the example has not been updated. It used to be 4MB but
limiting LVs to 256MB by default soon became a problem for people.


 
> Finally, is there any documentation that's more detailed than the HOWTO,
> and explains a bit more about the theory of LVM - what happens when you
> change the size of existing file systems, and so on? The HowTo is ok
> (although not all that great if you've never patched a kernel before),
> but necessarily brief. :)

Not that I know of. But if you want to know what a filesystem does when it's
extended then you need filesystem documentation, not LVM documentation.

-- 

patrick

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [linux-lvm] Re: How big are PEs by default?
  2003-03-11  5:32 ` Patrick Caulfield
@ 2003-03-11  6:23   ` Joao Rechena
  2003-03-13  6:31   ` [linux-lvm] " Urs Thuermann
  1 sibling, 0 replies; 9+ messages in thread
From: Joao Rechena @ 2003-03-11  6:23 UTC (permalink / raw)
  To: linux-lvm

Patrick Caulfield writes: 

> On Tue, Mar 11, 2003 at 11:22:20AM +0000, Paul Furness wrote:
>> Hi. 
>> 
>> I'm trying to get LVM 1.0.7 going on our new production server. I've
>> never used LVM before, but based on reccommendations and looking at what
>> it can do, it looks like exactly what I need. 
>> 
>> For the reccord, it's a SMP Xeon system, running RedHat 7.3 plus current
>> RH patches. 
>> 
>> I am confused about the defualt setting for Physical Extents when you
>> run vgcreate on a new PV.  
>> 
>> Looking through the man page for vgcreate is says this: 
>> 
>>        -s, --physicalextentsize PhysicalExtentSize[kKmMgGtT]
>>               Sets  the  physical extent size on physical volumes
>>               of this volume group. ................. The default
>>               of 32 MB allows LV sizes of ~2TB because as many as
>>               ~64k  extents  are supported per LV. 
>> 
>> A bit later, under "Examples." it says this: 
>> 
>>        To create a volume group named test_vg using physical vol-
>>        umes /dev/hdk1,  /dev/hdl1,  and  /dev/hdm1  with  default
>>        physical extent size of 4MB: 
>> 
>>             vgcreate test_vg /dev/sd[k-m]1 
>> 
>> 
>> So what is the default? 4M or 32M? Or something else? Or should I simply
>> forget about the default and pick a number?
> 
> The default is 32MB, the example has not been updated. It used to be 4MB but
> limiting LVs to 256MB by default soon became a problem for people. 
> 
> 
>  
>> Finally, is there any documentation that's more detailed than the HOWTO,
>> and explains a bit more about the theory of LVM - what happens when you
>> change the size of existing file systems, and so on? The HowTo is ok
>> (although not all that great if you've never patched a kernel before),
>> but necessarily brief. :)

You could try to read the documentation of HP LVM, wich is a little more 
detailed, but be carefull, there are some commands that are diferent.
I dont have the link here with me now but I can search later on. 

Regards 


rech
 --
Joao Rechena
mailto:security@rechena.com
http://www.rechena.com
================================
"Bow before me for I am root" 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [linux-lvm] How big are PEs by default?
  2003-03-11  5:23 [linux-lvm] How big are PEs by default? Paul Furness
  2003-03-11  5:32 ` Patrick Caulfield
@ 2003-03-11  9:52 ` Aaron Brock
  1 sibling, 0 replies; 9+ messages in thread
From: Aaron Brock @ 2003-03-11  9:52 UTC (permalink / raw)
  To: linux-lvm

> Finally, is there any documentation that's more detailed than the HOWTO,
> and explains a bit more about the theory of LVM - what happens when you
> change the size of existing file systems, and so on? The HowTo is ok
> (although not all that great if you've never patched a kernel before),
> but necessarily brief. :)
>
Suse put out a white paper that may offer a little more detailed explanation
of LVM. It's available at:
http://www.suse.com/en/business/certifications/certified_software/oracle/doc
s/lvm_whitepaper.pdf


Aaron M. Brock

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [linux-lvm] How big are PEs by default?
  2003-03-11  5:32 ` Patrick Caulfield
  2003-03-11  6:23   ` [linux-lvm] " Joao Rechena
@ 2003-03-13  6:31   ` Urs Thuermann
  2003-03-13  6:35     ` Patrick Caulfield
  1 sibling, 1 reply; 9+ messages in thread
From: Urs Thuermann @ 2003-03-13  6:31 UTC (permalink / raw)
  To: linux-lvm

Patrick Caulfield <caulfield@sistina.com> writes:

> The default is 32MB, the example has not been updated. It used to be 4MB but
> limiting LVs to 256MB by default soon became a problem for people.

Just a typo, but with a PE size of 4MB the limit is 256GB, not 256MB.


urs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [linux-lvm] How big are PEs by default?
  2003-03-13  6:31   ` [linux-lvm] " Urs Thuermann
@ 2003-03-13  6:35     ` Patrick Caulfield
  0 siblings, 0 replies; 9+ messages in thread
From: Patrick Caulfield @ 2003-03-13  6:35 UTC (permalink / raw)
  To: linux-lvm

On Thu, Mar 13, 2003 at 01:25:57PM +0100, Urs Thuermann wrote:
> Patrick Caulfield <caulfield@sistina.com> writes:
> 
> > The default is 32MB, the example has not been updated. It used to be 4MB but
> > limiting LVs to 256MB by default soon became a problem for people.
> 
> Just a typo, but with a PE size of 4MB the limit is 256GB, not 256MB.

Arg!. Just showing my age again :(

Thanks


patrick

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [linux-lvm] How big are PEs by default?
@ 2003-04-14 13:58 hcalzaretta
  0 siblings, 0 replies; 9+ messages in thread
From: hcalzaretta @ 2003-04-14 13:58 UTC (permalink / raw)
  To: linux-lvm

3590


-----Original Message-----
From: Aaron Brock [mailto:brock@ohiou.edu] 
Sent: Tuesday, March 11, 2003 9:52 AM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] How big are PEs by default?


> Finally, is there any documentation that's more detailed than the 
> HOWTO, and explains a bit more about the theory of LVM - what happens 
> when you change the size of existing file systems, and so on? The 
> HowTo is ok (although not all that great if you've never patched a 
> kernel before), but necessarily brief. :)
>
Suse put out a white paper that may offer a little more detailed explanation
of LVM. It's available at:
http://www.suse.com/en/business/certifications/certified_software/oracle/doc
s/lvm_whitepaper.pdf


Aaron M. Brock


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [linux-lvm] How big are PEs by default?
@ 2003-04-15  8:02 Sharad Tiwari
  2003-04-15  8:09 ` Patrick Caulfield
  0 siblings, 1 reply; 9+ messages in thread
From: Sharad Tiwari @ 2003-04-15  8:02 UTC (permalink / raw)
  To: linux-lvm

4MB is what I know ..

> >> Finally, is there any documentation that's more detailed than the
> >> HOWTO, and explains a bit more about the theory of LVM - what
happens
> >> when you change the size of existing file systems, and so on? The
> >> HowTo is ok (although not all that great if you've never patched a
> >> kernel before), but necessarily brief. :)
> >>
> >Suse put out a white paper that may offer a little more detailed
> >explanation
> >of LVM. It's available at:
>
>http://www.suse.com/en/business/certifications/certified_software/oracl
e/
> >doc
> >s/lvm_whitepaper.pdf
> >
> >
> >Aaron M. Brock
> >
> >
> >_______________________________________________
> >linux-lvm mailing list
> >linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
> >read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> >
> >_______________________________________________
> >linux-lvm mailing list
> >linux-lvm@sistina.com
> >http://lists.sistina.com/mailman/listinfo/linux-lvm
> >read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [linux-lvm] How big are PEs by default?
  2003-04-15  8:02 Sharad Tiwari
@ 2003-04-15  8:09 ` Patrick Caulfield
  0 siblings, 0 replies; 9+ messages in thread
From: Patrick Caulfield @ 2003-04-15  8:09 UTC (permalink / raw)
  To: linux-lvm

On Tue, Apr 15, 2003 at 10:47:18AM +0530, Sharad Tiwari wrote:
> 4MB is what I know ..

They were until 1.0.6

Now they are 32MB
-- 

patrick

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-04-15  8:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-11  5:23 [linux-lvm] How big are PEs by default? Paul Furness
2003-03-11  5:32 ` Patrick Caulfield
2003-03-11  6:23   ` [linux-lvm] " Joao Rechena
2003-03-13  6:31   ` [linux-lvm] " Urs Thuermann
2003-03-13  6:35     ` Patrick Caulfield
2003-03-11  9:52 ` Aaron Brock
  -- strict thread matches above, loose matches on Subject: below --
2003-04-14 13:58 hcalzaretta
2003-04-15  8:02 Sharad Tiwari
2003-04-15  8:09 ` Patrick Caulfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox