Re: zfs question
- In reply to: Rick Summerhill : "zfs question"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 14 Dec 2024 11:26:24 UTC
On Sat, 14 Dec 2024, at 05:29, Rick Summerhill wrote: > I have a simple question about zfs. I have a 4x4T zfs raidz1 array that > has worked perfectly for years. Recently, a disk in the array went bad, > so I replaced it with a spare 8T drive that I had on hand. My > understanding is that that the array would only use 4T of that drive, > and moreover, that would be true even if I had to replace two more > drives with 8T disks. However, if I replaced the last drive with an 8T > disk, so all the disks were now 8T, would the array use all the of the > 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-expansion/ There is also a growfs service that may do most of this automagically for you, so long as the pool is set to autoexpand. A+ Dave