Spacemarine
Contributor
- Joined
- Jul 19, 2014
- Messages
- 105
I'm running a 4x4TB RaidZ2 that is encrypted, but only contains test-data at the moment. Today, I received to more 4 TB drives, so now I want to run a 6x4TB RaidZ2. Since that is a perfect oppotunity to simulate the failure of two drives and try to recover from that, this is what I spent my evening with.
I simply pulled the plug on two random drives and replaced them with the two new drives. Everything resilvered perfectly, I just followed the manual. All my shares worked perfectly the whole time, so ZFS seems to have done it's job well.
HOWEVER: The next step before a reboot needs to be an encryption Re-Key and that's where things went wrong. When I tried to re-key, I got the following error message:
What to do? What went wrong?
I'm glad this is just a test with no important data. However, it worries me that this might happen in the future to my real data.
I simply pulled the plug on two random drives and replaced them with the two new drives. Everything resilvered perfectly, I just followed the manual. All my shares worked perfectly the whole time, so ZFS seems to have done it's job well.
HOWEVER: The next step before a reboot needs to be an encryption Re-Key and that's where things went wrong. When I tried to re-key, I got the following error message:
Code:
Oct 1 00:44:41 freenas notifier: 1+0 records in Oct 1 00:44:41 freenas notifier: 1+0 records out Oct 1 00:44:41 freenas notifier: 64 bytes transferred in 0.000089 secs (719666 bytes/sec) Oct 1 00:44:41 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: Unable to set passphrase on gptid/d659fa19-67bf-11e5-96f8-0cc47a310a74: geli: Cannot open gptid/d659fa19-67bf-11e5-96f8-0cc47a310a74: No such file or directory. ] Oct 1 00:44:41 freenas manage.py: [middleware.notifier:1241] [MiddlewareError: Unable to set passphrase on gptid/d659fa19-67bf-11e5-96f8-0cc47a310a74: geli: Cannot open gptid/d659fa19-67bf-11e5-96f8-0cc47a310a74: No such file or directory. ] Oct 1 00:44:41 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: Unable to set key: [MiddlewareError: Unable to set passphrase on gptid/d659fa19-67bf-11e5-96f8-0cc47a310a74: geli: Cannot open gptid/d659fa19-67bf-11e5-96f8-0cc47a310a74: No such file or directory. ]]
What to do? What went wrong?
I'm glad this is just a test with no important data. However, it worries me that this might happen in the future to my real data.