


To use multiples processors when builing/compiling RPMs:
edit your .rpmmacros file and define %make macro:
%make make -j 4
blacklist { device { vendor ".*" model ".*" } } blacklist_exceptions { device { vendor "DGC.*" model "RAID.*" } } devices { device { vendor "DGC.*" product ".*" path_grouping_policy failover getuid_callout "/sbin/scsi_id -g -u -s /block/%n" prio_callout "/sbin/mpath_prio_alua /dev/%n" no_path_retry fail path_checker alua failback immediate } }Note: blacklist and blacklist_exceptions should use the same kind of definitions: If some devices are blacklisted by devnode regexp, exceptions for these devices have to be defined by devnode keyword too.
[root@XXXXXX ~]# multipath -ll
3600601609fa02200007deb7d0881de11 dm-7 DGC,RAID 5 [size=1.2T][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=10][enabled]
\_ 7:0:0:0 sdb 8:16 [active][ready]
\_ round-robin 0 [prio=50][active]
\_ 9:0:0:0 sdc 8:32 [active][ready]
mount LABEL=ACME /mnt/acme
mount: /dev/sdc5 already mounted or /mnt/acme busy
strace and Google help me to solve this issue:
There's a cache file /etc/blkid/blkid.tab where information about block devices (labels, uuid) are stored. To solve/avoid this issue, just refresh this cache file:
Doing so, label will be found/used on multipath device first when mounting from label.