From owner-freebsd-fs@freebsd.org Wed Sep 23 21:32: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 7C647A0712D for ; Wed, 23 Sep 2015 21:32:04 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (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 46D23199E for ; Wed, 23 Sep 2015 21:32:04 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by igbni9 with SMTP id ni9so36664228igb.0 for ; Wed, 23 Sep 2015 14:32:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LM1WQppPwAuBIGo508Rdd+xSV6pPb6cQmS6FxyMfxuc=; b=ZIWXlMvxZahgoSp2hwKt0Qn0wuuaPXwz1Z+O2X9ISltqA4/ARbJuNRpyNwuosb+h3e DS5D20aWlhik+8HE+6uLVCQBH/aiW4qcFUjgd0plnEeCGn+fnpwtXrsj4w2PvMFvdZD9 uL44pWl3C0q2kuFeHgRIAeKKgDMUIbRX7fVh+AH5g46aX4QzGOUh+Mq/j2SJiVnaInIF lBAsZK5TcM/Gtu9E+YsJ9vaNk9YY+slEWY2QxwFiTb5cIfhVFgGNNYd1XIXsM5HRTRMb TaJkjM3eLke92kCt9Jy4h+NxFpInCyZGAd6UEozPFqecR+Zst02rZ055PrShDsXxlAkn TBzA== MIME-Version: 1.0 X-Received: by 10.50.66.146 with SMTP id f18mr26146943igt.83.1443043923838; Wed, 23 Sep 2015 14:32:03 -0700 (PDT) Received: by 10.107.178.67 with HTTP; Wed, 23 Sep 2015 14:32:03 -0700 (PDT) In-Reply-To: References: <56023C15.7080007@fuckner.net> <5602D9E8.2090903@fuckner.net> Date: Wed, 23 Sep 2015 17:32:03 -0400 Message-ID: Subject: Re: Switching from MFI to MRSAS From: Ryan Stone To: Tim Gustafson Cc: Michael Fuckner , "freebsd-fs@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 21:32:04 -0000 On Wed, Sep 23, 2015 at 12:59 PM, Tim Gustafson wrote: > The mrsas driver man page says that it reports the disks as "da0", > "da1" and so on, and the man pages about TRIM support all say that it > works with "ada" and "da" drives. So, I was hoping that the change in > driver technology would enable the TRIM command to work. > > I suppose I could update device.hints and loader.conf as describe, > reboot, and if the system doesn't come back up, just boot off a thumb > drive and re-edit those files back to their defaults... > 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.