Hello! I’ve been trying to figure this out, but I’m out of things to try. I have a few questions orbiting around this situation. I thank you in advance for your time and wisdom.
The Big Picture is I have a small home IncusOS server, which works, and I’m adding a SATA drive to it.
I had this disk on Incus previously, then I removed it physically while the machine was off, tested it on another machine, and left the partition on it with the assumption that IncusOS would purge and re-partition.
IncusOS does not re-partition automatically. Ok, learned that. I tried to use incus admin os system storage wipe-drive and it hangs seemingly forever, eventually giving an API timed out error. The disk state is seemingly unchanged. The drive is good, having survived the testing.
I then tried again to create the pool, as described in the Preparing Volumes for Incus tutorial. It also hangs forever when I exit, eventually saying API timed out.
The new pool never appears in incus admin os system storage show. The drive is always visible in that status. At current, incus admin os system resources show shows that the drive is there with an empty list of partitions. Sounds perfect for onboarding.
There is evidence of inconsistent state within IncusOS that I can’t directly access. If I try to create the same pool with the same name, when I exit the editor it says:
Config parsing error: encryption key for 'name-of-pool' already exists
Summary is: I tried creating the pool with that name, it somehow failed, but the encryption keys were created for it so I can’t try to create it with that name again (and I like the name). From what I can see, those encryption keys are not something I can access.
Small Question: is it possible to remove encryption keys, allowing me to get out of this inconsistent state?
Bigger Question: is there a way to get more detail on the disk adoption process that happens in the background so that I can see what the heck is happening?
Biggest Question: how would you recommend I get this drive to work again?
Thank you again.