LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   multipath -ll output (https://www.linuxquestions.org/questions/linux-newbie-8/multipath-ll-output-4175462964/)

kankan55 05-22-2013 01:06 AM

multipath -ll output
 
Quick question here.

Why multipath -ll still show an output (see below) even multipathd service stop. The /etc/multipath.conf is exist. And why dm_multipath module is loaded even its service stop.


Quote:

# multipath -ll
3600508b1001037383941424344450700 dm-2 HP,LOGICAL VOLUME
size=279G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
`- 0:0:0:1 sdb 8:16 active ready running
I am really confused. Thank you.

jdkaye 05-23-2013 11:22 AM

I have no "multipath" command on my system, Debian testing AMD64 with a 3.8-13.dmz.1-liquorix-amd64 kernel. Would you care to tell us something about your system or would you prefer that we guess?
jdk

bloodstreetboy 05-25-2013 08:00 AM

The output of
Quote:

$ multipath -ll
should be like this.
Quote:

May 25 18:27:51 | DM multipath kernel driver not loaded
May 25 18:27:51 | /etc/multipath.conf does not exist, blacklisting all devices.
May 25 18:27:51 | A sample multipath.conf file is located at
May 25 18:27:51 | /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf
May 25 18:27:51 | You can run /sbin/mpathconf to create or modify /etc/multipath.conf
May 25 18:27:51 | DM multipath kernel driver not loaded
when you run
Quote:

$ /sbin/mpathconf
It gives output this.
Quote:

multipath is enabled
find_multipaths is disabled
user_friendly_names is enabled
dm_multipath module is not loaded
multipathd is chkconfiged off

kankan55 06-11-2013 03:26 AM

The OS version is OL6.3 64 bit.
I know that by default the file /etc/multipath.conf does not exist. The output would be the same as bloodstreetboy has mentioned.

Quote:

The output of
$ multipath -ll
should be like this.

May 25 18:27:51 | DM multipath kernel driver not loaded
May 25 18:27:51 | /etc/multipath.conf does not exist, blacklisting all devices.
May 25 18:27:51 | A sample multipath.conf file is located at
May 25 18:27:51 | /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf
May 25 18:27:51 | You can run /sbin/mpathconf to create or modify /etc/multipath.conf
May 25 18:27:51 | DM multipath kernel driver not loaded
But for my scenario, I've already prepared the file /etc/multipath.conf but the service multipathd is still OFF.
My question is why multipath -ll still show an output (see below) even multipathd service stop.

You can try reproducing what I'm saying.


All times are GMT -5. The time now is 02:29 AM.