I will start by saying that I potentially screwed up badly and am afraid my data is unrecoverable, and realize I'm an idiot for not fully understanding what I was doing.
With that said, I had a 6 drive Raidz2, with six 2tb drives that I wanted to upgrade. So i was going to swap out each disk and let the drives rebuild. I swapped out one drive, went into the GUI and selected the new unrecognized drive as the one to replace it with and let the system try to rebuild the pool. This seemed to happen fairly quickly (or so I thought) as after about five minutes or so and refreshing the page the pool said it was no longer degraded. I went ahead and swapped the 2nd drive following the same steps, and it went quick as well.
When I started on the third, it seemed to be taking a lot longer, so I started to think I screwed up and the others hadn't finished resilvering. It said it was going to take around 20+ hours to complete, but then it appeared to get stuck and I shut down the server. I then couldn't get freenas to boot past the file mounting system part of the boot process, so I tried installing a new version of Freenas and swapping my old 2tb drives back in.
And this is where I'm at now. I would think that by swapping all of my old drives back in, that the pool would still be good, but I don't know if during the resilvering process it would change the other drives as well, causing the original pool to no longer be valid.
If I do a zpool import, I get the following:
The UNAVAIL drives are, I believe, the new drives that I attempted to swap in and have now removed and replaced with the original drives. Is there a way for me to swap in the new drives in place of these unavailable ones via the shell and would this fix my pool? Or is there another route I should try?
Would trying to put the NEW drives back in let the pool rebuild itself?
Sorry for being such a newb, but any help would be appreciated.
Thanks
With that said, I had a 6 drive Raidz2, with six 2tb drives that I wanted to upgrade. So i was going to swap out each disk and let the drives rebuild. I swapped out one drive, went into the GUI and selected the new unrecognized drive as the one to replace it with and let the system try to rebuild the pool. This seemed to happen fairly quickly (or so I thought) as after about five minutes or so and refreshing the page the pool said it was no longer degraded. I went ahead and swapped the 2nd drive following the same steps, and it went quick as well.
When I started on the third, it seemed to be taking a lot longer, so I started to think I screwed up and the others hadn't finished resilvering. It said it was going to take around 20+ hours to complete, but then it appeared to get stuck and I shut down the server. I then couldn't get freenas to boot past the file mounting system part of the boot process, so I tried installing a new version of Freenas and swapping my old 2tb drives back in.
And this is where I'm at now. I would think that by swapping all of my old drives back in, that the pool would still be good, but I don't know if during the resilvering process it would change the other drives as well, causing the original pool to no longer be valid.
If I do a zpool import, I get the following:
Code:
[root@freenas ~]# zpool import pool: storage id: 14937781689459233302 state: DEGRADED status: One or more devices are missing from the system. action: The pool can be imported despite missing or damaged devices. The fault tolerance of the pool may be compromised if imported. see: http://illumos.org/msg/ZFS-8000-2Q config: storage DEGRADED raidz2-0 DEGRADED ada0p2 ONLINE ada1p2 ONLINE replacing-2 DEGRADED ada2p2 ONLINE 14134357624412389014 UNAVAIL cannot open ada3p2 ONLINE 6746355214293830694 UNAVAIL cannot open 4881288469021028751 UNAVAIL cannot open
The UNAVAIL drives are, I believe, the new drives that I attempted to swap in and have now removed and replaced with the original drives. Is there a way for me to swap in the new drives in place of these unavailable ones via the shell and would this fix my pool? Or is there another route I should try?
Would trying to put the NEW drives back in let the pool rebuild itself?
Sorry for being such a newb, but any help would be appreciated.
Thanks