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.

Recover Data drive mounted as parity.

Featured Replies

Hi, 

 

I've been helping a friend get an unraid box going over the last year. This week, we were doing some maintenance, updates and what-not. 

There were 2 Flash drives needed to keep the server happy? 1 seemed to have the key, the other the config? Not sure what happened there but, while consolidating the correct key to the correct drive, the incorrect config was loaded and the array started by accident.

 

Its a 2x 4tb drive ZFS array with no parity.

a 1tb NVME cache drive formatted ZFS.

 

Disk 1 had about 1tb of data on it (nothing critical)

 

The incorrect config set disk 1 as a parity drive. It started, was immediately noticed and shutdown. 

 

Correct config was reloaded and disk 1 now reads 'unsupported, missing or invalid file system'. With no dockers or VM's (although they appear to be on the cache drive). 

 

The Data on the drive is very replaceable, but if there is a possibility to recover the now blank unraid to where we were it would be desirable.

 

Diagnostics attached. 

 

Thank you, 

 

 

tower-diagnostics-20240328-1805.zip.crdownload

  • Community Expert

Post the output of

zpool import

 

  • Author

root@Tower:~# zpool import
   pool: disk2
     id: 3778156303258639302
  state: UNAVAIL
status: One or more devices contains corrupted data.
 action: The pool cannot be imported due to damaged devices or data.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-5E
 config:

        disk2       UNAVAIL  insufficient replicas
          md1p1     UNAVAIL

   pool: nvme-cache
     id: 9499952707851697450
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

        nvme-cache   ONLINE
          nvme0n1p1  ONLINE

  • Community Expert
3 minutes ago, shtnarg said:

status: One or more devices contains corrupted data.
 action: The pool cannot be imported due to damaged devices or data.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-5E

AFAIK this is fatal, no way to recover the pool, you will need to destroy and recreate from a backup, or use a file recovery tool like UFS explorer to see if it can recover the data.

  • Author

In the case of UFS explorer, are both drives (the entire pool) required or just the 1 with the corrupt filesystem? 

  • Community Expert
Just now, shtnarg said:

are both drives (the entire pool)

If I understood correctly both devices were assigned to the array, in the array, each device is a separate filesystem, you only need that one.

 

P.S. based on the pool name that disk was initially disk2, not disk1.

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.