All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Glanzmann <thomas@glanzmann.de>
To: Chris Hofstaedtler <zeha@debian.org>
Cc: dm-devel@redhat.com, team+linux-blocks@tracker.debian.org
Subject: Re: [dm-devel] NetAPP AFF A220 - Debian - multipathing setup
Date: Fri, 24 Feb 2023 09:02:40 +0100	[thread overview]
Message-ID: <Y/hvIH9DB3Gr1EwQ@glanzmann.de> (raw)
In-Reply-To: <20230223121857.kadue7dwoynayqni@zeha.at>

Hello Chris,

> Per multipath.conf(5):

> | strict    Both multipath and multipathd treat only such devices as multipath devices which have been
> |           part of a multipath map previously, and which are  therefore  listed  in  the  wwids_file.
> |           Users can manually set up multipath maps using the multipathd add map command. Once set up
> |           manually, the map is remembered in the wwids file and will be set up automatically in  the
> |           future.

I wasn't aware of that. Thank you for pointing it out and resolving our issue.

> I would guess your wwids/bindings files are empty, and thus you need to
> follow the advice in the manpage: use multipathd add map, or maybe
> multipath -a.

Yes, that helped, once I executed the following commands, it works:

(live) [/etc/multipath] lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 238.5G  0 disk
sdb      8:16   1  58.9G  0 disk
├─sdb1   8:17   1   855M  0 part
└─sdb2   8:18   1     4M  0 part
sdc      8:32   0   750G  0 disk
sdd      8:48   0   750G  0 disk
sr0     11:0    1  1024M  0 rom
(live) [/etc/multipath] multipath -a /dev/sdc
wwid '3600a0980383143687224554b5472596b' added
(live) [/etc/multipath] multipath -l
(live) [/etc/multipath] cat wwids
# Multipath wwids, Version : 1.0
# NOTE: This file is automatically maintained by multipath and multipathd.
# You should not need to edit this file in normal circumstances.
#
# Valid WWIDs:
/3600a0980383143687224554b5472596b/
(live) [/etc/multipath] /etc/init.d/multipath-tools restart
Restarting multipath-tools (via systemctl): multipath-tools.service.
(live) [/etc/multipath] multipath -l
3600a0980383143687224554b5472596b dm-0 NETAPP,LUN C-Mode
size=750G features='3 queue_if_no_path pg_init_retries 50' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=0 status=active
| `- 7:0:0:0 sdc 8:32 active undef running
`-+- policy='service-time 0' prio=0 status=enabled
  `- 8:0:0:0 sdd 8:48 active undef running

Cheers,
	Thomas

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel

      reply	other threads:[~2023-02-24  8:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-22 13:15 [dm-devel] NetAPP AFF A220 - Debian - multipathing setup Thomas Glanzmann
2023-02-23 12:18 ` Chris Hofstaedtler
2023-02-24  8:02   ` Thomas Glanzmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y/hvIH9DB3Gr1EwQ@glanzmann.de \
    --to=thomas@glanzmann.de \
    --cc=dm-devel@redhat.com \
    --cc=team+linux-blocks@tracker.debian.org \
    --cc=zeha@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.