Skip to contentSkip to conversation

finding the right size for rootvg

linux-lvm [email protected] 2 participants 4 messages Feb 20, 2004 – Feb 25, 2004

lore
Share & tools
lore
#0 lore raw

I'm re-installing slackware 9.1 on my linux box, trying to set up LVM and ReiserFs. I'm pretty new at this, learning as I go along.

I originally installed to another partition, now I've creating a fresh partition and following the LVM how-to about how to set up a root volume group. My questions are about partition and volume group size.

The first time I created a partition and PV I made it 5GB and found that I had created the rootvg too small by default to allocate enough space. So reading the man pages I figured out that I need to specify a certain extent size when I create the rootvg in order to use the space properly. Right now the partition is a little over 4GB and the rootvg is 3.97GB with an extent size of 8MB. Is this small extent size a good idea or will it cause problems later?

Thanks for any advice,

#1 lore raw
Quoted 9 lines · On Fri, Feb 20, 2004 at 07:12:31AM -0800, [email protected] wrote:

I'm re-installing slackware 9.1 on my linux box, trying to set up LVM and ReiserFs. I'm pretty new at this, learning as I go along.

I originally installed to another partition, now I've creating a fresh partition and following the LVM how-to about how to set up a root volume group. My questions are about partition and volume group size.

Quoted 9 lines

The first time I created a partition and PV I made it 5GB and found that I had created the rootvg too small by default to allocate enough space. So reading the man pages I figured out that I need to specify a certain extent size when I create the rootvg in order to use the space properly. Right now the partition is a little over 4GB and the rootvg is 3.97GB with an extent size of 8MB. Is this small extent size a good idea or will it cause problems later?

It'll 'limit' you to a maximum LV size of 512GB if that is an issue in LVM1. Once you migrate to LVM2 there's no such constraint any more.

Quoted 8 lines

Thanks for any advice,

_______________________________________________
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/

Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#2 lore raw
Quoted 3 lines · Heinz

It'll 'limit' you to a maximum LV size of 512GB if that is an issue in LVM1.
Once you migrate to LVM2 there's no such constraint any more.

Thanks Heinz, that's not a problem since this is a home system, only has 8GB and 60GB HD's. Will the small extent make a difference in performance?

=====
Chris Conn
[email protected]
http://storm.cadcam.iupui.edu/~cmcgoat
Austin, TX, USA

#3 lore raw
Quoted 9 lines · On Fri, Feb 20, 2004 at 07:56:35AM -0800, [email protected] wrote:
Quoted 3 lines · Heinz

It'll 'limit' you to a maximum LV size of 512GB if that is an issue in LVM1.
Once you migrate to LVM2 there's no such constraint any more.

Thanks Heinz, that's not a problem since this is a home system, only has 8GB and 60GB HD's. Will the small extent make a difference in performance?

Smaller extents cause larger mapping tables in LVM1. Typically you won't be able to see a performance difference.

Quoted 12 lines

=====
Chris Conn
[email protected]
http://storm.cadcam.iupui.edu/~cmcgoat
Austin, TX, USA

_______________________________________________
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/

Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-