All of lore.kernel.org
 help / color / mirror / Atom feed
* Antwort: Re: [linux-lvm] MultiPath
@ 2003-05-22 23:40 Dietmar Stein
  2003-05-23  8:22 ` Ryan Frank
  0 siblings, 1 reply; 4+ messages in thread
From: Dietmar Stein @ 2003-05-22 23:40 UTC (permalink / raw)
  To: linux-lvm

Hi

Follow documentation / sample raidtab for multipathing, which comes with
raidtools. If you've done that, both paths should be used (we have tested
this once and it was working, also the failover of the active path).

Otherwise I would say there's a misconfiguration.

Dietmar



                                                                                                                                       
                      Ryan Frank                                                                                                       
                      <Ryan.Frank@twcab        An:       LVM List <linux-lvm@sistina.com>                                              
                      le.com>                  Kopie:                                                                                  
                      Gesendet von:            Thema:    Re: [linux-lvm] MultiPath                                                     
                      linux-lvm-admin@s                                                                                                
                      istina.com                                                                                                       
                                                                                                                                       
                                                                                                                                       
                      23.05.2003 00:56                                                                                                 
                      Bitte antworten                                                                                                  
                      an linux-lvm                                                                                                     
                                                                                                                                       
                                                                                                                                       




On Thu, 2003-05-22 at 17:57, Andrew Patterson wrote:
> On Thu, 2003-05-22 at 15:19, Ryan Frank wrote:
> > Hello All!
> >
> > I am running RedHat AS 2.1 2.4.9-e3custom kernel (Many reasons why so
> > old)... I have compiled in the the default LVM and multipath options in
> > the kernel.  I have also compiled in the new drivers for my FC Cards
> > (Qlogic 2300).  I can see all my storage... However! I cannot seem to
> > get the multipathing to work.  I see all 6 drives (3 from each card)...
> > Is there a magic trick to get the multipathing to work?  I am at a loss
> > here...
> >
>
> If you are using MD multipathing, you need to edit/create an
> /etc/raidtab file and then run mkraid or raidstart.  You then use a
> /dev/md* device to access your storage.
>

I got the MD device setup in raidtab I am using the "multipath"
personality... It is not utilizing both paths though... I started a
write, then pulled the active path to simulate failure, and it just died
:) fun fun... thanks for the help!

--
+----------------------------------------------------+
|Ryan Frank               Unix System Administrator  |
|Time Warner Cable        7910 Crescent Executive Dr.|
|(704) 731-3324 - phone   3rd Floor                  |
|(704) 731-1180 - fax     Charlotte, NC 28217        |
|150*143328*1 - nextel    ryan.frank@twcable.com     |
+----------------------------------------------------+

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Antwort: Re: [linux-lvm] MultiPath
  2003-05-22 23:40 Antwort: Re: [linux-lvm] MultiPath Dietmar Stein
@ 2003-05-23  8:22 ` Ryan Frank
  2003-05-23 11:50   ` [linux-lvm] Can't make an on-line snapshot with LVM ! armani
  0 siblings, 1 reply; 4+ messages in thread
From: Ryan Frank @ 2003-05-23  8:22 UTC (permalink / raw)
  To: LVM List

On Fri, 2003-05-23 at 00:41, Dietmar Stein wrote:
> Hi
> 
> Follow documentation / sample raidtab for multipathing, which comes with
> raidtools. If you've done that, both paths should be used (we have tested
> this once and it was working, also the failover of the active path).
> 
> Otherwise I would say there's a misconfiguration.
> 
> Dietmar

Thats where I am now, I followed the docs, and even tried a couple
things I found using google... However, it doesn't seem to like the
second path.  If I cat /proc/mdstat it shows two paths... But If I write
to the volume's I only see one path of activity... If I pull that line,
the write stops... Weird... I will keep working it..
 
-- 
+----------------------------------------------------+
|Ryan Frank               Unix System Administrator  |
|Time Warner Cable        7910 Crescent Executive Dr.|
|(704) 731-3324 - phone   3rd Floor                  |
|(704) 731-1180 - fax     Charlotte, NC 28217        |
|150*143328*1 - nextel    ryan.frank@twcable.com     |
+----------------------------------------------------+

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [linux-lvm] Can't make an on-line snapshot with LVM !
  2003-05-23  8:22 ` Ryan Frank
@ 2003-05-23 11:50   ` armani
  2003-05-27  2:20     ` Patrick Caulfield
  0 siblings, 1 reply; 4+ messages in thread
From: armani @ 2003-05-23 11:50 UTC (permalink / raw)
  To: linux-lvm

Dear Sir

I don't know that if this is a FAQ.
But when I create a snapshot for my LV2

# lvcreate -L1M -s -nsnapshot1 /dev/VG1/LV2
lvcreate -- rounding size up to physical extent boundary
lvcreate -- WARNING: the snapshot will be automatically disabled once it
gets full
lvcreate -- INFO: using default snapshot chunk size of 64 KB for
"/dev/VG1/snapshot1"
lvcreate -- doing automatic backup of "VG1"
lvcreate -- logical volume "/dev/VG1/snapshot1" successfully created

This will create a /dev/VG1/snapshot1 for me.

But I can't mount it with the following command:
# mount /dev/VG1/snapshot1 /mnt
when I still mount  /dev/VG1/LV2 on my /var1 mount point.

After umount /var1
# umount /var1

Then redo the command
# lvcreate -L1M -s -nsnapshot2 /dev/VG1/LV2

This will be ok ..

What's wrong with the snapshot ?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Can't make an on-line snapshot with LVM !
  2003-05-23 11:50   ` [linux-lvm] Can't make an on-line snapshot with LVM ! armani
@ 2003-05-27  2:20     ` Patrick Caulfield
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Caulfield @ 2003-05-27  2:20 UTC (permalink / raw)
  To: linux-lvm

On Sat, May 24, 2003 at 12:51:16AM +0800, armani wrote:
> Dear Sir
> 
> I don't know that if this is a FAQ.
> But when I create a snapshot for my LV2
> 

It is a FAQ

You need the VFS lock patch
-- 

patrick

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-27  2:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-22 23:40 Antwort: Re: [linux-lvm] MultiPath Dietmar Stein
2003-05-23  8:22 ` Ryan Frank
2003-05-23 11:50   ` [linux-lvm] Can't make an on-line snapshot with LVM ! armani
2003-05-27  2:20     ` Patrick Caulfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.