Your message dated Sun, 12 Feb 2012 11:45:01 +0530
with message-id <[email protected]>
and subject line Re: Bug#659229: prio_callout is not executed (manpage unclear
or outdated?)
has caused the Debian Bug report #659229,
regarding prio_callout is not executed (manpage unclear or outdated?)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
659229: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659229
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
package: multipath-tools
version: 0.4.8+git0.761c66f-10
Hi,
thanks for maintaining multipath-tools!
I'm trying to set priorities with prio_callout but I can't make it work. This
is what I have in /etc/multipath.conf:
devices {
device {
vendor "SUN"
product "COMSTAR"
path_grouping_policy group_by_prio
prio_callout "/sbin/multipath_prio %n"
no_path_retry queue
failback 10
}
}
$ cat /sbin/multipath_prio
#!/bin/bash
case $1 in
sda)
echo "10"
;;
sdb)
echo "20"
;;
sdc)
echo "30"
;;
sdd)
echo "40"
;;
sde)
echo "50"
;;
esac
exit 0
$ sudo multipath -v3|grep sda
Feb 09 10:40:53 | sda: not found in pathvec
Feb 09 10:40:53 | sda: mask = 0x1f
Feb 09 10:40:53 | sda: dev_t = 8:0
Feb 09 10:40:53 | sda: size = 104857600
Feb 09 10:40:53 | sda: subsystem = scsi
Feb 09 10:40:53 | sda: vendor = SUN
Feb 09 10:40:53 | sda: product = COMSTAR
Feb 09 10:40:53 | sda: rev = 1.0
Feb 09 10:40:53 | sda: h:b:t:l = 2:0:0:9
Feb 09 10:40:53 | sda: serial =
Feb 09 10:40:53 | sda: get_state
Feb 09 10:40:53 | sda: path checker = directio (config file default)
Feb 09 10:40:53 | sda: state = running
Feb 09 10:40:53 | sda: state = 3
Feb 09 10:40:53 | sda: prio = const (config file default)
Feb 09 10:40:53 | sda: const prio = 1
Feb 09 10:40:53 | sda: getuid = /lib/udev/scsi_id --whitelisted --
device=/dev/%n (config file default)
Feb 09 10:40:53 | sda: uid = 3600144f0affeaffeaffe000000000001 (callout)
3600144f0affeaffeaffe000000000001 2:0:0:9 sda 8:0 1 undef ready SUN,COMS
I would expect get prio 10 here ;-)
Also I'm slightly confused about the manpage, are you sure you didnt
accidentily reopen #644913?
If you need more information, I'd be very happy to provide that.
cheers,
Holger
--- End Message ---
--- Begin Message ---
On Sunday 12 February 2012 03:08 AM, Holger Levsen wrote:
> that looks way more complicated than the old approach. my users (those
> configuring multipath) tell me they'd prefer to downgrade to 0.4.8 and stick
> with that...
Okay!! I'm closing it then as it is not a bug.
--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
signature.asc
Description: OpenPGP digital signature
--- End Message ---