From owner-freebsd-current@freebsd.org Mon Feb 8 18:10:09 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 406B253B967 for ; Mon, 8 Feb 2021 18:10:09 +0000 (UTC) (envelope-from joe@via.net) Received: from smtp4.via.net (smtp4.via.net [209.81.0.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "via.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DZDZm3Jpcz4bPH; Mon, 8 Feb 2021 18:10:08 +0000 (UTC) (envelope-from joe@via.net) Received: from mail.via.net (mail.via.net [157.22.3.34]) by smtp4.via.net (8.15.2/8.14.1-VIANET) with ESMTPS id 118IA628018115 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 8 Feb 2021 10:10:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.3 at smtp4.via.net Received: from [209.81.2.65] ([209.81.2.65]) by mail.via.net (8.15.2/8.14.1-VIANET) with ESMTP id 118IA6cG009872; Mon, 8 Feb 2021 10:10:06 -0800 (PST) From: joe mcguckin Message-Id: <0ABC40B6-BB2E-43B3-B0B6-7BEA12D3F5F0@via.net> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: When is 'zpool offline' required? Date: Mon, 8 Feb 2021 10:09:55 -0800 In-Reply-To: Cc: freebsd-current@freebsd.org To: Kurt Jaeger References: X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (smtp4.via.net [209.81.0.254]); Mon, 08 Feb 2021 10:10:06 -0800 (PST) X-Rspamd-Queue-Id: 4DZDZm3Jpcz4bPH X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of joe@via.net designates 209.81.0.254 as permitted sender) smtp.mailfrom=joe@via.net X-Spamd-Result: default: False [-1.80 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[joe]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+MX]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.81.0.254:from]; MID_RHS_MATCH_FROM(0.00)[]; SPAMHAUS_ZRD(0.00)[209.81.0.254:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[via.net]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.81.0.254:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7091, ipnet:209.81.0.0/18, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-current] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2021 18:10:09 -0000 I was just playing around with a test ZFS system and was running through = replacing a bad drive and I forgot to issue a =E2=80=98zpool offline=E2=80= =99 command. Everything seemed to go ok anyway. The system started resilvering, etc. = When is =E2=80=98zpool required=E2=80=99? Under what conditions can I = omit it? Is there a dedicated mailing list for ZFS user questions? Thanks, Joe Joe McGuckin ViaNet Communications joe@via.net 650-207-0372 cell 650-213-1302 office 650-969-2124 fax > On Jan 12, 2021, at 10:35 AM, Kurt Jaeger wrote: >=20 > Hi! >=20 >> How should I label and prepare the drives for ZFS? Someone ought to = write a ???cookbook??? on that! >=20 > Basically, what I once did, was this: >=20 > zpool create bck raidz2 ada2 ada3 ada4 ada5 ada6 ada7 ada8 ada9 >=20 > Therefore: raw disks, nothing else. >=20 >> Do I need to start the volume on a particular sector boundary? >>=20 >> Are the 4096 byte sector drives usable? >=20 > I think the default is now 4096 anyway. >=20 > = https://charsiurice.wordpress.com/2016/05/30/checking-ashift-on-existing-p= ools/ >=20 > describes the command to check for 4096 blocks: >=20 > zdb -C | grep ashift >=20 > If it displays >=20 > ashift: 9 >=20 > the blocks are 512 bytes. >=20 > If it displays >=20 > ashift: 12 >=20 > the block size is 4096. >=20 > --=20 > pi@opsec.eu +49 171 3101372 Now what ?