Date: Wed, 23 Sep 2015 10:06:02 -0700 From: Freddie Cash <fjwcash@gmail.com> To: Tim Gustafson <tjg@ucsc.edu> Cc: Michael Fuckner <michael@fuckner.net>, FreeBSD Filesystems <freebsd-fs@freebsd.org> Subject: Re: Switching from MFI to MRSAS Message-ID: <CAOjFWZ5XHkPbZn2VYznr_2AOS_f91Reano0cJ8zmsYT7NpCk_A@mail.gmail.com> In-Reply-To: <CAPyBAS5TyBYjOp6wRSkpOy35m%2BcQVLn3MNFS3=y2wWYtpjobQw@mail.gmail.com> References: <CAPyBAS4-oRjrybxu81nPO1Xb0WPdYzJRoEZ3t8zjNUrxFsiZpw@mail.gmail.com> <56023C15.7080007@fuckner.net> <CAPyBAS6p_=Ld6yiis00L3GxCFgq7JwUXkvg=mzni3ZHHEC1Z3Q@mail.gmail.com> <5602D9E8.2090903@fuckner.net> <CAPyBAS5TyBYjOp6wRSkpOy35m%2BcQVLn3MNFS3=y2wWYtpjobQw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 23, 2015 at 9:59 AM, Tim Gustafson <tjg@ucsc.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ5XHkPbZn2VYznr_2AOS_f91Reano0cJ8zmsYT7NpCk_A>