Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2010 03:17:53 -0400
From:      Corey Smith <corsmith@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   gmultipath woes
Message-ID:  <AANLkTin-u62Uq9nWOC9hTBRkNw=OHMntT7_HM=1uY060@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Has anyone tried gmultipath under 8.1-RELEASE/amd64 yet?  This is my
first attempt at multipathing so it is possible I'm doing something
wrong but anyways:

# uname -a
FreeBSD host 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49
UTC 2010     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
amd64

# dmesg | egrep '^(isp|da1|da2)'
isp0: <Qlogic ISP 2432 PCI FC-AL Adapter> port 0xd800-0xd8ff mem
0xdf4f8000-0xdf4fbfff irq 38 at device 0.0 on pci6
isp1: <Qlogic ISP 2432 PCI FC-AL Adapter> port 0xdc00-0xdcff mem
0xdf4fc000-0xdf4fffff irq 45 at device 0.1 on pci6
da1 at isp0 bus 0 scbus1 target 0 lun 0
da1: <HITACHI DF600F 0000> Fixed Direct Access SCSI-4 device
da1: 400.000MB/s transfers
da1: Command Queueing enabled
da1: 2097152MB (4294967296 512 byte sectors: 255H 63S/T 267349C)
da2 at isp1 bus 0 scbus2 target 0 lun 0
da2: <HITACHI DF600F 0000> Fixed Direct Access SCSI-4 device
da2: 400.000MB/s transfers
da2: Command Queueing enabled
da2: 2097152MB (4294967296 512 byte sectors: 255H 63S/T 267349C)

# camcontrol devlist
<Dell VIRTUAL DISK 1028>           at scbus0 target 0 lun 0 (pass0,da0)
<DP BACKPLANE 1.07>                at scbus0 target 8 lun 0 (pass1,ses0)
<HITACHI DF600F 0000>              at scbus1 target 0 lun 0 (pass2,da1)
<HITACHI DF600F 0000>              at scbus2 target 0 lun 0 (pass3,da2)

# camcontrol inquiry da1 -S
870405180007
# camcontrol inquiry da2 -S
870405180007

# gmultipath label -v FRED /dev/da1 /dev/da2
gmultipath: Unknown verb add

# gmultipath status
          Name  Status  Components
multipath/FRED     N/A  da1

# gmultipath list
Geom name: FRED
Providers:
1. Name: multipath/FRED
   Mediasize: 2199023255040 (2.0T)
   Sectorsize: 512
   Mode: r0w0e0
Consumers:
1. Name: da1
   Mediasize: 2199023255552 (2.0T)
   Sectorsize: 512
   Mode: r0w0e0

------ EOT ------

I'm wondering what is going on with the "Unknown verb add" and why is
it only listing da1 in the components?  Does the disk need to be in a
particular state (unpartitioned, glabel, etc...) or does it not
matter?

-Corey Smith



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin-u62Uq9nWOC9hTBRkNw=OHMntT7_HM=1uY060>