this post was submitted on 02 Oct 2023
8 points (100.0% liked)

TrueNAS

581 readers
1 users here now

Welcome to the unofficial TrueNAS community!

Here for all things TrueNAS whether you need help with your core, scale, or enterprise edition setups or if you just want to discuss random stuff pertaining to TrueNAS!

Useful Links:

TrueNAS:

Truecharts:

Main MOD: @[email protected]

founded 1 year ago
MODERATORS
 

Hi, happy to see a truenas community on lemmy to!

I was wondering, I know you need to double the drives when upgrading storage in zfs, but do that include cash and log drive? So if I have two ssd cash drives and on log so I need 4 cash and 2 log?

top 3 comments
sorted by: hot top controversial new old
[–] tinsuke 4 points 1 year ago* (last edited 1 year ago)

I'm not aware of any requirement to double drives when upgrading ZFS storage.

What kind of upgrade are you talking about?

If you're thinking about adding another vdev to a pool, you're free to set it up in whichever layout you prefer, mirror, raid, etc. This way your zpool would consist of your old vdev + new vdev.

If you wanna upgrade your existing vdev in-place, you could offline one drive, replace it with one with larger capacity, let ZFS resilver, then repeat it for all your drives. This way your zpool would still consist of your original vdev, but with larger drives. I used this to upgrade from 4x2TB to 4x4TB (I have room for max 6 drives).

If you're patient and can wait for this PR to be merged (it is open since June 2021) and integrated into TrueNAS, then you would be able to just add drives to your existing vdev. I'm waiting for this to add 2 more drives to my 4 drive vdev.

Cache and log drives can be shared among the vdevs in a zpool.

[–] [email protected] 1 points 1 year ago (1 children)
[–] Merlin404 5 points 1 year ago

Dam your helpul. Thnks for this woderful support your giving me, couln't have done it withot you. /S