All of lore.kernel.org
 help / color / mirror / Atom feed
From: malahal@us.ibm.com
To: dm-devel@redhat.com
Subject: Re: multipath: Determine which device to use for grubdevice.map file
Date: Fri, 19 Feb 2010 16:04:34 -0800	[thread overview]
Message-ID: <20100220000434.GA7527@us.ibm.com> (raw)
In-Reply-To: <4B7F1194.2040201@storix.com>

> mpatha (36006016094511600449d92ae1937d611) dm-0 DGC,DISK
> [size=50G][features=1 queue_if_no_path][hwhandler=1 emc][rw]
> \_ round-robin 0 [prio=2][active]
> \_ 2:0:1:0 sdd 8:48  [active][ready]
> \_ 3:0:1:0 sdf 8:80  [active][ready]
> \_ round-robin 0 [prio=0][enabled]
> \_ 2:0:0:0 sdc 8:32  [active][ready]
> \_ 3:0:0:0 sde 8:64  [active][ready]
>
> Out of the 4 paths, only two (sdd and sdf) are active. This output is 
> not very good to parse through in a script to determine which disks I 
> can specify in my device.map file. Is there a command or better way to 
> determine which underlying paths I can use in my device.map file.

You can probably get it from "dmsetup status <device>", but it may be
even harder to parse!

Thanks, Malahal.

  reply	other threads:[~2010-02-20  0:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-19  1:14 multipath: Determine which device to use for grub device.map file David Huffman
2010-02-19 19:53 ` multipath: Determine which device to use for grubdevice.map file berthiaume_wayne
2010-02-19 22:32   ` David Huffman
2010-02-20  0:04     ` malahal [this message]
2010-02-22  6:41     ` Hannes Reinecke
     [not found] <mailman.31.1266685205.1349.dm-devel@redhat.com>
2010-02-20 20:16 ` Levy_Jerome

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=20100220000434.GA7527@us.ibm.com \
    --to=malahal@us.ibm.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.