Hi guys, new here and new to the world of TrueNAS!
I set up an old PC as a storage server a couple of months back but after a power failure, I am having trouble getting it to start up again. There isn’t anything super important on there, but part of the reason I set this up was to learn the system so I would like to attempt a recovery if possible!
Here’s a quick bit of info on the system before I get started, just in case it matters. The PC is an old 7th gen i5 with 8gb of ram. The OS is installed on an NVME ssd and the storage pool is currently 4x 1tb WD Sata drives.
The error I’m getting is “Cannot import ‘boot-pool’: one or more devices is currently unavailable” which I believe means something has gone wrong with the actual OS installation, rather than the storage pool.
So far, I’ve tried running zpool import which said everything was online and I’ve also tried zpool import -F -n boot-pool which resulted in the same error I’m greeted with when I try to start it normally. The PC has not been opened between when it was and wasn’t working, so none of the drives have been re-ordered physically at least but the BIOS battery did die (which I have now replaced) so its possible I guess that the order that they show up in the BIOS has changed but I doubt that’s the issue.
I get several lines of errors before the final error message that say:
critical medium error, dev nvme0n1, sector 76875392 op 0x0:(READ) flags 0x0 phys_seg 2 prio class 0 zio pool=boot-pool vdev=/dev/nvme0n1p3 error=61 type=1 offset=38820184064 size=69632 flags=3146128
This error is repeated 6 times with the only difference being the flags number.
This is leading me to suspect the boot SSD has failed. If I replace the SSD and reinstall the OS, will I be able to recover the storage pool or is there a better way to do it?
And yes I know, I should’ve had a UPS!
I have since purchased one so when I get this working again there should be no more sudden power outages!
Cheers!