From nobody Sat Dec 14 11:26:24 2024 X-Original-To: freebsd-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 4Y9P6t5rPPz5h5h6 for ; Sat, 14 Dec 2024 11:26:46 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from fout-a2-smtp.messagingengine.com (fout-a2-smtp.messagingengine.com [103.168.172.145]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y9P6t1x0Zz4f6l for ; Sat, 14 Dec 2024 11:26:46 +0000 (UTC) (envelope-from dch@skunkwerks.at) Authentication-Results: mx1.freebsd.org; none Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id D56F21383719; Sat, 14 Dec 2024 06:26:44 -0500 (EST) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-02.internal (MEProxy); Sat, 14 Dec 2024 06:26:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1734175604; x=1734262004; bh=Smj5VwtsOFjmkD3LB1wDaYaf64Oudmwv R5zMPQB9ph4=; b=Y9VkaNAUxbo2sfE9rJx3iKRjtTSuAgqolzLPS6DJh41Qo5Ch l3bPtm6nhmpNZVfQ7UJZrWqWDB65X2jxJ3SCjkxcgyvSLkT5R86zdNPVf10Z/ETh wCJMDkhJwM5uKUdTQXZlsMjL2PKYztkmHyuXkvqrDxh8hrwpn0mNiIl+wtKLTOhL Prd/W/igeiSyzHfKRXAAIPs+WF0vRNsPtGRPMmy82/BD932Z+JIPu34GwIsK7LNH yW8Pu+2rj4k3pCASgLFe060/ARUBuY0CuVz/c21aw7gG2Z9FR4Wilv3INRdIQrX0 H9dfx6HRd0apdiSjcUN8dd8SiVmeJMuAd+Bmwg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1734175604; x= 1734262004; bh=Smj5VwtsOFjmkD3LB1wDaYaf64OudmwvR5zMPQB9ph4=; b=r vHMh/IWAi6DxXaZkgFcAEJW5NoLk2oAnmACBCSjY36ps+woE96b4LDieVmz6Q5o0 /9+PBxXESU73LCCs6TkQzfaZhskIQ8IIDn9Du7Nf4wuGVaeD93He3y74Wm/OHYJc eFUyAHibfXQt0d5pSESl1ZlNR2T0k60yoyqhMgtRxullyWkjER+UKecPOkIirzPs sT/wmn6jTbAb980Sn7z8wshJjwL370jqlcTr2huWiYyePuMsv4ahAgteovlMdAPy kqQlD6Z6XJ3qF3c0hnBwshzKXjATmQ4Ntsqfn3EoJ2wdOyPC2OfOizPPfxTzt1IM HJAN7x9EUzu5Z/MCVGgYA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrkeelgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefoggffhffvvefkjghfufgtgfesthhqredtredtjeen ucfhrhhomhepfdffrghvvgcuvehothhtlhgvhhhusggvrhdfuceouggthhesshhkuhhnkh ifvghrkhhsrdgrtheqnecuggftrfgrthhtvghrnhepteelffevhfetuedvtedutdekgfej veduvefhleehueefffehveffgfehkeeihfeinecuffhomhgrihhnpehfrhgvvggsshgurd horhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep uggthhesshhkuhhnkhifvghrkhhsrdgrthdpnhgspghrtghpthhtohepvddpmhhouggvpe hsmhhtphhouhhtpdhrtghpthhtohepfhhrvggvsghsugdqqhhuvghsthhiohhnshesfhhr vggvsghsugdrohhrghdprhgtphhtthhopehrrhhsuhhmsehsuhhmmhgvrhhhihhllhdroh hrgh X-ME-Proxy: Feedback-ID: ic0e84090:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 78810B00069; Sat, 14 Dec 2024 06:26:44 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Date: Sat, 14 Dec 2024 11:26:24 +0000 From: "Dave Cottlehuber" To: "Rick Summerhill" Cc: freebsd-questions Message-Id: In-Reply-To: <0c3f8c87-ad8b-4d99-9d82-56d548ec641e@summerhill.org> References: <0c3f8c87-ad8b-4d99-9d82-56d548ec641e@summerhill.org> Subject: Re: zfs question Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US] X-Rspamd-Queue-Id: 4Y9P6t1x0Zz4f6l X-Spamd-Bar: ---- On Sat, 14 Dec 2024, at 05:29, Rick Summerhill wrote: > I have a simple question about zfs.=C2=A0 I have a 4x4T zfs raidz1 arr= ay that=20 > has worked perfectly for years.=C2=A0 Recently, a disk in the array we= nt bad,=20 > so I replaced it with a spare 8T drive that I had on hand.=C2=A0 My=20 > understanding is that that the array would only use 4T of that drive,=20 > and moreover, that would be true even if I had to replace two more=20 > drives with 8T disks.=C2=A0 However, if I replaced the last drive with= an 8T=20 > disk, so all the disks were now 8T, would the array use all the of the=20 > 8T on each of the drives, or still be a 4x4T array? It is not an automatic process, but yes. It turns out I wrote this up last week, albeit for a mirrored zpool, the steps are the same. https://people.freebsd.org/~dch/posts/2024-12-05-openzfs-inplace-expansi= on/ There is also a growfs service that may do most of this automagically fo= r you, so long as the pool is set to autoexpand. A+ Dave