Re: LVM and multiple HBA ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is this a multipathed device?  I first create an MD device of a
particular lun like this:
mdadm -C -f -l mp -n 1 -x 1 /dev/md0 /dev/sd<x> /dev/sd<y>

where x is channel A of the device and y is channel B.

You can then verify it by:
mdadm --detail /dev/md0

Does this help?

On Wed, 2004-04-21 at 09:04, Dan Bar Dov wrote:
> I have a problem using two (or more) ports connected to the same storage.
> 
> Linux does not identify that the two LUNs it discovers is actually the same.
> When I create a PV all is well. 
> The PV gets created and is ACTIVE. However, through the other port, the PV
> is also discovered, but is marked INACTIVE in the LVM database.
> 
> When I try to create a VG using the active path, LVM scans all PVs in order.
> If it finds the INACTIVE instance first, the VG creation fails.
> 
> I'm using LVM 1.0.3, please let mw know if such a situation (connecting
> storage through multiple ports) is handled better in another version, or
> suggest how to overcome the problem.
> 
> Thanks,
> Dan
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux