Skip to contentSkip to conversation

Size limits and kernel versions

linux-lvm Patrick Swartz 5 participants 5 messages Oct 26, 2000 – Oct 29, 2000

lore
Share & tools
lore
#0 lore raw

I am just getting start with LVM and have a few questions. First let me describe my situation. I have 2 RH7.0 servers each with an ICP-Vortex RAID controller that is attached to a chassis with 11 50GB drives in a raid5 + hot spare. This gives me about 450GB of usable data space. I would like to combine these controllers in a single server and use LVM to create one large logical volume.

Is this possible?

Will I loose the data that is on both? just one?

If so, what kernel patch do I use for RedHat 7.0?

Or, should I install the latest kernel (2.4.0-test9)?

If that is the case what do I need to do to get the user tools to compile?

I have spent most of the day reading the archives and how-to's, but have not been able to answer these questions. If I have missed something I apologize.

Thank you for your help,

Patrick Swartz
[email protected]

#1 lore raw
Quoted 8 lines · Patrick Swartz

I am just getting start with LVM and have a few questions. First let me describe my situation. I have 2 RH7.0 servers each with an ICP-Vortex RAID controller that is attached to a chassis with 11 50GB drives in a raid5 + hot spare. This gives me about 450GB of usable data space. I would like to combine these controllers in a single server and use LVM to create one large logical volume.

Is this possible?

Yes, it should be. There is an in-kernel limit of 1TB per device (and an LV is considered a single device even if it is spread across multiple disks). This limit is also in 2.4 and will not be fixed until 2.5.

Quoted 1 line

Will I loose the data that is on both? just one?

If you are already using LVM on both systems, then there should be little problem moving them to a single system (watch out for VG name conflicts). If they are not using LVM, then there is a big problem to move them to LVM.

Quoted 1 line

If so, what kernel patch do I use for RedHat 7.0?

You can probably use my 2.2 patch at ftp://ftp.stelias.com/pub/adilger/ but I haven't tried it on Red Hat. I have heard some strange things about RH 7.0 headers and such, so it may take a bit of work. It may even be that RH 7.0 has LVM in it already, I don't know.

Quoted 2 lines

Or, should I install the latest kernel (2.4.0-test9)?
If that is the case what do I need to do to get the user tools to compile?

Check out the above site for patched user tools. They will work for both 2.4 and 2.2 (with my patch) because they are both 0.8final. There are other 2.2 LVM patches out there (0.8i and such) that will need different user tools.

Cheers, Andreas

Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
#2 lore raw
Quoted 8 lines · Andreas Dilger
Quoted 2 lines

If so, what kernel patch do I use for RedHat 7.0?

You can probably use my 2.2 patch at ftp://ftp.stelias.com/pub/adilger/ but I haven't tried it on Red Hat. I have heard some strange things about RH 7.0 headers and such, so it may take a bit of work. It may even be that RH 7.0 has LVM in it already, I don't know.

The main problem I'd had with RedHat kernels lately has been
that their MD (kernel RAID) modifications don't work well with LVM. I just disable MD and it works fine.

This is with the stock 0.8i kernel patch.

Have fun (if at all possible),

Signature · 3 lines
The best we can hope for concerning the people at large is that they
be properly armed.  -- Alexander Hamilton
-- Eric Hopper ([email protected] http://www.omnifarious.org/~hopper) --
#3 lore raw
Quoted 10 lines · Eric M. Hopper
Quoted 8 lines · Andreas Dilger
Quoted 2 lines

If so, what kernel patch do I use for RedHat 7.0?

You can probably use my 2.2 patch at ftp://ftp.stelias.com/pub/adilger/ but I haven't tried it on Red Hat. I have heard some strange things about RH 7.0 headers and such, so it may take a bit of work. It may even be that RH 7.0 has LVM in it already, I don't know.

Quoted 5 lines

The main problem I'd had with RedHat kernels lately has been
that their MD (kernel RAID) modifications don't work well with LVM. I just disable MD and it works fine.

This is with the stock 0.8i kernel patch.

Basically the mess in terms of meta device drivers patching ll_rw_blk.c causing all kinds of problems is addressed much better in 2.4.

Anyway: can you elaborate a bit on what you mean with
"their MD (kernel RAID) modifications don't work well with LVM", please?

Regards,
Heinz -- The LVM guy --

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

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Bartningstr. 12

                                                  64289 Darmstadt
                                                  Germany
[email protected]                           +49 6151 7103 86
                                                       FAX 7103 96

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

#4 lore raw
In reply to Patrick Swartz
Quoted 3 lines · Patrick Swartz

Will I loose the data that is on both? just one?

I'd say you have to wipe one array, create a physical volume and add it to a volume group. Then you might want to create logical volumes and copy your data from the other array to these LV's, wipe the second array and add it to your volume group.

good luck,

Nils

Quoted 3 lines
  Nils Juergens  | [email protected] | icq 7090774   <
 If we all work hard, we can turn this company  <
     around 360 degrees -- gruntbert(LOTD)      <