[linux-lvm] SAN setup with host mirrored disks

Michael Loftis mloftis at wgops.com
Thu Jul 13 17:24:08 UTC 2006

--On July 13, 2006 12:04:01 AM +0200 "Fiederling, Daniel" 
<daniel.fiederling at warema.de> wrote:

> Hi,
> I'm relatively new to SAN setup with linux boxes, so maybe this is a very
> easy question. Today I set up a linux box with two qlogic hbas, each one
> is connected to a EMC Clarion. So I got two disks (/dev/sda and /dev/sdb)
> from my storages that I have to mirror on the host system. There is on
> mirror set up in the san environment!

Uhhhmm...Clariion Can and does do RAID 0,1,5, as well as any combination of 
the three.  Depending on the model of Clariion and your specific setup (esp 
depending on if you're using powerpath or not) you'll see one or two 
'copies' of each LUN.

In fact I'd highly recomment using the Clariion to do all of your real RAID 
stuff, and if you can't use powerpath, then use md *just* for failover. 
You do not need MD for actual RAID with a Clariion.  Navisphere will allow 
you to configure mirrors of sets of drives.

> How can I set up mirroring of the two disks if I want to use lvm for the
> ease of later disk expansion? If I use raidtools (md-stuff) will it be
> possible to expand the two disks and the logical disk without data loss?
> What are the needed steps if I have to increase the disk space? First
> expand the md devices through raidreconf and then expand the volume group
> and file system? As far as I read the man pages raidreconf only works
> with raid 0 and 5. It seems to me as if I'm not on the right lane...
> Is it possible to use lvm for mirroring physical volumes? If this is
> possible I expect that this will be the better solution.
> Hope someone can tell me about his experiences with such an scenario.
> Ciao
> Daniel

"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler

More information about the linux-lvm mailing list