Hey Guys, I have two truenas in use, one for my daily use and the other one receives a snapshot with backups from the productive one every night.
Since the second one has some older drives I had lying around, it has 2x4tb and 2x8tb drives in a RAID1 configuration. Total usable space is 12tb.
Now one of the 4tb-drives has (after quite short time - but was used before!) begun to fail.
I ordered 2x14tb drives which shall replace the other ones completely.
How can I do this replacement?
I do not have enough bays to add all drives at once and just moce the data.
So preferably I’d remove half of it and then “rebuild” the data to the new drive, then later remove the other half and replicate to the second new drive.
Alternatively, since you have mirrors:
Replace the failed 4 TB by a 14 TB.
Replace the second 4 TB by a 14 TB.
Then remove the 2x8 TB vdev from the GUI.
Do not rename anything…
Yes - but when I do - isn’t there any need to move all data from the 2x8tb to the 2x14tb?
From my understanding, the data currently is spread between the 3/4tb drive AND the 8tb drive, this is then mirrored.
So when I remove the failed - sure thing. Then I do the same with the second - fine too. I obviously got the data from two 4tb onto two 14tb.
But the data on the 8tb will stay, right?
Removing a vdev from the GUI (not physically plugging out the drives!) will trigger data migration, and ZFS will eventually offfline the drives when it’s done.