Questions tagged [multipath]

Linux Multipath is a device-mapper target auto configurator and a daemon that enforces the path policy.

Getting started with Multipath is easy:

sudo apt-get install multipath-tools multipath-tools-boot

Many Multipath implementations exist for Linux from commercial vendors like EMC PowerPath. Linux Multipath is the default implementation that is supported by the community and is quite reliable. Many transports are supported: Fibre Channel, iSCSI, and SAS to name a few.

It's important to understand what you're working with when configuring a SAN. Also most SANs include a sample multipath.conf in their documentation. Nomenclature can be misleading, like active-active, doesn't go far enough to describe the actual SAN capabilities. In this case a SAN is either Asymmetric Active-Active (AAA) or Symmetric Active-Active (SAA), the former requires the use of ALUA or Asymmetric Logical Unit Access. A good rule thumb is if your array doesn't have Fibre Channel Disks, then it's probably not SAA capable. AAA is also sometimes known as "Dual-Active".

  • Explination of different Multipath arrangements e.g. active-active, active-passive, "dual-active"
  • Implict/Explicit ALUA article, focused on Solaris but relevant to all platforms

NOTE: AAA arrays usually report path states of active/passive or active/ghost

18 questions
74
votes
8 answers

Ubuntu 20.04 multipath configuration

I just installed a new Ubuntu 20.04 server as a virtual machine on an esx-Server. When I look into systemlog I see lots of multipath entries. multipathd[651]: sda: add missing path multipathd[651]: sda: failed to get udev uid: Invalid…
4
votes
1 answer

Multipath only sees 2.0T of 4.8T

I have been given 4.8T of SAN storage to my Ubuntu 10.04 64Bit server. multipath only sees 2.0T. Is this a limitation of Ubuntu or Multipath; or am I doing something wrong? Example output: 36000d77a0000974f6367a370c8e09342dm-3 FALCON ,IPSTOR…
user7054
  • 203
2
votes
0 answers

Missing partitions in Xenial under systemd

I'm running xubuntu Xenial, which has recently stopped booting correctly. H/W is an Intel NUC, boot disk is an M.2 SSD with 4 partitions: Device Start End Sectors Size Type /dev/sdb1 2048 1050623 1048576 512M EFI…
stef
  • 21
2
votes
1 answer

Multipath configuration help with IBM 1746 SAN (DS3500)

host: IBM x3850 FC-HBA: qlogic qle2562, dualport DAS-storage: IBM DS3500 dual-controller, 1 port per controller connected After setting up a new install of 14.04 and configuring devices, I get device errors during boot for every device and every…
little
  • 23
2
votes
1 answer

How can I get multipathd to stop monitoring my disk?

I'm booting Ubuntu server 20.04 from a single nvme disk. Since a couple of days ago, multipath has been spamming my syslog with these messages: Jun 11 20:10:14 xb multipath: nvme0n1: failed to get udev uid: Invalid argument Jun 11 20:10:14 xb…
Artur Meinild
  • 31,035
1
vote
1 answer

Install Ubuntu on a multipath SAN device

I have tried to install Ubuntu 16.10 on a multipathed SAN device and tried the suggested method as follows: boot: linux install disk-detect/multipath/enable=true That doesn't recognize that the two paths are going to the same disk. Has anyone done…
1
vote
0 answers

Inconsistency of mpath device name

In Ubuntu 16.04, I installed multipath-tools package to enable multipath. After login a iSCSI device, I used the command "multipath -ll" to get the mpath device name, and then query in the directory "/dev/mapper". It shows that the device does not…
Jay.Xu
  • 11
1
vote
1 answer

What is mapping fiber channel upon install of 14.04?

We installed 14.04 that is connected to a fiber channel. I was expecting to wrestle with multipath to get the LUNs connected, but I noticed that I am mounted to the fiber channel right after install. What process is doing this out of the box?
1
vote
1 answer

Unable to add new Disk to MDADM Raid: Failed to write metadata

When I try to add a new disk to mdadm, I am getting back an error: sudo mdadm --add /dev/md0 /dev/sdd --verbose mdadm: Failed to write metadata to /dev/sdd Is this a problem with my setup or something else. I purchased 4 replacement disks that…
Patch
  • 11
1
vote
1 answer

Ubuntu 22.04.1 installer cannot detect dual identical NVMe devices

My machine has 2 identical NVMe storage devices: $ sudo dmesg | grep -i nvme [ 1.920305] nvme nvme0: pci function 0000:04:00.0 [ 1.957490] nvme nvme0: allocated 64 MiB host memory buffer. [ 1.990803] nvme nvme0: 15/0/0 default/read/poll…
1
vote
1 answer

LVM no more mounted at boot after upgrade to 20.04 "mpath* is duplicate for ..."

I was using a setup using FCP-disks -> Multipath -> LVM not being mounted anymore after an upgrade from 18.04 to 20.04. I was seeing these errors at boot - I thought that is ok to sort out duplicates: May 28 09:00:43 s1lp05 lvm[746]: WARNING: Not…
Christian Ehrhardt
  • 2,195
  • 16
  • 22
1
vote
0 answers

How to setup multipath

I am trying to use multipath for the first time. And even that I have read the documentation both here at Ubuntu and on Redhat, I'm not coming closer to a solution. I have 4 disks /dev/sdb /dev/sdc /dev/sdd /dev/sde What I'm trying to setup is…
Henning
  • 11
0
votes
2 answers

How to configure iscsi fault tolerance in ubuntu 12.04?

How to configure iscsi fault tolerance in ubuntu 12.04? iSCSI SANs usually have multiple controllers that make failover transparent to the clients.. what i am doing is the following. i made an ubuntu pc as target which means a pc to work as storage…
user61928
0
votes
1 answer

Multipath Problem

When I run multipath -ll, only mpatha appears but not mpathb.
Iskele
  • 3
0
votes
2 answers

Ubuntu 10.04 & IBM DS3524 with FC multipath, inactive path is [failed][faulty] instead of [active][ghost]

OK, this is my setup: FC Switches IBM/Brocade, Switch1 and Switch2, independent fabrics. Server IBM x3650 M2, 2x QLogic QLE2460, 1 connected to each FC Switch. Storage IBM DS3524, 2x controllers with 4x FC ports each, but only 2x connected on…
1
2