From owner-freebsd-questions@freebsd.org Fri May 26 12:14:27 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 23913D83F70 for ; Fri, 26 May 2017 12:14:27 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-qt0-x231.google.com (mail-qt0-x231.google.com [IPv6:2607:f8b0:400d:c0d::231]) (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 D3D441B0E for ; Fri, 26 May 2017 12:14:26 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-qt0-x231.google.com with SMTP id c13so6461882qtc.1 for ; Fri, 26 May 2017 05:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QXO5+3NPK8hv6VCGYK21QLhcD5jGy2O+klCwmxBa5Ak=; b=VCZA7epMEH5DdveTsqEE1O986nKEhmFmOoA2qIq7EfpsOCeDYclj9OiQaVp9OhvV7V 1WJ8WJYoOShPjpIKN9H76RGIc6nWwRyRXoBZ6mN3wHAYZOc50++CS9sJq7WMdKC5tIDb da9etRPmuCAhMjbc4Uf//EsVKjbB8ECIQpWr+VP6auDgcr7C/+LE9yt9/Twuq39LnGB0 uIaTWsYmsMbDxK69MmtNeuYw+NG9AvX0lJ1ZMO8DitDj+w8znrVgDxjRvLq9w9LRYlTj EPY7jFgVVS8TIb28qp/sVkahAjZ7SL7mIfnJYKQUdUgbuV0y9DFXe6g/MZgGGJEwyOOY qenA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QXO5+3NPK8hv6VCGYK21QLhcD5jGy2O+klCwmxBa5Ak=; b=UTmy5fVAGFM8sItLgNIN5WUhWq16xTsBo83+J2yQQUWZWLdXCOT9Z4IrMnKypxqLLj zfnxDXjwDJVERdiXDaHzVCdFu5TlSfCH/4E+360owwElfdprz3MUYm+C0KV0llhQKTYm Kyaf/AX1irimrqHjYHM/CuIRZqlVZTbNjV8YXX0BGfAVldfKCBSlBzAb3AFSAwUhd4zC HllrUqEzpRJ6s4oXxECNA1mJKthx07AQhP/6MZqoNLy27ns7lYFIVshTvyTF6aKPrOda kb6CNDwzaGvt1vRiNrPd7qKpmnRqxKUJ8zlB62wKtkrp2bDaZgAcE72bmuboS+hPy78r e0LA== X-Gm-Message-State: AODbwcBzU0OUhhDQ4eedTmVqod+9xcXZVGJDq9rzCJCFPSIrfU1XATbi A6Y4hvrQ/T3F5KCTFxMAFn35EkJnA1y6 X-Received: by 10.200.47.201 with SMTP id m9mr2010593qta.187.1495800865899; Fri, 26 May 2017 05:14:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.135.167 with HTTP; Fri, 26 May 2017 05:05:50 -0700 (PDT) In-Reply-To: <9f2aef3b-5c7f-858a-2769-48cb150825a0@gmail.com> References: <9f2aef3b-5c7f-858a-2769-48cb150825a0@gmail.com> From: krad Date: Fri, 26 May 2017 13:05:50 +0100 Message-ID: Subject: Re: ZFS root on single SSD? To: mtiger Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Fri, 26 May 2017 12:14:27 -0000 I ran out of ports like you, but decided to go for a sas card instead of usb. You can get them fairly cheap on ebay, just make sure you get a 6gbit HBA one, not a raid variant. Then put the data drives on it and put the boot drive on the MB sata. This is a 3Gbit one and is cheap, and may be good enough for you needs. http://www.ebay.co.uk/itm/25R8071-IBM-LSI-HBA-SAS-Raid-Controller-PCIe-PCI-Express-/292075317522?hash=item44010ba912:g:PLMAAOSw2gxYrA8-&autorefresh=true the faster version. http://www.ebay.co.uk/itm/LSI-SAS9212-4i4e-SAS-HBA-CARD-SATA-SAS-1-EXT-4-INT-6Gbs-68Y7354-46C8935-H3-25326-/292123987576?hash=item4403f24e78:g:eg4AAOSw241YgEyy On 23 May 2017 at 19:03, mtiger wrote: > > 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" >> > > _______________________________________________ > 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" >