3 ms·
> You most certainly can add drives to a zfs pool to expand it. You can't replace drives with bigger ones and expand the pool. This is important, if you have 4
by vetinari 6y ago
> You most certainly can add drives to a zfs pool to expand it.
You can't replace drives with bigger ones and expand the pool. This is important, if you have 4/5/6/8 bay chasis and exactly the same amount of drives in the pool.
- xoa 6y ago>You can't replace drives with bigger ones and expand the pool. Yes you can. That's exactly what the 'autoexpand' property is for. It's odd how this kind of thing floats around on the internet.
- vetinari 6y agoJust because there's a property doesn't mean that it works. It floats around on the internet, because that's the experience people have.
- rleigh 6y agoIt works just fine. I've upgraded vdevs this way several times, and it worked without a hitch on every occasion.
- vetinari 6y agoIt didn't for me; in the end, I backed up the files, scraped the machine and put the drives into Synology box. So take it as an piece of the puzzle why is Synology more popular.
- tecleandor 6y agoYou can, although you need to replace all the drives in the pool. You can swap one, wait for resilver (or for a month, if you're in a budget), do the next one... And once you replaced every drive, you do like this: https://www.ateamsystems.com/tech-blog/expand-zfs-to-use-larger-disks-free-space/ https://www.ateamsystems.com/tech-blog/expand-zfs-to-use-lar...
- vetinari 6y agoFew years ago, I needed exactly that, and it didn't work. I guess I'm not alone: https://www.google.com/search?q=zfs+autoexpand+not+working https://www.google.com/search?q=zfs+autoexpand+not+working