Jump to content

ZFS Pool disappeared after power flickered

Hey Guys, 

    I work a lot so I only have a couple random hours each day to work on this but I've barely any idea where to start. The power flickered in my room where my little server is running and restarting it doesn't help. My network folders aren't there on other computers, so I started with seeing if ZFS is working properly on the Ubuntu Server, it says no pools available, zfs list shows lo datasets avaailable. It's a pretty basic setup where I've got 3 hard drives plugged in as network storage, using a samba share, I'm just not sure where to start. I did also run df, which showed the drives as:

 

Quote

Filesystem     1K-blocks     Used Available Use% Mounted on
udev             1772460        0   1772460   0% /dev
tmpfs             360784     2696    358088   1% /run
/dev/sdc2       58339316 11009516  44336548  20% /
tmpfs            1803904        8   1803896   1% /dev/shm
tmpfs               5120        0      5120   0% /run/lock
tmpfs            1803904        0   1803904   0% /sys/fs/cgroup
/dev/loop1         96256    96256         0 100% /snap/core/9066
/dev/sdc1         523248     6152    517096   2% /boot/efi
/dev/loop2         99456    99456         0 100% /snap/core/9289
tmpfs             360780        0    360780   0% /run/user/1000
jamess7995@leviathan:~$ zpool status

Which I believe reassures me that my stuff isn't gone, just hidden in limbo.
 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Maybe you can just import the pool again and it only got unmounted for some reason? 

In freenas it's pretty easy to import, I don't know for Ubuntu Server. 

Gaming HTPC:

R5 5600X - Cryorig C7 - Asus ROG B350-i - EVGA RTX2060KO - 16gb G.Skill Ripjaws V 3333mhz - Corsair SF450 - 500gb 960 EVO - LianLi TU100B


Desktop PC:
R9 3900X - Peerless Assassin 120 SE - Asus Prime X570 Pro - Powercolor 7900XT - 32gb LPX 3200mhz - Corsair SF750 Platinum - 1TB WD SN850X - CoolerMaster NR200 White - Gigabyte M27Q-SA - Corsair K70 Rapidfire - Logitech MX518 Legendary - HyperXCloud Alpha wireless


Boss-NAS [Build Log]:
R5 2400G - Noctua NH-D14 - Asus Prime X370-Pro - 16gb G.Skill Aegis 3000mhz - Seasonic Focus Platinum 550W - Fractal Design R5 - 
250gb 970 Evo (OS) - 2x500gb 860 Evo (Raid0) - 6x4TB WD Red (RaidZ2)

Synology-NAS:
DS920+
2x4TB Ironwolf - 1x18TB Seagate Exos X20

 

Audio Gear:

Hifiman HE-400i - Kennerton Magister - Beyerdynamic DT880 250Ohm - AKG K7XX - Fostex TH-X00 - O2 Amp/DAC Combo - 
Klipsch RP280F - Klipsch RP160M - Klipsch RP440C - Yamaha RX-V479

 

Reviews and Stuff:

GTX 780 DCU2 // 8600GTS // Hifiman HE-400i // Kennerton Magister
Folding all the Proteins! // Boincerino

Useful Links:
Do you need an AMP/DAC? // Recommended Audio Gear // PSU Tier List 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, FloRolf said:

Maybe you can just import the pool again and it only got unmounted for some reason? 

In freenas it's pretty easy to import, I don't know for Ubuntu Server. 

When I first made the server, I had an issue where the pool would unmount, and I would type something like “zfs import zpool”. That’s not working unfortunately this time around which makes me think it’s a way worse problem 

 

Link to comment
Share on other sites

Link to post
Share on other sites

I figured it out, I must have been using the wrong command or syntax, I just needed to run "sudo zpool import new-pool", I think I also couldn't remember what I called it, I'd consider renaming it to the name of the network, but it seems I'd need to export, then import, and I feel like that could be problematic and nnot worth it since I already have other things pointing to new-pool and they might get confused and I'd need to update the systems to tell them what to point to instead. 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×