From owner-freebsd-fs@FreeBSD.ORG Sun Jun 9 04:46:20 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0EF2E478 for ; Sun, 9 Jun 2013 04:46:20 +0000 (UTC) (envelope-from rcartwri@asu.edu) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0F71045 for ; Sun, 9 Jun 2013 04:46:19 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id c11so574758wgh.1 for ; Sat, 08 Jun 2013 21:46:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=crxu/YAp6wm4o+Ec8vQytjho0IEdl5iVyOIoflllzRU=; b=l/EXFp0qriZlYFSiXogmkklJsfMrf3DKXMhr8E8K4ffJE8FZIGllA+iuQNtSo/4YGh 8gfmqjDA2GaAtjqMlcMJvTCKrufjwV6Vk6UPXDQmR5p6ImZNrwaMms2GLcBoZ9Tx3UQw AmGUiOHYvQcwaI0rJuk6uMebyoakv3CGyXk+8IIl9lE+X1wI6CBkreNcsSENEOBQ4EcU bUUvBLHzzLHZ+RXazXmUhk/1DNNSSoz4gk+wFCBoDPwoAXVvPLorTKnngOWf8vayA37m ODvRJ0ygVoWMDDl0PmLp5Cb4/Obs8s7h9kfSYF/jtFv7BMtAIIcpWbF5MeZTZk6D3/BD yDVg== MIME-Version: 1.0 X-Received: by 10.180.185.44 with SMTP id ez12mr2041578wic.7.1370753178216; Sat, 08 Jun 2013 21:46:18 -0700 (PDT) Received: by 10.180.76.114 with HTTP; Sat, 8 Jun 2013 21:46:18 -0700 (PDT) In-Reply-To: References: Date: Sat, 8 Jun 2013 21:46:18 -0700 Message-ID: Subject: Re: ZFS and Glabel From: "Reed A. Cartwright" To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnYp8BcflJUSX0m8B6NbC9U3wMOAwwPbVIE7Wp3165LWSROFEXHx2TGB169IOXi8K5pBoYr X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 04:46:20 -0000 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: port 0xd000-0xd0ff mem 0xdff3c000-0xdff3ffff,0xdff40000-0xdff7ffff irq 24 at device 0.0 on pci5 mps1: port 0xc000-0xc0ff mem 0xdfe3c000-0xdfe3ffff,0xdfe40000-0xdfe7ffff irq 44 at device 0.0 on pci4 mps2: port 0xb000-0xb0ff mem 0xdfd3c000-0xdfd3ffff,0xdfd40000-0xdfd7ffff irq 32 at device 0.0 on pci3 mps3: 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: at scbus0 target 0 lun 0 (pass8,da7) at scbus0 target 1 lun 0 (pass9,da8) at scbus0 target 2 lun 0 (pass6,da5) at scbus0 target 3 lun 0 (pass7,da6) at scbus0 target 4 lun 0 (pass13,da12) at scbus0 target 5 lun 0 (pass12,da11) at scbus0 target 6 lun 0 (pass11,da10) 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: at scbus9 target 0 lun 0 (da0,pass0) at scbus9 target 1 lun 0 (da1,pass1) at scbus9 target 2 lun 0 (da2,pass2) at scbus9 target 3 lun 0 (da3,pass3) at scbus9 target 4 lun 0 (da4,pass4) scbus10 on umass-sim0 bus 0: 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