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.

Mount previously created encrypted disks

Featured Replies

Hi,

 

I'm thinking of migrating from OMV 6 to Unraid 6.12.8.

 

I have four disks, which are first encrypted with LUKS and then formatted as XFS.

 

However, when I add the disks to Unraid array and select "xfs - encrypted" as file system type, enter my LUKS password and start the array, I get "Unmountable: Unsupported partition layout".

 

Here are logs from this operation:

Mar 14 03:22:28 Tower emhttpd: Opening encrypted volumes...
Mar 14 03:22:28 Tower emhttpd: shcmd (215): touch /boot/config/forcesync
Mar 14 03:22:28 Tower emhttpd: Mounting disks...
Mar 14 03:22:28 Tower emhttpd: mounting /mnt/disk1
Mar 14 03:22:28 Tower emhttpd: shcmd (216): mkdir -p /mnt/disk1
Mar 14 03:22:28 Tower emhttpd: /mnt/disk1 mount error: Unsupported partition layout
Mar 14 03:22:28 Tower emhttpd: shcmd (217): rmdir /mnt/disk1
Mar 14 03:22:28 Tower emhttpd: mounting /mnt/disk2
Mar 14 03:22:28 Tower emhttpd: shcmd (218): mkdir -p /mnt/disk2
Mar 14 03:22:28 Tower emhttpd: /mnt/disk2 mount error: Unsupported partition layout
Mar 14 03:22:28 Tower emhttpd: shcmd (219): rmdir /mnt/disk2
Mar 14 03:22:28 Tower emhttpd: mounting /mnt/disk3
Mar 14 03:22:28 Tower emhttpd: shcmd (220): mkdir -p /mnt/disk3
Mar 14 03:22:28 Tower emhttpd: /mnt/disk3 mount error: Unsupported partition layout
Mar 14 03:22:28 Tower emhttpd: shcmd (221): rmdir /mnt/disk3
Mar 14 03:22:28 Tower emhttpd: mounting /mnt/disk4
Mar 14 03:22:28 Tower emhttpd: shcmd (222): mkdir -p /mnt/disk4
Mar 14 03:22:28 Tower emhttpd: /mnt/disk4 mount error: Unsupported partition layout
Mar 14 03:22:28 Tower emhttpd: shcmd (223): rmdir /mnt/disk4

 

If I open a shell, I can easily decrypt and mount the disks with:

root@Tower:~# cryptsetup open /dev/sdc sdc_decrypted
Enter passphrase for /dev/sdc: 

root@Tower:~# mount /dev/mapper/sdc_decrypted /mnt/sdc_decrypted

root@Tower:~# mount
....
/dev/mapper/sdc_decrypted on /mnt/sdc_decrypted type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)

 

What am I missing here?

 

Cheers!

Unraid requires a specific partition layout, you can mount the disks with UD, but to mount them in the array you will need to re-format them first.

  • Author

Ouch, okay. Thank you Jorge for the explanation!

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.