Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ZFS Pool gone after disk failure

Featured Replies

Hi Guys,

 

one drive in my zfs pool of 3 devices failed. And before I could change it my pool was gone and I'm not sure what to do now.
 

zpool list 

only returns

no pools available

 

But the UI does list them as. The file system status says: "Unmountable: Unsupported or no file system"
2056614681_Screenshot2024-02-05at14_56_25.thumb.png.411aee108948b7115dc35c6ec2600ed1.png


Can please someone help me to fix this.

Regards
Benedikt

 

 

Edited by Solidus0815

  • Community Expert

Please post the diagnostics and the output of

zpool import

 

  • Author
no pools available to import

 

That's all I get

  • Community Expert

At least two of the devices were wiped by you when trying different things, if you didn't reboot since the last diags, type:

 

sgdisk -o -a 8 -n 1:32K:0 /dev/sdd

 

And then post the output of

zpool import

 

  • Author

I didn't reboot. This is the result

 

2042696772_Screenshot2024-02-05at17_45_56.thumb.png.dd6501cbb371544e347e46945536fca0.png

 

/dev/sdd is the faulty drive.

Should I run the command for the other drives too?

 

Edited by Solidus0815

  • Community Expert

Try also on /dev/sdc since that one was wiped for sure, then reboot and zpool import again, was the pool originally created with Unraid or imported from somewhere else?

  • Author

Still the same result. Should I now also try /dev/sdb?

Wanna be sure this time.

  • Community Expert
36 minutes ago, JorgeB said:

was the pool originally created with Unraid or imported from somewhere else?

 

  • Author

I'm not 100% sure. I had a pool before 6.12.
But I think I recreated the pool with unraid after the update. 
Does unraid automatically import pools created in the terminal with 6.11 after the update?

 

If not, I'm pretty sure I created a new one.

  • Community Expert
28 minutes ago, Solidus0815 said:

Does unraid automatically import pools created in the terminal with 6.11 after the update?

Not automatically but they can be imported, problem is that if the pool was created outside Unraid it won't use the standard Unraid partition, try this one since it's the most common:

 

sgdisk -o -a 8 -n 1:1M:0 /dev/sdX

 

Replace X with or or two pool disk, then zpool import again.

  • Author

Ok something happened at least. I'm slightly positiv now 😃


916756386_Screenshot2024-02-05at19_51_59.thumb.png.bc9f9355da4260792429e16d92bca1d6.png

 

Although it reports sdb and sdc as "FAULTY" and sdd as "ONLINE" even though sdd should be the broken on

  • Community Expert

Unfortunately only sdd is showing up online, do you remember if your were using raidz or something else?

  • Author

I'm pretty sure it was raidz. 
I have 3 4TB drives and the total capacity was slightly below 8TB if I recover correctly.
 

  • Community Expert

OK, so with two faulted disks it's not possible to recover the pool, I'm afraid you will need to re-create it.

  • Author

Ok, that's what I feared. 
But I don't understand what happend. sdd is the faulty one and sdb and sdc should be fine.
Why do sdb and sdc now have corrupted data. Did I destroy the data when I tried to fix it?

And can I try to recover the data somehow?

  • Community Expert
2 hours ago, Solidus0815 said:

Did I destroy the data when I tried to fix it?

Possibly, I cannot see everything you did, since at least some part was before the diags posted, I did see two disks to be wiped by the actions you did, but if that was the only issue the pool should be recoverable after recreating the partitions, like with sdd, so most likely there were other issues.

 

You can try some options with zfs import to see if the pool can still be imported, possibly by losing some of the last transactions, first try:

 

zpool import -F zfspool

 

 

  • Author

Ok, it wouldn't be that bad if I loose some data, as long as not all of it is gone.
But this options only give me this

 

image.thumb.png.19509f5fcd3e6f6a7c9feb56abb8d5b2.png

  • Community Expert

Now try 

 

zpool import -FX zfspool

 

  • Author

Same result, unfortunately 
image.thumb.png.9179bf3ccb8dd69f7a2a1a0b82fac4e6.png

  • Community Expert

If neither of those work I'm afraid I can't help more, the only option I see is to use something like UFS explorer to try and recover the data, problem is that the cheaper $60 Standard edition can only recover single/striped zfs volumes, for raidz you'd need the $600 Professional edition.

  • Author

That's pretty expensive. Do you how high the changes are that it will work?
Would be really bad to pay that high price for nothing.
And is there a cheaper alternative?

  • Community Expert

They have a free trial, it should show what is recoverable, but to actually recover you'd need to register.

  • Author

Ok, I will run it an see if it is worth the price.

Thanks for the amazing help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.