On Wed, Jul 22, 2009 at 02:49:39PM +0800, 杨伟 wrote: > Dear all: > > Q1: In RHEL 5.2, make and make install multipath-tools-0.4.8, why does not > command "multipath -p" work well? Are you using the upstream or the RHEL code. multipath -p does work in the RHEL code, although, if you run multipath again, or reconfigure multipathd, it will notice that your devices aren't set up the way the config says they should be, and it will change them back. In general, multipath -p is pretty worthless, you should change the configuration to use the path grouping policy you want. > > Q2: In RHEL 5.2, configure path group policy as failover or group_by_prio, > and then create path-prio.sh to set the priority of paths. however, the > path group with the highest priority is not always active, if I don't > recreate the multipath devices. why is that? how I make the path group > with the highest priority is active on-line? By default, multipath is configured for manual failback. This means that multipathd won't switch from the current active pathgroup to a higher priority one, unless you manually force it to do so. The easiest way to do this is by running # service multipathd reload or # multipathd -k"reconfigure" adding defaults { <other_defaults> failback immediate } to /etc/multipath.conf will make multipath immdiately switch to the highest priority path group. -Ben > > William > -- > dm-devel mailing list > dm-devel@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/dm-devel -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel