Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2013 21:46:18 -0700
From:      "Reed A. Cartwright" <cartwright@asu.edu>
To:        freebsd-fs@freebsd.org
Subject:   Re: ZFS and Glabel
Message-ID:  <CALOkxuxT9Oko1jm40GzYZbcTNu4epNgh8BoVhc-cH2UKNNbSvw@mail.gmail.com>
In-Reply-To: <CALOkxuxb0HBMXOwP6Z4JjvBk%2BbtnriCeCdhcKfmP=FyNEaseTA@mail.gmail.com>
References:  <CALOkxuzH81UFuVZifJNxyuo6%2Bhu9mCPB1TC91dn5fkjVLFqTKw@mail.gmail.com> <CALOkxuxb0HBMXOwP6Z4JjvBk%2BbtnriCeCdhcKfmP=FyNEaseTA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm looking at my dmesg.boot to figure out what settings I need to
wire down my HDDs.  I read the cam(4) documentation but I'm not sure I
know what I'm doing.  Any advice would be helpful.

Let's assume that I want to wire everything down to their current
positions, what should I put in loader.conf?  I'll paste below some of
my hardware configuration and lines from dmesg.boot that I think I
need to look at.

I have 4 LSI cards in the system: mps0, mps1, mps2, mps3.

mps0: <LSI SAS2008> port 0xd000-0xd0ff mem
0xdff3c000-0xdff3ffff,0xdff40000-0xdff7ffff irq 24 at device 0.0 on
pci5
mps1: <LSI SAS2008> port 0xc000-0xc0ff mem
0xdfe3c000-0xdfe3ffff,0xdfe40000-0xdfe7ffff irq 44 at device 0.0 on
pci4
mps2: <LSI SAS2008> port 0xb000-0xb0ff mem
0xdfd3c000-0xdfd3ffff,0xdfd40000-0xdfd7ffff irq 32 at device 0.0 on
pci3
mps3: <LSI SAS2008> port 0xe000-0xe0ff mem
0xdbf3c000-0xdbf3ffff,0xdbf40000-0xdbf7ffff irq 56 at device 0.0 on
pci65

I have drives attached to two of those cards:

da0 at mps0 bus 0 scbus0 target 0 lun 0
da1 at mps0 bus 0 scbus0 target 1 lun 0
da2 at mps0 bus 0 scbus0 target 2 lun 0
da3 at mps0 bus 0 scbus0 target 3 lun 0
da4 at mps0 bus 0 scbus0 target 4 lun 0
da5 at mps0 bus 0 scbus0 target 5 lun 0
da6 at mps0 bus 0 scbus0 target 6 lun 0
da7 at mps0 bus 0 scbus0 target 7 lun 0
da8 at mps3 bus 0 scbus9 target 0 lun 0
da9 at mps3 bus 0 scbus9 target 1 lun 0
da10 at mps3 bus 0 scbus9 target 2 lun 0
da11 at mps3 bus 0 scbus9 target 3 lun 0
da12 at mps3 bus 0 scbus9 target 4 lun 0

# camcontrol devlist -v
scbus0 on mps0 bus 0:
<ATA Hitachi HUA72202 A3EA>        at scbus0 target 0 lun 0 (pass8,da7)
<ATA Hitachi HUA72202 A3EA>        at scbus0 target 1 lun 0 (pass9,da8)
<ATA Hitachi HUA72202 A3EA>        at scbus0 target 2 lun 0 (pass6,da5)
<ATA Hitachi HUA72202 A3EA>        at scbus0 target 3 lun 0 (pass7,da6)
<ATA Hitachi HUA72202 A3EA>        at scbus0 target 4 lun 0 (pass13,da12)
<ATA Hitachi HUA72202 A3EA>        at scbus0 target 5 lun 0 (pass12,da11)
<ATA Hitachi HUA72202 A3EA>        at scbus0 target 6 lun 0 (pass11,da10)
<ATA Hitachi HUA72202 A3EA>        at scbus0 target 7 lun 0 (pass10,da9)
scbus1 on mps1 bus 0:
scbus2 on mps2 bus 0:
scbus3 on ahcich0 bus 0:
<>                                 at scbus3 target -1 lun -1 ()
scbus4 on ahcich1 bus 0:
<>                                 at scbus4 target -1 lun -1 ()
scbus5 on ahcich2 bus 0:
<>                                 at scbus5 target -1 lun -1 ()
scbus6 on ahcich3 bus 0:
<>                                 at scbus6 target -1 lun -1 ()
scbus7 on ata0 bus 0:
<>                                 at scbus7 target -1 lun -1 ()
scbus8 on ata1 bus 0:
<>                                 at scbus8 target -1 lun -1 ()
scbus9 on mps3 bus 0:
<ATA WDC WD2503ABYX-0 1S02>        at scbus9 target 0 lun 0 (da0,pass0)
<ATA WDC WD2503ABYX-0 1S02>        at scbus9 target 1 lun 0 (da1,pass1)
<ATA WDC WD1003FBYX-0 1V02>        at scbus9 target 2 lun 0 (da2,pass2)
<ATA D2CSTK251M11-048 2.25>        at scbus9 target 3 lun 0 (da3,pass3)
<ATA INTEL SSDSA2CW30 0362>        at scbus9 target 4 lun 0 (da4,pass4)
scbus10 on umass-sim0 bus 0:
<KVM vmDisk-CD 0.01>               at scbus10 target 0 lun 0 (cd0,pass5)
scbus-1 on xpt0 bus 0:
<>                                 at scbus-1 target -1 lun -1 (xpt0)


# zpool status
  pool: storage
 state: ONLINE
 scan: scrub repaired 0 in 18h56m with 0 errors on Mon May 13 22:00:51 2013
config:

        NAME        STATE     READ WRITE CKSUM
        storage     ONLINE       0     0     0
          raidz2-0  ONLINE       0     0     0
            da6     ONLINE       0     0     0
            da5     ONLINE       0     0     0
            da8     ONLINE       0     0     0
            da7     ONLINE       0     0     0
            da9     ONLINE       0     0     0
            da10    ONLINE       0     0     0
            da11    ONLINE       0     0     0
            da12    ONLINE       0     0     0
        cache
          da3       ONLINE       0     0     0

errors: No known data errors

  pool: zroot
 state: ONLINE
 scan: scrub repaired 0 in 0h29m with 0 errors on Mon May 13 03:34:18 2013
config:

        NAME                                            STATE     READ
WRITE CKSUM
        zroot                                           ONLINE       0
    0     0
          mirror-0                                      ONLINE       0
    0     0
            gptid/8e7b4f79-7367-11e1-8722-00259058939a  ONLINE       0
    0     0
            gptid/910120c5-7367-11e1-8722-00259058939a  ONLINE       0
    0     0

errors: No known data errors


--
Reed A. Cartwright, PhD
Assistant Professor of Genomics, Evolution, and Bioinformatics
School of Life Sciences
Center for Evolutionary Medicine and Informatics
The Biodesign Institute
Arizona State University
-
Address: The Biodesign Institute, PO Box 875301, Tempe, AZ 85287-5301 USA
Packages: The Biodesign Institute, 1001 S. McAllister Ave, Tempe, AZ
85287-5301 USA
Office: Biodesign A-224A, 1-480-965-9949



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALOkxuxT9Oko1jm40GzYZbcTNu4epNgh8BoVhc-cH2UKNNbSvw>