[dm-devel] DM-MP cannot be run on either the root or boot device

Benjamin Marzinski bmarzins at redhat.com
Mon Dec 4 22:00:37 UTC 2006


On Thu, Nov 30, 2006 at 03:28:12PM -0700, Wayne Cass wrote:
>    DM-MP cannot be run on either the root or boot device
> 
> 
>    I am booting from a SAN.    Configuration:
> 
>    LUN 1
>            /boot
>            /
>            /var
>            /swap
> 
> 
>    Question:  Can I just blacklist   "/"  and "/boot" ?
> 
>    How do you do it?   I am using a HP  xp-1024   SAN.

There is no easy way to blacklist devices by their e2label filesystem label,
if that's what you mean. You can blacklist the devices that "/" and "/boot" are
on by adding something the following to your /etc/multipath.conf

blacklist {
	...
	wwid <wwid_for_"/">
	wwid <wwid_for_"/boot">
}

You can get the WWIDs for the device by running

# /sbin/scsi_id -g -u -s /block/<devname>

e.g.

[root at cypher-01 ~]# /sbin/scsi_id -g -u -s /block/sda
3600d02300069c9ce09d41c72a4235e00

3600d02300069c9ce09d41c72a4235e00 is the WWID.


Also, multipath can only operate on entire devices. There is no way to blacklist
just a partition of a device.

> 
> 
>    thanks
> 
> 

> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel




More information about the dm-devel mailing list