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.

Error while mounting a unraid xfs encrypted on a plain debian

Featured Replies

Hey everyone,
 

I am preparing to migrate my server to unraid, so I am testing some fail safes.
 

My test was: Open unraid, format a usb stick as XFS encrypted on a debian
 

I am decrypt with `sudo cryptsetup open /dev/sdd1 luksrecoverytarget -- type luks` and it is actually mapping it to `/dev/mapper/luksrecoverytarget`

Now the problem is to mount it...
 

`sudo mount /dev/mapper/luksrecoverytarget /tmp/data/` returns:
mount: /tmp/data: wrong fs type, bad option, bad superblock on /dev/mapper/luksrecoverytarget, missing codepage or helper program, or other error.
 

And more debugging here:
 

sudo xfs_repair /dev/mapper/luksrecoverytarget
Phase 1 - find and verify superblock...
Superblock has unknown compat/rocompat/incompat features (0x0/0x8/0x8).
Using a more recent xfs_repair is recommended.
Found unsupported filesystem features.  Exiting now.
 

sudo xfs_db -c uuid /dev/mapper/luksrecoverytarget
Superblock has unknown read-only compatible features (0x8) enabled.
Attempted to mount read-only compatible filesystem read-write.
Filesystem can only be safely mounted read only.
can't read superblock for AG 0
failed to read UUID from AG 0
cache_purge: shake on cache 0x2399920 left 1 nodes!?
cache_purge: shake on cache 0x2399920 left 1 nodes!?
cache_zero_check: refcount is 1, not zero (node=0x23ae0d0)

 

Any idea ? I am getting scared and probably will abort my plan to migrate to unraid.

  • Community Expert

It is not clear to me where the formatting and reading are taking place?

 

I would expect you to be partitioning and formatting on the Unraid side to ensure the partitioning conforms to Unraid standards.    You should then be trying to read this on the Debian system to prove it can be read outside Unraid.   Your narrative suggests you might be trying the other way around?

  • Author
22 hours ago, itimpi said:

It is not clear to me where the formatting and reading are taking place?

 

I would expect you to be partitioning and formatting on the Unraid side to ensure the partitioning conforms to Unraid standards.    You should then be trying to read this on the Debian system to prove it can be read outside Unraid.   Your narrative suggests you might be trying the other way around?


Sorry I skipped that step on my text.

Yes, the preparation was:

I added the pendrive to a unraid installation with no disks! I added the pendrive to disk 1, choose XFS encrypted, and I started the array! 

After that I shut it down and then I am now trying to open the disk outside of unraid.

  • Author

Any light on this one?

  • Community Expert
On 3/7/2023 at 2:26 PM, radicalrj said:

Using a more recent xfs_repair is recommended.
Found unsupported filesystem features.  Exiting now.

This suggests you are using an older and incompatible xfs progs, you can always boot using an Unraid trial key on a different computer and mount the disks there.

  • Community Expert

Works fine on ubuntu for me. Don't even have to fiddle with the command line, plug it in, window pops up asking for passphrase, enter it, mounted.

Edited by Kilrah

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.