I restarted my server and now my pool along with all datasets are gone. It tells me to create a new pool but I had a bunch of shows and movies on it and don’t want it to get reset. Is there any way to fix this?
You may have lost your GPT Primary Partition Table on each drive - and you can restore it from a backup partition using sudo gdisk /dev/sdX
. So don’t do anything that might jeopardise this.
But before you attempt this restore, we need to make sure that this won’t happen again. So please describe your hardware (MB, HBAs, disk models, how disks are connected, etc.).
The boot pool and one called “sdb 3 appear” I think I just had my pool before called pool. Mb if I’m just dumb I’m new to this. Also nothing appears in import pool
I use a dell thinkcentre from 2014 with a i3-7100. My hard drive is a seagate barracuda 1tb connected with sata. I only have the one since I just recently set this up and only had the one disk on hand.
I have a feeling that ThinkCentre is a Lenovo desktop brand.
So HDD is Sata connected to the motherboard?
Could be a GPT issue. You can try sudo gdisk /dev/sdX
where sdX
is the drive letter for this Barracuda.
When it comes up it will tell you if the GPT primary partition table is corrupt and if the backup table is OK. If it is then copy the backup table and write it out to disk and it should all come up again.
If you are uncertain, copy and paste the output from gdisk here and we can take a look.
Also post the output from lsblk
, sudo zpool status
and sudo zpool import
here.
Double check all the electrical connections. I had a simple PSU disconnect cause the pool to be reported as dead and in need of destruction and rebuild from scratch. Reconnected all the drives (reseated connectors) and all was well.
I wonder if a bad PSU may be in the mix as well.