Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multipathd is not enabled after Multipath OS install #1

Open
raecdapps opened this issue Feb 6, 2023 · 0 comments
Open

multipathd is not enabled after Multipath OS install #1

raecdapps opened this issue Feb 6, 2023 · 0 comments

Comments

@raecdapps
Copy link

Issue:
multipathd is not enabled after OS installation.

Workaround:
Use systemctl after OS install to enable and start multipathd.

I don't know if this is the correct project. Please reassign if this is not the correct project. This issue is seen OpenEuler 22.03 LTS.


systemctl status multipathd

● multipathd.service - Device-Mapper Multipath Device Controller
Loaded: loaded (/usr/lib/systemd/system/multipathd.service; disabled; vendor
preset: enabled)
Active: inactive (dead)

Dec 21 19:26:41 localhost.localdomain multipathd[1337]: --------start
up--------
Dec 21 19:26:41 localhost.localdomain multipathd[1337]: read
/etc/multipath.conf
Dec 21 19:26:41 localhost.localdomain multipathd[1337]: path checkers start up
Dec 21 19:26:41 localhost.localdomain multipathd[1337]: mpatha: load table [0
104857600 multipath 0 1 alua 1 1 service-time 0 1 1 8:0 1]
Dec 21 19:26:42 localhost.localdomain systemd[1]: Stopping Device-Mapper
Multipath Device Controller...
Dec 21 19:26:42 localhost.localdomain multipathd[1337]: BUG: orphaning path sda
that holds hwe of mpatha
Dec 21 19:26:42 localhost.localdomain multipathd[1591]: ok
Dec 21 19:26:43 localhost.localdomain multipathd[1337]: --------shut
down-------
Dec 21 19:26:43 localhost.localdomain systemd[1]: multipathd.service:
Succeeded.
Dec 21 19:26:43 localhost.localdomain systemd[1]: Stopped Device-Mapper
Multipath Device Controller.

systemctl enable multipathd

Created symlink /etc/systemd/system/sysinit.target.wants/multipathd.service →
/usr/lib/systemd/system/multipathd.service.
Created symlink /etc/systemd/system/sockets.target.wants/multipathd.socket →
/usr/lib/systemd/system/multipathd.socket.

systemctl start multipathd

multipath -ll

mpatha (3624a93708c0e6cc341ad47c100019f4c) dm-0 PURE,FlashArray
size=50G features='0' hwhandler='1 alua' wp=rw
-+- policy='service-time 0' prio=50 status=active |- 9:0:0:1 sda 8:0 active ready running - 11:0:0:1 sdb 8:16 active ready running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant