

Playing around with some options, zpool import sees the (now destroyed) second version of the backup pool, but that's just the empty pool I accidentally created on two other drives.Īny advice on how I might be able to try to read the data on this third disk? It was, as far as I can recall, a perfectly functional and up-to-date mirror of the ZFS pool before I pulled it from the case a few months ago. (I don't know if it's plugged into the same SATA port or not, as I've moved some drives around.)īut the zpool import command doesn't seem to find anything automatically. And I have since upgraded my OS, so I didn't expect it to automatically detect that drive. Now, I had never officially exported the pool on that drive or anything. I'd only be missing the past few months of backup data. That drive didn't actually fail, but it was old and had started to accumulate a couple bad sectors, so I figured I might as well just take it out then rather than wait for it to get corrupted or something.Īnyhow, I still have that old drive, so I figured I could just pop that back into my system and recover the pool data from there.
#Import zfs pool systemrescuecd upgrade
(Now I know to back up that stuff elsewhere, so this will be a learning experience.)īut I have a backup of my backups - I was replacing a third mirror today for a drive that I had removed a few months back during another upgrade to my system (along with an OS upgrade). However, there are a few things that it would be nice to have back (some non-essential data I had moved there temporarily), and a few things that will take me a few days to set up again having to do with backup settings that resided on that volume. Which is sort of okay, because it's named backup for a reason - it mostly just houses my backups going back ~15 years.

Let's move on.)įrom what I read online, my original backup pool that I "created" over is likely unrecoverable. (Yes, I used the -f option after it complained.

And in attempting to correct them, I misread online advice to recreate the pool and created a new pool named backup thereby destroying the existing pool. Suffice it to say that I made a couple errors because I don't really do much admin with my ZFS other than swap disks every couple years. I did something very stupid today in attempting to add a third mirror to an existing Linux zpool named backup.
