StorageCurious
Explorer
- Joined
- Sep 28, 2022
- Messages
- 60
I've just upgraded a test system I'm running with an external enclosure (MD1400). I wanted to test a scenario that bothers me : how to bring back a pool if the enclosure disconnects (operator error, losing power to it before TrueNAS loses power in a power outage, etc).
So I did - disconnected the enclosure (with test data on it, but pulling the SAS cable). As expected, the pool is UNAVAIL. The mirror vdev is UNAVAIL. The individual disks under that mirror are "REMOVED". Fair enough.
So I did what I would do in in a real-life scenario: I just reconnected the enclosure (SAS3 cable). TrueNAS sees the disks again, it also sees them, in the Disk screen, as part of the pool.
But the pool remains unavailable, the disks stay removed. What's the process to just tell TrueNAS "hey, disks are back, import that pool"?
If I were to connect 6 disks in RAIDZ1 from another system, my understanding is I could get that data back. It's sort of the same, but am wondering how to proceed at this point.
My goal, for this "test", is to bring back the pool with the 3 files I had on it as if nothing happened.
So I did - disconnected the enclosure (with test data on it, but pulling the SAS cable). As expected, the pool is UNAVAIL. The mirror vdev is UNAVAIL. The individual disks under that mirror are "REMOVED". Fair enough.
So I did what I would do in in a real-life scenario: I just reconnected the enclosure (SAS3 cable). TrueNAS sees the disks again, it also sees them, in the Disk screen, as part of the pool.
But the pool remains unavailable, the disks stay removed. What's the process to just tell TrueNAS "hey, disks are back, import that pool"?
If I were to connect 6 disks in RAIDZ1 from another system, my understanding is I could get that data back. It's sort of the same, but am wondering how to proceed at this point.
My goal, for this "test", is to bring back the pool with the 3 files I had on it as if nothing happened.