From owner-freebsd-fs@freebsd.org Wed Sep 23 22:27:04 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91176A06DCF for ; Wed, 23 Sep 2015 22:27:04 +0000 (UTC) (envelope-from tjg@ucsc.edu) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 258F219C6 for ; Wed, 23 Sep 2015 22:27:04 +0000 (UTC) (envelope-from tjg@ucsc.edu) Received: by wicfx3 with SMTP id fx3so89249609wic.0 for ; Wed, 23 Sep 2015 15:27:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsc.edu; s=ucsc-google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9E058vuH8N6Eswj3YDgHWpru2qm1TUpjw3Pa1QwVcl8=; b=VWRVvVmdcykZEKvxStQJ0JAdNPEbU8gyS7jfemCT5HGBpC2YbbOiz1C1TOBdzQUDBq nFWgs7Atg9TXAEdZHSfiC1zxYqdfSYRuGH3lEebS+6Ok4SKmGQSd5R56U4ZFAaZAi5N7 yQdhrvLK9YKZpQ3n2NtGlcKaLQLvIqFHJC25U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=9E058vuH8N6Eswj3YDgHWpru2qm1TUpjw3Pa1QwVcl8=; b=MBnVJiZLq1ZLg097+9ju9x/XXNfVk3Z32IQfExvTzEoLDR/CZlx2n5fkpCb5936olW n0cN3gXVwOnf+VDRwhx/P4rhtT41HNWslfSTvcUS2q0zYMoPnkBCWaWbtSVkiPrxocNb JCUR5diGvj+/MwANxGLfSMXNmLRTPRIOALlD8+IetyeOOi3J5/M1SEb6ufGetduLUnlI 76TpfnUoHMjorUtQd+LFhU4Nyk5u1Mm94pOfZOrF5wv2ro1ZCrkSPhz6dg3QfU2IcOyw phoeGNF59PORRw70EA6ToJ5xD2o39XTCbWiU45XVB2+TlnR8iwhLpXfHB6upmSk+zWZw Rp1A== X-Gm-Message-State: ALoCoQk/ChGVEoQq1JIcxvc/eK904BNyHk8SZ1GmtE7zugt298abvfys77SRSSQGso2goO6RY6v3 MIME-Version: 1.0 X-Received: by 10.180.8.106 with SMTP id q10mr5917425wia.92.1443047222693; Wed, 23 Sep 2015 15:27:02 -0700 (PDT) Received: by 10.194.92.209 with HTTP; Wed, 23 Sep 2015 15:27:02 -0700 (PDT) In-Reply-To: References: <56023C15.7080007@fuckner.net> <5602D9E8.2090903@fuckner.net> Date: Wed, 23 Sep 2015 15:27:02 -0700 Message-ID: Subject: Re: Switching from MFI to MRSAS From: Tim Gustafson To: Ryan Stone Cc: Michael Fuckner , "freebsd-fs@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 22:27:04 -0000 > The mrsas driver is interesting. Your RAID volumes show up as da0, da1, > etc, but they really shouldn't. I'm doubtful that TRIM will work here > because the drives are not truly directly attached, even though the mrsas > driver is misleading the kernel into thinking that they are. > > You can always give a try, though. Just to be clear: we have the PERC controller configured in "pass-through" mode, which I understand to mean "HBA" mode. We are not using any of the RAID features of the PERC card. Instead, the server is configured as ZFS-on-root in a RAID 0+1 configuration: pool: tank state: ONLINE scan: scrub repaired 14.5K in 0h13m with 0 errors on Thu Sep 17 20:47:17 2015 config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 mfisyspd0p3 ONLINE 0 0 0 mfisyspd1p3 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 mfisyspd3p3 ONLINE 0 0 0 mfisyspd2p3 ONLINE 0 0 0 where mfisyspd0, mfisyspd1, mfisyspd2 and mfisyspd3 are Samsung SSDs, not RAID volumes. So in this case, I believe it would be "correct" for the RAID controller to report the devices as "da0", "da1" and so on. -- Tim Gustafson tjg@ucsc.edu 831-459-5354 Baskin Engineering, Room 313A