From: =?ISO-8859-1?Q?Christian_R=F8snes?= Subject: Re: Multipath setup and rdac questions Date: Thu, 5 Feb 2009 20:13:30 +0100 Message-ID: <1a4a774c0902051113u513d9d43sda8278ebaf6899bd@mail.gmail.com> References: <1a4a774c0902050558r661093dag83e71a06250c24aa@mail.gmail.com> <498B00B3.5020402@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1829778672==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids --===============1829778672== Content-Type: multipart/alternative; boundary=001636c5b4dd2eeb93046230b3df --001636c5b4dd2eeb93046230b3df Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Thu, Feb 5, 2009 at 6:37 PM, Moger, Babu wrote: > > Like Bryn said, you cannot have both MPP and device mapper together. MPP > will be the first one to load. So it will claim all the devices. > > I have modified your multipath.conf file. Please try this one below. > > devices { > device { > vendor "DELL" > product "MD3000i" > product_blacklist "Universal Xport" > features "1 queue_if_no_path" > path_grouping_policy group_by_prio > prio_callout "/sbin/mpath_prio_rdac /dev/%n" > getuid_callout "/sbin/scsi_id -g -u -s > /block/%n" > hardware_handler "1 rdac" > path_checker rdac > prio "rdac" > failback immediate > } > } > > Hi Thank you for the information. I changed my multipath.conf to the following: cat /etc/multipath.conf defaults { udev_dir /dev user_friendly_names yes } blacklist { devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" devnode "^hd[a-z]" devnode "^sda" devnode "^sda[0-9]" } devices { device { vendor "DELL" product "MD Virtual Disk" product_blacklist "Universal Xport" features "1 queue_if_no_path" path_grouping_policy group_by_prio prio_callout "/sbin/mpath_prio_rdac /dev/%n" getuid_callout "/sbin/scsi_id -g -u -s /block/%n" hardware_handler "1 rdac" path_checker rdac prio "rdac" failback immediate } } then did: # multipath -F # service multipathd restart Now I get: # multipath -ll mpathe (36002219000918b4c00005b6c497e6632) dm-4 DELL,MD Virtual Disk [size=5.5T][features=1 queue_if_no_path][hwhandler=1 rdac] \_ round-robin 0 [prio=6][active] \_ 9:0:0:1 sdi 8:128 [active][ready] mpathd (36002219000918b3300002e6e497e6315) dm-3 DELL,MD Virtual Disk [size=5.5T][features=1 queue_if_no_path][hwhandler=1 rdac] \_ round-robin 0 [prio=6][active] \_ 9:0:0:2 sdj 8:144 [active][ready] mpathc (36002219000918b4c00005b6f497e6695) dm-2 DELL,MD Virtual Disk [size=5.5T][features=1 queue_if_no_path][hwhandler=1 rdac] \_ round-robin 0 [prio=6][active] \_ 9:0:0:3 sdk 8:160 [active][ready] mpathb (36002219000918b3300002e71497e6378) dm-1 DELL,MD Virtual Disk [size=5.5T][features=1 queue_if_no_path][hwhandler=1 rdac] \_ round-robin 0 [prio=6][active] \_ 9:0:0:4 sdl 8:176 [active][ready] mpatha (36002219000918b4c00005b72497e66f3) dm-0 DELL,MD Virtual Disk [size=5.5T][features=1 queue_if_no_path][hwhandler=1 rdac] \_ round-robin 0 [prio=6][active] \_ 9:0:0:5 sdm 8:192 [active][ready] mpathl (36002219000918b3300002e6b497e62a6) dm-11 DELL,MD Virtual Disk [size=5.5T][features=1 queue_if_no_path][hwhandler=1 rdac] \_ round-robin 0 [prio=6][active] \_ 9:0:0:0 sdb 8:16 [active][ready] mpathk (36002219000922cdf000004a4497e53f5) dm-10 DELL,MD Virtual Disk [size=5.5T][features=1 queue_if_no_path][hwhandler=1 rdac] \_ round-robin 0 [prio=6][active] \_ 9:0:1:10 sdc 8:32 [active][ready] mpathj (36002219000918b2e000004b2497e581c) dm-9 DELL,MD Virtual Disk [size=5.5T][features=1 queue_if_no_path][hwhandler=1 rdac] \_ round-robin 0 [prio=6][active] \_ 9:0:1:11 sdd 8:48 [active][ready] mpathi (36002219000922cdf000004a7497e54dd) dm-8 DELL,MD Virtual Disk [size=5.5T][features=1 queue_if_no_path][hwhandler=1 rdac] \_ round-robin 0 [prio=6][active] \_ 9:0:1:12 sde 8:64 [active][ready] mpathh (36002219000918b2e000004b5497e587e) dm-7 DELL,MD Virtual Disk [size=5.5T][features=1 queue_if_no_path][hwhandler=1 rdac] \_ round-robin 0 [prio=6][active] \_ 9:0:1:13 sdf 8:80 [active][ready] mpathg (36002219000922cdf000004aa497e5532) dm-6 DELL,MD Virtual Disk [size=5.5T][features=1 queue_if_no_path][hwhandler=1 rdac] \_ round-robin 0 [prio=6][active] \_ 9:0:1:14 sdg 8:96 [active][ready] mpathf (36002219000918b2e000004b8497e58dc) dm-5 DELL,MD Virtual Disk [size=5.5T][features=1 queue_if_no_path][hwhandler=1 rdac] \_ round-robin 0 [prio=6][active] \_ 9:0:1:15 sdh 8:112 [active][ready] Thank you Christian --001636c5b4dd2eeb93046230b3df Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, Feb 5, 2009 at 6:37 PM, Moger, B= abu <Babu.Moger@= lsi.com> wrote:

Like Bryn said, you cannot have both MPP and device mapper together. MPP wi= ll be the first one to load. So it will claim all the devices.

I have modified your multipath.conf file. Please try this one below.

devices {
 device {
               vendor    = ;              "DELL"
               product   &nbs= p;             "MD3000i"
            &nbs= p;  product_blacklist       "Universal Xport"=
               features   &nb= sp;            "1 queue_if_no_path"=
               path_grouping_polic= y    group_by_prio
                   = ;prio_callout            "/sbin/mpath_pr= io_rdac /dev/%n"
                   getui= d_callout          "/sbin/scsi_id -g -u -s /b= lock/%n"
              &nb= sp;hardware_handler        "1 rdac"
               path_checker  =          rdac
               prio     =                "rdac"
               failback   &nb= sp;            immediate
       }
}

Hi

Thank you for the information.

I c= hanged my multipath.conf to the following:

cat /etc/multipath.confdefaults {
        udev_dir &n= bsp;            = ;  /dev
        user_friendly_na= mes     yes
}
blacklist {
        devnode &quo= t;^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
   &nbs= p;    devnode "^hd[a-z]"
   &nbs= p;    devnode "^sda"
    &n= bsp;   devnode "^sda[0-9]"
}


devices {
 device {
       &n= bsp;       vendor    &nbs= p;             = "DELL"
         &= nbsp;     product      &n= bsp;          "MD Virtual= Disk"
          =      product_blacklist     &nb= sp; "Universal Xport"
            &nb= sp;  features         &nb= sp;      "1 queue_if_no_path"
 &= nbsp;           &nbs= p; path_grouping_policy    group_by_prio
  &nbs= p;            prio_c= allout            &q= uot;/sbin/mpath_prio_rdac /dev/%n"
     &n= bsp;         getuid_callout &n= bsp;        "/sbin/scsi_id -g -u -s= /block/%n"
            &nb= sp;  hardware_handler        "= 1 rdac"
          = ;     path_checker      &= nbsp;     rdac
      &= nbsp;        prio    = ;            &n= bsp;   "rdac"
      &n= bsp;        failback   &n= bsp;            imme= diate
       }
}


then did:
# multipath -F
# service multipathd restart
Now I get:

# multipath -ll
mpathe (36002219000918b4c00005b6c= 497e6632) dm-4 DELL,MD Virtual Disk
[size=3D5.5T][features=3D1 queue_if_= no_path][hwhandler=3D1 rdac]
\_ round-robin 0 [prio=3D6][active]
 \_ 9:0:0:1  sdi 8:128 [ac= tive][ready]
mpathd (36002219000918b3300002e6e497e6315) dm-3 DELL,MD Vir= tual Disk
[size=3D5.5T][features=3D1 queue_if_no_path][hwhandler=3D1 rda= c]
\_ round-robin 0 [prio=3D6][active]
 \_ 9:0:0:2  sdj 8:144 [active][ready]
mpathc (36002219000918b= 4c00005b6f497e6695) dm-2 DELL,MD Virtual Disk
[size=3D5.5T][features=3D1= queue_if_no_path][hwhandler=3D1 rdac]
\_ round-robin 0 [prio=3D6][activ= e]
 \_ 9:0:0:3  sdk 8:160 [active][ready]
mpathb (36002219000918b3300002e71497e6378) dm-1 DELL,MD Virtual Disk
[si= ze=3D5.5T][features=3D1 queue_if_no_path][hwhandler=3D1 rdac]
\_ round-r= obin 0 [prio=3D6][active]
 \_ 9:0:0:4  sdl 8:176 [active][read= y]
mpatha (36002219000918b4c00005b72497e66f3) dm-0 DELL,MD Virtual Disk<= br> [size=3D5.5T][features=3D1 queue_if_no_path][hwhandler=3D1 rdac]
\_ roun= d-robin 0 [prio=3D6][active]
 \_ 9:0:0:5  sdm 8:192 [active][r= eady]
mpathl (36002219000918b3300002e6b497e62a6) dm-11 DELL,MD Virtual D= isk
[size=3D5.5T][features=3D1 queue_if_no_path][hwhandler=3D1 rdac]
\_ round-robin 0 [prio=3D6][active]
 \_ 9:0:0:0  sdb 8:16 = ; [active][ready]
mpathk (36002219000922cdf000004a4497e53f5) dm-10 DELL,= MD Virtual Disk
[size=3D5.5T][features=3D1 queue_if_no_path][hwhandler= =3D1 rdac]
\_ round-robin 0 [prio=3D6][active]
 \_ 9:0:1:10 sdc 8:32  [active][ready]
mpathj (36002219000918b= 2e000004b2497e581c) dm-9 DELL,MD Virtual Disk
[size=3D5.5T][features=3D1= queue_if_no_path][hwhandler=3D1 rdac]
\_ round-robin 0 [prio=3D6][activ= e]
 \_ 9:0:1:11 sdd 8:48  [active][ready]
mpathi (36002219000922cdf000004a7497e54dd) dm-8 DELL,MD Virtual Disk
[si= ze=3D5.5T][features=3D1 queue_if_no_path][hwhandler=3D1 rdac]
\_ round-r= obin 0 [prio=3D6][active]
 \_ 9:0:1:12 sde 8:64  [active][read= y]
mpathh (36002219000918b2e000004b5497e587e) dm-7 DELL,MD Virtual Disk<= br> [size=3D5.5T][features=3D1 queue_if_no_path][hwhandler=3D1 rdac]
\_ roun= d-robin 0 [prio=3D6][active]
 \_ 9:0:1:13 sdf 8:80  [active][r= eady]
mpathg (36002219000922cdf000004aa497e5532) dm-6 DELL,MD Virtual Di= sk
[size=3D5.5T][features=3D1 queue_if_no_path][hwhandler=3D1 rdac]
\_ round-robin 0 [prio=3D6][active]
 \_ 9:0:1:14 sdg 8:96  [ac= tive][ready]
mpathf (36002219000918b2e000004b8497e58dc) dm-5 DELL,MD Vir= tual Disk
[size=3D5.5T][features=3D1 queue_if_no_path][hwhandler=3D1 rda= c]
\_ round-robin 0 [prio=3D6][active]
 \_ 9:0:1:15 sdh 8:112 [active][ready]


Thank you
Christi= an

--001636c5b4dd2eeb93046230b3df-- --===============1829778672== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1829778672==--