From nobody Fri Jun 3 22:05:23 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 416701BE6DC5 for ; Fri, 3 Jun 2022 22:05:26 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LFH4j3Lfrz520Y for ; Fri, 3 Jun 2022 22:05:25 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id x8mEnwRjLwtwGxFPwn7lIc; Fri, 03 Jun 2022 22:05:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1654293916; bh=JMElA0Mes4SkAaOJMbxrCWmczHHlAkGlD0PAL5MxJSA=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=OCGbO5WF7EEh+KFW9NcPTnwFBuTnm28SreBSTA7N+S1KFYop5Js43XdbPsi9MtijG K6r9id+bpRyoah2negVRDuqiGBuiJz+vWw0yKUE9I6fgev1kM0z4jqIc/8L0nRNIi0 r6rRu8G/FLgmv1E9EW6Vo9IQf+0Gor1BcpQkMJJuTQ/+2r/lgFp1FNffbCPiwY4H5n ZzSsArK8NHzOipCSehwLrxQmfMk3nHNqJgtajnBB22MLE4Gz2BcE8Z+bLnGOs1/uZB Fw3+n7821xzC6aAX99AJ95QrWOo/XpfFOaANzS6mZavQSG+HjzlLw9vlMeAhlA+6LS vDrvicHgSixeA== Received: from cds220.dcs.int.inet ([64.59.134.6]) by cmsmtp with ESMTP id xFQ4n22wzE4bixFQ4n6GJk; Fri, 03 Jun 2022 22:05:24 +0000 X-Authority-Analysis: v=2.4 cv=YdeuWidf c=1 sm=1 tr=0 ts=629a85a4 a=9zdlX7M534QhL7mOrorEvQ==:117 a=FKkrIqjQGGEA:10 a=on0NmgUIp3IA:10 a=IkcTkHD0fZMA:10 a=ZubcGFkXAAAA:8 a=6I5d2MoRAAAA:8 a=cH6R9-kdAAAA:8 a=Q-fNiiVtAAAA:8 a=5mcg790sAAAA:8 a=jU4qhlNgAAAA:8 a=RA_EDDju4h84W6BsdmQA:9 a=QEXdDO2ut3YA:10 a=kUx6feENxpTNjkNjdsbW:22 a=IjZwj45LgO3ly-622nXo:22 a=Fp8MccfUoT0GBdDC_Lng:22 a=uQeDYW1NI25gHNlrW_eK:22 Date: Fri, 3 Jun 2022 16:05:23 -0600 (MDT) From: Dale Scott To: David Christensen Cc: questions Message-ID: <1282680065.59022622.1654293923886.JavaMail.zimbra@shaw.ca> In-Reply-To: <8dcf342c-74f6-242d-338b-1c8cd2dee54f@holgerdanske.com> References: <1706301853.51806224.1654176891423.JavaMail.zimbra@shaw.ca> <8dcf342c-74f6-242d-338b-1c8cd2dee54f@holgerdanske.com> Subject: Re: Effect of using SATA 2.x and 3.x in zfs mirrored config List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [162.223.103.50, 162.223.103.50] X-Mailer: Zimbra 8.8.15_GA_4257 (ZimbraWebClient - GC102 (Win)/8.8.15_GA_4257) Thread-Topic: Effect of using SATA 2.x and 3.x in zfs mirrored config Thread-Index: h0OBZTykZEu9mGvHPce6ugOQ7zdv3w== X-CMAE-Envelope: MS4xfLqczn7kmzy1KJ7YPrDOgfWN5Qoupu5qoyO6LxDu2L6Z/Mep9Em6L2gPumN6Ga67D04fv4i8dJ+tvVKJPu+pWRySz8TxH5bRjzbcuI+MGiFRNt1+KaL4 nwiAuDQ9D0/ks/CgTpObqxR+PT2lDVBoDzMGKZT7rBhNrsLrBKBlSLodWK+VNd9HQqfiSsc0svqypOeWwl3juXmdEH6QzS0lZYPVVCKnRjtNXycz4X3LPTjJ X-Rspamd-Queue-Id: 4LFH4j3Lfrz520Y X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=shaw.ca header.s=s20180605 header.b=OCGbO5WF; dmarc=pass (policy=none) header.from=shaw.ca; spf=pass (mx1.freebsd.org: domain of dalescott@shaw.ca designates 3.97.99.32 as permitted sender) smtp.mailfrom=dalescott@shaw.ca X-Spamd-Result: default: False [-4.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[shaw.ca:s=s20180605]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:3.97.99.32/31]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[shaw.ca:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[shaw.ca,none]; RCVD_IN_DNSWL_MED(-0.20)[3.97.99.32:from]; MLMMJ_DEST(0.00)[questions]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[shaw.ca:dkim] X-ThisMailContainsUnwantedMimeParts: N ----- Original Message ----- > From: "David Christensen" > To: "questions" > Sent: Thursday, June 2, 2022 2:14:52 PM > Subject: Re: Effect of using SATA 2.x and 3.x in zfs mirrored config > On 6/2/22 06:34, Dale Scott wrote: >> Hi all, I installed FreeBSD "root-on-zfs" using the installer on two new WD Blue >> 1TB SSDs (mirrored). >> >> Looking in dmesg, I see one of the drives is using SATA 3 (600MB/s transfer), >> and the other is using SATA 2 (300MB/s transfer). Will mixing SATA 2 and SATA 3 >> drives cause any technical issues? Is there any reason why I should use SATA 2 >> for both drives? >> > I do not know if the SATA 3 Gbps vs. 6 Gbps mismatch will break ZFS. > > If the computer boots and runs, I would hammer it with filesystem > benchmarks. dbench(1) comes to mind. > > It appears that computer has PCIe 1.0 (2.5 Gbps per channel): > > https://support.hp.com/us-en/document/c02779499 > > Perhaps a PCIe x4 to SATA 6 Gbps HBA that is backwards compatible with > PCIe 1.0 could run a single SATA 6 Gbps SSD at full speed (?). You > could ask around with various manufacturers' technical support, or just > buy a card and find out: > > https://docs.broadcom.com/doc/12353332 > > David Thanks David for PCIe HBA suggestion. I like the idea of running benchmarks, but I'm lery of using up all the drives writes just to confirm all is ok (and the server has been in use for about 5 months now without issue albeit under relatively light disk load). --- Dale Scott www.dalescott.net https://ca.linkedin.com/in/dalescott