From owner-freebsd-questions@freebsd.org Tue May 23 18:03:13 2017 Return-Path: Delivered-To: freebsd-questions@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 952C7D7B3D6 for ; Tue, 23 May 2017 18:03:13 +0000 (UTC) (envelope-from mtiger090@gmail.com) Received: from mail-yw0-x242.google.com (mail-yw0-x242.google.com [IPv6:2607:f8b0:4002:c05::242]) (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 4EBAE1FA4 for ; Tue, 23 May 2017 18:03:13 +0000 (UTC) (envelope-from mtiger090@gmail.com) Received: by mail-yw0-x242.google.com with SMTP id y64so9951539ywe.0 for ; Tue, 23 May 2017 11:03:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=+sirlS0IGdwkw+55Jf7Ctq+Muq/34Cy2kPUiehue9z8=; b=EGUuK4O5A+ImzrRZu6lj2ZMjjJh1lRBd25rSJZITCipQsXciXMuw3BznNwGsiilxUO Uq0DpC4JoyyBEJsHhusBmip5/bzH0NXz39YZ/PpVHiFbbqM1vbaYkXS+r43qoS/WbeHa 3KPlgRgSCn8FaeXqL6fVzPZX8kXgo4WoifBVZKES8wspQmoew4dhIXs+f2+qQmvlptXU YrJD4XbqA8Z1NN/yw0J68uyWvPUK2vHBorHE+0HNuEQb/0uA8dcdorICg95rKy5vj0F/ z9cFzJSufhgJDZiTuXuQkxOmVhuhHs5f12G9ATrhLR3FjM639qwWRJvNoEb+3iBUkGoD IqEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=+sirlS0IGdwkw+55Jf7Ctq+Muq/34Cy2kPUiehue9z8=; b=qx4lV7yZ3nVccP/H1pfHZ8AXZQuk+5zhdcUufRi8bdMcagIwxTdRJ3//SKVB3wgoDr 111aJKR5JAfqWWI/ILbtLahOZ8Qe7qhS+UiNRsqpox7f/NOmiRR+rLtEEqC06BeQux3v jzHvx2pg0Hgq2lhGuW0v4Fy+CsMY03Cc06gtICNfDuvOn2YZlCDl4g5PYZlH9eg8Un4P Trz7NZOxzrTvslS0ixJMOlGhEQjDuBdH422Xx6cFnAmljNMlZXP3xy9eHvBE2FA3cv8Z SUMhcttukKiccdzx5uwuacH7Ivsd+ckSfmb5z1I42a5RMHbcQD09YUaEA74V4oSn6EqN tLOw== X-Gm-Message-State: AODbwcBvu2r0CY6E9rKlZ0bFfkNMU490ZggjueevhJR9TCFNwmg5wgmq tTBG7xTv/OGffVo4p54= X-Received: by 10.129.44.196 with SMTP id s187mr24210048yws.259.1495562591892; Tue, 23 May 2017 11:03:11 -0700 (PDT) Received: from [192.168.1.249] (cpe-69-132-133-220.carolina.res.rr.com. [69.132.133.220]) by smtp.gmail.com with ESMTPSA id x203sm644031ywx.76.2017.05.23.11.03.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 May 2017 11:03:11 -0700 (PDT) Subject: Re: ZFS root on single SSD? To: freebsd-questions@freebsd.org References: From: mtiger Message-ID: <9f2aef3b-5c7f-858a-2769-48cb150825a0@gmail.com> Date: Tue, 23 May 2017 14:03:08 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 May 2017 18:03:13 -0000 I have a similar situation. I have a nice ssd i am using through a usb port. I can't install this ssd internally because there are no free sata ports nor mounting slots. I would like to use ZFS on it, but I can't get it to boot using the ZFS options from the installer. I'm trying to use version 11 memstick image of the FreeBSD installer. Now if I leave the install media (on a usb flash drive) connected I can boot the drive setup as ZFS no problem. If i remove the install media and try to boot I get an error telling me it can't mount root. Power the system on and off and the problem is still the same. If I do the same installation and select UFS everything works fine every time no matter what usb devices I'm using or have connected. I've tried this on several machines but always with the same result. I've also had the same result using usb external hard drives. I've been through the handbook time and time again. I also get the same problem if I install TrueOS which is using 12-Current. As long as the install media is still connected it will boot the other drive setup for ZFS. If I disconnect the install flash drive it will not boot. Is there a manual installation process documented that would allow me to boot ZFS from a usb drive or am I missing something using the standard installer? Thanks in advance, Jim On 5/22/2017 2:26 AM, Aaron wrote: > Yea, pretty much this. Don't need the same level of availability. Worst > case, I'm a bit annoyed and rebuild the OS and restore the configs from > backup. Now I just need to figure out jails and bhyve for the services > since I haven't worked with either before There's a couple of bhyve > front ends I've been looking at, sorta on the fence for which one. Really I > just need to pick one and run with it. > > --Aaron > > On Thu, May 18, 2017 at 5:05 AM, krad wrote: > >> The big question is what availability do you need on this server? As its a >> home system I guess not as much as say an enterprise one. Therefore I would >> imagine all the benefits of manageability that come with zfs will out weigh >> the downside, even if running on a single volume. Boot environments are a >> really big thing to safe guard yourself during upgrade time. Although in >> theory you could do something with ufs its never going to be as good as >> with zfs. Also remember mirroring isnt backup, mirroring is about >> availability. Therefore live with a single drive, but backup the contents >> regularly. >> >> On 16 May 2017 at 06:45, Aaron wrote: >> >>> So, I've been running ZFS root mirror across 2 spinning disks, and I'm >>> upgrading my home server/nas and planning on running root on a spare SSD. >>> However, I'm unsure if it'd be better to run UFS as a single drive root >>> instead of ZFS, although I do love all of the ZFS features (snapshots, >>> COW, >>> scrubbing, etc) and would still like to keep that for my root drive, even >>> if I'm not mirroring at all. I do notice that FreeBSD has TRIM support for >>> ZFS (see http://open-zfs.org/wiki/Features#TRIM_Support). >>> >>> So is there a good reason NOT to run ZFS root on a single drive SSD? >>> >>> --Aaron >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe >>> @freebsd.org" >>> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" On 5/22/2017 4:55 PM, krad wrote: > stay with jails as much as you can, as they will be more stable and far > more lightwieght > > On 22 May 2017 at 07:26, Aaron wrote: > >> Yea, pretty much this. Don't need the same level of availability. Worst >> case, I'm a bit annoyed and rebuild the OS and restore the configs from >> backup. Now I just need to figure out jails and bhyve for the services >> since I haven't worked with either before :) There's a couple of bhyve >> front ends I've been looking at, sorta on the fence for which one. Really I >> just need to pick one and run with it. >> >> --Aaron >> >> On Thu, May 18, 2017 at 5:05 AM, krad wrote: >> >>> The big question is what availability do you need on this server? As its >> a >>> home system I guess not as much as say an enterprise one. Therefore I >> would >>> imagine all the benefits of manageability that come with zfs will out >> weigh >>> the downside, even if running on a single volume. Boot environments are a >>> really big thing to safe guard yourself during upgrade time. Although in >>> theory you could do something with ufs its never going to be as good as >>> with zfs. Also remember mirroring isnt backup, mirroring is about >>> availability. Therefore live with a single drive, but backup the contents >>> regularly. >>> >>> On 16 May 2017 at 06:45, Aaron wrote: >>> >>>> So, I've been running ZFS root mirror across 2 spinning disks, and I'm >>>> upgrading my home server/nas and planning on running root on a spare >> SSD. >>>> However, I'm unsure if it'd be better to run UFS as a single drive root >>>> instead of ZFS, although I do love all of the ZFS features (snapshots, >>>> COW, >>>> scrubbing, etc) and would still like to keep that for my root drive, >> even >>>> if I'm not mirroring at all. I do notice that FreeBSD has TRIM support >> for >>>> ZFS (see http://open-zfs.org/wiki/Features#TRIM_Support). >>>> >>>> So is there a good reason NOT to run ZFS root on a single drive SSD? >>>> >>>> --Aaron >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe >>>> @freebsd.org" >>>> >>> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions- >> unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"