quei Posted June 9, 2023 Share Posted June 9, 2023 Hi All I deleted my complete setup and started new (Version 6.12.0-rc6) and I want to start with ZFS. My plan is in arround 1 year to switch my network to 10GB so with ZFS i should get a nice performance boost then. I was confused about how to set up my new NAS with ZFS. So I have created a pool and formatted that with ZFS (first printscreen). And now I am struggling to extend this pool... I have no critical data on the drives so i can also start from scratch, but why can I not add a new disk to the pool (error on the second printscreen)? The best way is to delete the complete setup and start new and use the Array section inside the main page, right? Or how should I set up a ZFS raid correctly? Quote Link to comment
JorgeB Posted June 9, 2023 Share Posted June 9, 2023 Assuming you are using using raidz1 for the 3 device pool you can only expand it by adding a new vdev of the same with, so another 3 disks. Quote Link to comment
itimpi Posted June 9, 2023 Share Posted June 9, 2023 With ZFS you need to think more upfront about how you want to end up because ZFS is far stricter about what is allowed when adding additional drives. This is the big disadvantage it has against using BTRFS pools which can be easily expanded and can have drives of different sizes. Quote Link to comment
quei Posted June 9, 2023 Author Share Posted June 9, 2023 so means i cannot simply add an new disk to extend the pool? what would you suggest in my case? how should i set up my environment then? If i am using xfs i will have a performance issue later on becuase its not possible to read or write on multiple disks. Quote Link to comment
Solution itimpi Posted June 9, 2023 Solution Share Posted June 9, 2023 1 minute ago, quei said: so means i cannot simply add an new disk to extend the pool? One of the limitations of ZFS is that if you have a pool with a vdev size of 3 drives you can only extend it with another vdev of 3 drives. Quote Link to comment
JorgeB Posted June 9, 2023 Share Posted June 9, 2023 46 minutes ago, quei said: so means i cannot simply add an new disk to extend the pool? Correct. 47 minutes ago, quei said: what would you suggest in my case? Add 3 new disks, or recreate the pool with 4 disks (will need to backup first). Quote Link to comment
quei Posted June 9, 2023 Author Share Posted June 9, 2023 3 hours ago, JorgeB said: Correct. Add 3 new disks, or recreate the pool with 4 disks (will need to backup first). But this works only for this extension… what is in one or two years when i add the next 8tb disk? Then i need to rebuild it again… whats your suggestion in general? is there another format where i can read from multiple disks to reach a 10gb connection? Quote Link to comment
JorgeB Posted June 9, 2023 Share Posted June 9, 2023 12 minutes ago, quei said: what is in one or two years when i add the next 8tb disk? Then i need to rebuild it again… That's how zfs works, like mentioned by Itimpi it's not very flexible, like for example btrfs, either use a different file system or things should be planned for the future. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.