From owner-freebsd-fs@freebsd.org Wed Sep 23 17:06:03 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 D08C5A07822 for ; Wed, 23 Sep 2015 17:06:03 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) (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 95A8818EF for ; Wed, 23 Sep 2015 17:06:03 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by obbda8 with SMTP id da8so38595239obb.1 for ; Wed, 23 Sep 2015 10:06:02 -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=xBfsknFn4NZ1M6kLKZ2F5iYJaRekQkJdoLhLv6D4q/E=; b=pddfHSybDrbBHbgcrGwuBNQ5vhGnMO0DeODQEUFv4Mcwu8oI4/anx8tcsgLZsW/rPA ph8vbipqqhYCbc+RESxWKmvSBEU9r11Ru6opjJc2ZxF1H7r6AcDqHkTuKbOG7uVh5JeR gYaO7U7qz5eW9k0fEc8O5xAIoPBg6nCVimVwdtrR3LqeqvI3qRQ228QRFBHMqyKKo2pA opavx95RI6e2+/KZJVnpVzAvN7ng7VVsENGRlCq5KDiD0DEt4IgV8GubXzK0tDzF0uaD R+axJlSj3aCelGsHdUt9X4nhOrxQETgH5haKva3pBU5jn19XkUean4ue4LLM/B/UCNZu xZ2Q== MIME-Version: 1.0 X-Received: by 10.182.47.202 with SMTP id f10mr19354972obn.56.1443027962630; Wed, 23 Sep 2015 10:06:02 -0700 (PDT) Received: by 10.76.68.38 with HTTP; Wed, 23 Sep 2015 10:06:02 -0700 (PDT) In-Reply-To: References: <56023C15.7080007@fuckner.net> <5602D9E8.2090903@fuckner.net> Date: Wed, 23 Sep 2015 10:06:02 -0700 Message-ID: Subject: Re: Switching from MFI to MRSAS From: Freddie Cash To: Tim Gustafson Cc: Michael Fuckner , FreeBSD Filesystems Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 17:06:04 -0000 On Wed, Sep 23, 2015 at 9:59 AM, Tim Gustafson wrote: > > OK, haven't done this before, perhaps this works, but... you are > replacing a > > raid driver with another raid driver, so probably TRIM will not work > either. > > 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... =E2=80=8BOr, reboot the system, and drop to the loader prompt. Then manual= ly type in those loader.conf entries at the loader prompt. And continue the boot process. If it fails, then just reboot, and everything will come up normally. If it succeeds, then you can edit /boot/loader.conf to make the change permanent. You'll want to boot to single-user mode as well, as /etc/fstab will point to the wrong devices (unless you are using some kind of generic labels for the entries instead of the physical device node names). In single-user mode, you can update /etc/fstab and /boot/loader.conf as needed if the new driver works.=E2=80=8B --=20 Freddie Cash fjwcash@gmail.com