Skip to contentSkip to conversation

Red Hat Advanced Server + LVM

linux-lvm Geoff Dolman 2 participants 4 messages Jun 20, 2003

lore
Share & tools
lore
#0 lore raw

Hi

I am soon to take delivery of a new Server: It's configuration is to be

584GB disk (hardware raid5) 4 cpu (with Intel hyperthreading)

32 GB RAM

I intend to use RH Advanced Server 2.1 (whatever the latest kernel is at time of install).

I would ideally like to be able to snapshot dump this machine (the largest partition will use most of the available disk space (4-500GB)).

Is there any caveat or issue that I should be aware of with lvm in this configuration?

Many thanks

Signature · 1 line
Geoff Dolman <[email protected]>
#1 lore raw
Quoted 9 lines · Geoff Dolman

Hi

I am soon to take delivery of a new Server: It's configuration is to be

584GB disk (hardware raid5) 4 cpu (with Intel hyperthreading)

32 GB RAM

Quoted 8 lines

I intend to use RH Advanced Server 2.1 (whatever the latest kernel is at time of install).

I would ideally like to be able to snapshot dump this machine (the largest partition will use most of the available disk space (4-500GB)).

Is there any caveat or issue that I should be aware of with lvm in this configuration?

Snapshots trigger a virtual memory problem with highmem enabled in kernel 2.4 :(

The snapshot exception tables hold in RAM can grow quite big in case of large snapshot sizes (which you might not need in case your filesystem(s) are not heavily updated during the lifetime of the snapshot).

Quoted 11 lines

Many thanks

Signature · 7 lines
Geoff Dolman <[email protected]>

_______________________________________________
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 · 15 lines
Regards,
Heinz    -- The LVM Guy --

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

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

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#2 lore raw
Quoted 16 lines · Heinz J . Mauelshagen
Quoted 15 lines · Geoff Dolman

Hi

I am soon to take delivery of a new Server: It's configuration is to be

584GB disk (hardware raid5) 4 cpu (with Intel hyperthreading)

32 GB RAM

I intend to use RH Advanced Server 2.1 (whatever the latest kernel is at time of install).

I would ideally like to be able to snapshot dump this machine (the largest partition will use most of the available disk space (4-500GB)).

Quoted 9 lines
Quoted 2 lines

Is there any caveat or issue that I should be aware of with lvm in this configuration?

Snapshots trigger a virtual memory problem with highmem enabled in kernel 2.4 :(

The snapshot exception tables hold in RAM can grow quite big in case of large snapshot sizes (which you might not need in case your filesystem(s) are not heavily updated during the lifetime of the snapshot).

Hi Heinz

What do you recommend I do? What is (if any) the largest filesystem I can snapshot in this set-up?

Signature · 1 line
Geoff Dolman <[email protected]>
#3 lore raw
Quoted 22 lines · Geoff Dolman
Quoted 21 lines · Heinz J . Mauelshagen
Quoted 9 lines · Geoff Dolman

Hi

I am soon to take delivery of a new Server: It's configuration is to be

584GB disk (hardware raid5) 4 cpu (with Intel hyperthreading)

32 GB RAM

Quoted 8 lines

I intend to use RH Advanced Server 2.1 (whatever the latest kernel is at time of install).

I would ideally like to be able to snapshot dump this machine (the largest partition will use most of the available disk space (4-500GB)).

Is there any caveat or issue that I should be aware of with lvm in this configuration?

Snapshots trigger a virtual memory problem with highmem enabled in kernel 2.4 :(

Quoted 8 lines
Quoted 4 lines

The snapshot exception tables hold in RAM can grow quite big in case of large snapshot sizes (which you might not need in case your filesystem(s) are not heavily updated during the lifetime of the snapshot).

Hi Heinz

What do you recommend I do?

Because of the highmem problems which are not fixed in 2.4.21 TTBOMK (and I am afraid they wonÄt be before 2.6), you can run snapshots without highmem enabled only, which for obvious reasons can't be an option you prefer ;)

Quoted 2 lines

What is (if any) the largest filesystem I
can snapshot in this set-up?

Depends on your memory load and fs update ratio during a snapshots lifetime. With 1GB of RAM used only, that would be up to ~512GB snapshot size (roughly calculated) presuming you could use have of your RAM for the memory resident snapshot excpetion table and go with 32k snapshot chunk size.

The ~512GB are the upper limit of changes to the original LV (which is a lot).

As a rule of thumb, you can calculate with ~5% changes to your original LV, which means you'ld need a ~100GB snapshot for a 2TB original LV.

Quoted 9 lines
Signature · 8 lines
-- 
Geoff Dolman <[email protected]>

_______________________________________________
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 · 15 lines
Regards,
Heinz    -- The LVM Guy --

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

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

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-