From owner-freebsd-questions@freebsd.org Wed Jan 16 09:44:18 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 768EE14815B1 for ; Wed, 16 Jan 2019 09:44:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 52CCA94212 for ; Wed, 16 Jan 2019 09:44:17 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.193.226.69]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPA (Nemesis) id 1MQusJ-1gvRR30TG3-00NwdK; Wed, 16 Jan 2019 10:44:06 +0100 Date: Wed, 16 Jan 2019 10:44:04 +0100 From: Polytropon To: Paul Schmehl Cc: FreeBSD Questions Subject: Re: ZFS for raid Message-Id: <20190116104404.275b30d7.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:ttsRmvrWJ28rrae9D1glKxFYWUCsLTV1GlScrdCfz43x+jJ5NrJ OWeWNMS2vBZJxQt55gT4Plec+fVPhOSEABJGrIGqq7mRioAy2TBuLb/1PhOvD8m0hmClS8v GhO/hutMscO/TcNk7R5EJvZZMot3Gx+TzGsMfeTHwk25cMfNyynaMzLa+h5pOiIf+So0lXG kuJA/3znnm296BYA/PK/A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:RwTEclB8GY0=:PuiCsZ1AnyUpM7y1dFqq50 ZfJrFSUxefCqxUKV+pqyxxTeuvWOQ/l/yJbV5IwFx6XHctTP1z8J2iBtH5vX5nA7D1CuTzkjc 4vrbRdSKh64E+3/BFH6rB3rKRB4FkvFi0oGkRpCmPSI2JfnQdaAm9LBBctW9B2Y5TiK7Y+NiC g6vBu+UjURzMMzMzKSHZP4VTQKQaMBC2oXHHGq7WHOn1dqGX+pFc+VqXrDYX42cGki4TtKOGK QU2VNZ8//GuCiGDTk//YWIFDzIgm9uMS8IQdYqq7DhGF4svdbnWwOCCJiMgXgFelS0+ABNPuX JMU2mu+mZ8q+8KUpj8KS2FxDxSVVGZu4F0JCejPqcsBUk5R6P4dak6Dszh/IJ2QCknWGOCq+Z +QFNxcp2MryA7M2SENT6SeLKXg3UjcNz3GWA7NgjLeWEqyCK/zIPMn5lkyxOqBxa6SEMu2lyW ylVfYnTKvRu8sDVxHZ2h1JegdPzYMXQrEwFRYq0d4Qb+Gr6AVTz42lVzqUZ2US6ugomxPt5vY s9L57jVtMlnBa+GEaW0QMobTlu2g6s8cj3Dq1eMj/jUam7krwlu3MQ7o20OgtZgmnx3anoU+e GzxlU7tdu2t3kDXlEYiVF6bWYHLspz1z42LnGP+xXKui12wdr4Slm3tYssTV/uVn3TN6Vb4W5 5cAykB2Bwq+Md4zX+xvCvHNoQTbIwwEL5aN/rig0SCkFJrWJS4ayC0SqU8+NB8OmdHjwAj6nc Ca82TO65DE19fLrGFOMyfECLC0RMBJMzxuAXyZRtjtvC7c3FV7HFS0f2e2s= X-Rspamd-Queue-Id: 52CCA94212 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [5.33 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mx01.schlund.de,mx00.schlund.de]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[69.226.193.92.zen.spamhaus.org : 127.0.0.10]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.29)[0.294,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.993,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[133.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.66)[ip: (3.27), ipnet: 212.227.0.0/16(-0.63), asn: 8560(0.64), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2019 09:44:18 -0000 On Tue, 15 Jan 2019 15:48:33 -0600, Paul Schmehl wrote: > If you're going to setup drives with zfs for raid, do you need a hardware > controller? My impression is that you don't, but I want to know for sure > before I order a server. You don't need it, and it's commonly preferred to _not_ use one. Leave managing the drives to ZFS so it can impose its whole set of features on the drives. So if you have one in your system, don't use it. Set it to a mode where all drives are reported individually to the system, and _no_ kind of RAID management is performed by the controller. The less interference, the better it is. :-) > If there's no raid controller, can you setup raid using zfs during the OS > install? Yes, bsdinstall allows this. But you can also set up ZFS with shell commands. > If you boot from the cd/dvd, do you get the option to configure > raid using zfs? Yes, during bsdinstall or when exiting to the shell. Helpful information can be found in section "2.6.4. Root-on-ZFS Automatic Partitioning": https://www.freebsd.org/doc/handbook/bsdinstall-partitioning.html More detailed information about the convenient command line tools is also available: https://www.freebsd.org/doc/handbook/zfs.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...