Date: Sat, 14 Dec 2024 11:26:24 +0000 From: "Dave Cottlehuber" <dch@skunkwerks.at> To: "Rick Summerhill" <rrsum@summerhill.org> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: zfs question Message-ID: <cfa57355-b7b3-42bc-8464-8403a16ad21a@app.fastmail.com> In-Reply-To: <0c3f8c87-ad8b-4d99-9d82-56d548ec641e@summerhill.org> References: <0c3f8c87-ad8b-4d99-9d82-56d548ec641e@summerhill.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cfa57355-b7b3-42bc-8464-8403a16ad21a>