Hello guys,
So, i’m having a TrueNAS server running CORE version and it was all good until a disk failed in the setup. The pool has 5 disks in RAID-Z1 and one of disk has failed which means the data is at risk. If a drive becomes faulty or starts having issues, its all toast. Yes, i know you guys would be like that’s dangerous but i was not aware of this risk when i set this up like 2yrs ago. I was not knowing what mess it could bring. But since i’ve been reading the forum now i know.
At this point, anyone would recommend me to just backup the important data immediately and as fast as possible but its over 20TB. However, the actual issue is i do not have enough spare disks which i can put it in this system or have another NAS i can copy data to and that’s where i’m currently stuck in. I mean i do have a single 10TB spare and a 20TB spare. But i’m too scared by the haunting situation like what if i copy the data from my NAS to the spare 10TB and 20TB but there could be three situations:
- I copy the data to the 10TB and 20TB disk successfully and no drives failure.
- I create pool with the required number of drives i.e. 16 in 2-Wide RAID-Z2 and then copy the data back from the 10TB and 20TB. Verify the data copied and erase the data/disks (10TB and 20TB) and relax after its done.
- The above two scenarios sounds okay but what if copying the data from the NAS to the 10TB and 20TB or vice-versa result in drive failure? Then, its all over which i definitely not want.
Before this failure, i wanted to do the following but i was still worried about moving the data:
Copy the data from the degraded Pool to a different NAS and verify the data after moving. Once moved, destroy the old pool and add the new disks to the NAS (total becomes 16 after adding 12 disk more). Create a new pool with the aim for maximum performance+redundancy i.e. 2xVDEV consisting 8 drives each in RAID-Z2 and then copy that data back to the new pool created with 16 disks. But i’m totally stuck as of now due to the lack of enough disk which can give me some redundancy or another NAS where i can copy the data from this degraded pool.
At this moment, i can only think of one option which is my hope for safeguarding the data from the degraded pool. So, my question is can i do the following:
- Add the 8 new disk i’ve lying for the purpose of expansion and this time set it up as RAID-Z2 containing 8 new disks. 2. Create a New Pool and copy the data from the degraded pool to this new RAID-Z2 pool. 3. Verify the data after moving. 4. Once moved and verified, start the resilver/scrub process for the new pool. 5. Once the resilvering/scrub is completed, destroy the degraded pool. (Here, i want to do the resilvering/scrub just for the sake of integrity so that if there is any drive which has potential of failure, i can replace it so that when i add a second VDEV and resilver/scrub the whole pool, the drives do not fail in both the VDEVs at same time.) 6. Create a new VDEV with the 4 (existing)+4 (new), yes not 3 because the drive that failed is out of warranty so i have to add a new disk to make a total of 8. 7. Then add this another VDEV to the existing RAID-Z2 pool.
This is the only option i can think of which gives me a little hope that at least my data would be safe here (after its copied to the new pool in RAID-Z2). Does this plan sounds good?
Now, my question is whether this can be done or not and is there any potential risk and whether its safe to do or not or are there any other way to do this which can minimize the risk of failures and is more easier? In case i follow this strategy, would be the data scattered with the same level on all the disks after adding the another VDEV provided that i do a resilvering of the new RAID-Z2 pool. I’m asking this because, i’ve read about the rebalancing thingy on this forum. Is that required in my case considering i’ll add a second VDEV to the new RAID-Z2 pool?
Lastly, for the adding another VDEV, i’ve two disks less so that means 4 existing disks+10 new disks which makes a total of 14 disks. But if this plan can work, i guess i can add the 2 more disks as soon as i can and then make a new VDEV and add it to the existing new RAID-Z2 pool. At least this will make the data a bit safe for sometime until i’ve the 2 disks more and i think this option is better than the current situation where i have 1 disk failed in a 5 disk RAID-Z setup which is huge risk in terms of data loss.
Let me know what do you guys suggest.
Thanks