Skip to contentSkip to conversation

Disk striping option

linux-lvm Patrick Swartz 3 participants 5 messages Nov 8, 2000

lore
Share & tools
lore
#0 lore raw

Hello all,

I have a question about the use of the LVM native striping option. Here is my scenario: I have RH7.0 with an ICP-Vortex Raid controller and 11 Seagate 50G hard-drives in a JBOD chassis that is set up as a single VG. An older system has the same configuration without LVM and using RH6.2. What I want to do is move all of the data from the older system to the LVM system and then add the old 11 drives to the LVM system to in affect double my space available.

When I set up the LVM system I used the "-i 11" option to specify all 11 disks, how can I add the next 11 drives so that lvm also stripes those as well?

Also, do you have any recommendation for a File System to use? This is a production system so I am a little leery of 0.0.x software, but I am not crazy about ext2 fcsk on 1TB of data either.

Thanks for any help,
Patrick Swartz

#1 lore raw
Quoted 11 lines · Patrick Swartz

I have a question about the use of the LVM native striping option. Here is my scenario: I have RH7.0 with an ICP-Vortex Raid controller and 11 Seagate 50G hard-drives in a JBOD chassis that is set up as a single VG. An older system has the same configuration without LVM and using RH6.2. What I want to do is move all of the data from the older system to the LVM system and then add the old 11 drives to the LVM system to in affect double my space available.

Also, do you have any recommendation for a File System to use? This is a production system so I am a little leery of 0.0.x software, but I am not crazy about ext2 fcsk on 1TB of data either.

If this is a production system, I would be very leery of using 11 disks striped together into a single filesystem. I'd be even more leery of having 22 disks in this configuration. First of all, you can't get close to 11x the bandwidth of a single disk, and secondly you will kill your I/O rate because each of the 11 disks will have to be involved in every I/O rather than allowing them to each handle separate I/Os.

Also, you run a huge risk of trashing all of your data if a single disk fails, whereas with the normal concatenated configuration you at least have some chance to get the data back.

RedHat is running a Beta program with ext3-0.0.3b, and I've been using it on my systems for several months without problems. Despite the version number, it is very robust and is only lacking metadata-only journalling (added in 0.0.5 but it came with a few bugs).

Of course, your choice of filesystem also depends on what you are using this server for.

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
#4 lore raw
In reply to Patrick Swartz
Quoted 10 lines · Patrick Swartz

Hello all,

I have a question about the use of the LVM native striping option. Here is my scenario: I have RH7.0 with an ICP-Vortex Raid controller and 11 Seagate 50G hard-drives in a JBOD chassis that is set up as a single VG. An older system has the same configuration without LVM and using RH6.2. What I want to do is move all of the data from the older system to the LVM system and then add the old 11 drives to the LVM system to in affect double my space available.

Quoted 3 lines

When I set up the LVM system I used the "-i 11" option to specify all 11 disks, how can I add the next 11 drives so that lvm also stripes those as well?

If you have a RAID controller, why do you want to use LVM for
striping? But the question is still valid, and one I'd be very interested in the answer to. I'm interested in the reverse case. :-)

Quoted 3 lines

Also, do you have any recommendation for a File System to use? This is a production system so I am a little leery of 0.0.x software, but I am not crazy about ext2 fcsk on 1TB of data either.

I've been using reiserfs for quite awhile, and while I'm not
someone who gives an fs a lot of abuse, it has functioned perfectly for me. It's also faster than ext2 in most cases, despite the journaling, and it wastes a lot less space.

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) --
#2 lore raw
In reply to Andreas Dilger

Thanks for responding so quickly. I should add that each JBOD chassis is attached to it's own ICP card in a Raid 5 + hot spare configuration. This system will be used in a heavy fileserver environment doing reads-writes with large files.
From LVMs point-of-view would it only see "2" drives (the two h/w raid5's)? Thanks,
Patrick

-----Original Message-----
From: Andreas Dilger [mailto:[email protected]]
Sent: Wednesday, November 08, 2000 2:28 PM
To: Patrick Swartz
Cc: [email protected]
Subject: Re: [linux-lvm] Disk striping option

Quoted 1 line · Patrick Swartz

I have a question about the use of the LVM native striping option. Here

is

Quoted 1 line

my scenario: I have RH7.0 with an ICP-Vortex Raid controller and 11

Seagate

Quoted 4 lines

50G hard-drives in a JBOD chassis that is set up as a single VG. An older system has the same configuration without LVM and using RH6.2. What I want to do is move all of the data from the older system to the LVM system and then add the old 11 drives to the LVM system to in affect

double

Quoted 5 lines

my space available.

Also, do you have any recommendation for a File System to use? This is a production system so I am a little leery of 0.0.x software, but I am not crazy about ext2 fcsk on 1TB of data either.

If this is a production system, I would be very leery of using 11 disks striped together into a single filesystem. I'd be even more leery of having 22 disks in this configuration. First of all, you can't get close to 11x the bandwidth of a single disk, and secondly you will kill your I/O rate because each of the 11 disks will have to be involved in every I/O rather than allowing them to each handle separate I/Os.

Also, you run a huge risk of trashing all of your data if a single disk fails, whereas with the normal concatenated configuration you at least have some chance to get the data back.

RedHat is running a Beta program with ext3-0.0.3b, and I've been using it on my systems for several months without problems. Despite the version number, it is very robust and is only lacking metadata-only journalling (added in 0.0.5 but it came with a few bugs).

Of course, your choice of filesystem also depends on what you are using this server for.

Cheers, Andreas
--
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

#3 lore raw
Quoted 4 lines · Patrick Swartz

Thanks for responding so quickly. I should add that each JBOD chassis is attached to it's own ICP card in a Raid 5 + hot spare configuration. This system will be used in a heavy fileserver environment doing reads-writes with large files.

In this case you don't want to do any striping from LVM at all. If you are using ext2/ext3 you may want to consider using the "-R stride" option to align the block/inode bitmaps on different disks. For read performance, ext2/ext3 is equal or better than ReiserFS. For write performance, the current "stable" ext3 is 1/2 as fast (because of data journalling).

For large files there will be no real performance/space benefit to ReiserFS over ext2, but of course you will have journalling support. There are also some issues to getting ReiserFS set up properly with NFS (if that's what you will use), so make sure you check this out closely.

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