Nutshell: Do I only need the *.eli files from /var/backups if the drive metadata has become mangled? That is, an undamaged geli-encrypted device shouldn't need its backup .eli file, yes?
I recently managed to bork my system (only gets ~18 process IDs into boot before it segfaults attempting to start the first
Reading a post by asteriskRoss and then geli(8), I think I understand now that the original location is a dedicated space on the last sector of each device, and the backup files are only needed when something dreadful happens to that last sector. This makes a lot more sense and is a lot less terrifying. I'm still planning on backing up the .eli files (and the rest of /etc/ and /var/ and whatever else I can copy off the boot disk), but am significantly less stressed.
So: Are my new insights valid, or are there other preparatory steps I should take to assure I can bring my pool back up once I have a clean system re-installed?
Thanks,
CAT
I recently managed to bork my system (only gets ~18 process IDs into boot before it segfaults attempting to start the first
/bin/sh
). As far as I know, my storage pool is ok, and ASX has suggested re-installation from media, which I am preparing to do. My zpool is built on 11 geli-encrypted drives, and I've been perpetually nervous about the encryption becoming a failure point in my ability to preserve/restore my data. In particular, I've treated the /var/backups/<device_id>.eli files with both awe and terror, believing them to be essential for the proper decryption of the devices. I was trying to figure out where the "original versions" were, so I could carefully restore them when I rebuilt the system.Reading a post by asteriskRoss and then geli(8), I think I understand now that the original location is a dedicated space on the last sector of each device, and the backup files are only needed when something dreadful happens to that last sector. This makes a lot more sense and is a lot less terrifying. I'm still planning on backing up the .eli files (and the rest of /etc/ and /var/ and whatever else I can copy off the boot disk), but am significantly less stressed.
So: Are my new insights valid, or are there other preparatory steps I should take to assure I can bring my pool back up once I have a clean system re-installed?
Thanks,
CAT