All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Marzinski <bmarzins@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: DM-MP cannot be run on either the root or boot device
Date: Mon, 4 Dec 2006 16:00:37 -0600	[thread overview]
Message-ID: <20061204220037.GA10678@ether.msp.redhat.com> (raw)
In-Reply-To: <EA4ABA1D3EF49C4993A576069C887B2BCCCF23@mail.corp.criadvantage.com>

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@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@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

  reply	other threads:[~2006-12-04 22:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30 22:28 DM-MP cannot be run on either the root or boot device Wayne Cass
2006-12-04 22:00 ` Benjamin Marzinski [this message]
2006-12-05  8:25 ` Luca Berra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061204220037.GA10678@ether.msp.redhat.com \
    --to=bmarzins@redhat.com \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.