Encryption


Hussie

Recommended Posts

Please try this:

  1. Stop array, select each data disk and set its file system type to "xfs".
  2. Start array, and then click Format, let it complete and observe that all disks 'mounted', everything looks good.
  3. Stop array, select each data disk and set file system type to "xfs-encrypted" (all 3 of them).
  4. Start array, observe that all 3 data disks should show 'Unformatted'.  Enter your encryption key and click Format.

At this point, all should show up as encrypted and mounted.  Buf if not, please capture diagnostics at this point and post here.

  • Like 2
Link to comment

All disks mounted and XFS  formatted:

image.thumb.png.eec2f9695cc1665db23265cde3c608ea.png

Array stopped:

image.thumb.png.502ed1d32b85eaade8cba3660383fca6.png

 

Disk 1 XFS Encrypted

image.thumb.png.d9ed9ff5df0131f92612bcdfeb7b9188.png

 

Disk 2 XFS Encrypted

image.thumb.png.63a47a8d6b7d3709b2f59af2fc50e9ac.png

 

Disk 3 XFS Encrypted

image.thumb.png.a766527a60fd01286ec288d426b8ae95.png

 

Passphrase set "password123"

image.thumb.png.a6e29f001857bee33b9be5101e1e08f6.png

 

Formatting disks:

image.thumb.png.93c20e1929772e9a1ca05e1721350888.png

 

Disks Encrypted & Unlocked

image.thumb.png.12ea8f71e30614b41c81b12234878069.png

 

(downloaded diagnotistics before reboot)

 

REBOOTING SERVER...

 

After server reboot disks encrypted & locked

image.thumb.png.c68e8c05822d28de8ccee4a3e25b4223.png

 

Enter Passphrase and Start...

image.thumb.png.3bb6b8b137bf5f1837eb8be51ab9b021.png

 

And two of the three disks get unlocked and the third stays encrypted...

image.thumb.png.ca322b28f469657e38231580de1dcb00.png

 

I have also attached two diagnostics..one before reboot and one after..

BEFORE REBOOT_tower-diagnostics-20201216-2144.zip AFTER REBOOT_tower-diagnostics-20201216-2152.zip

Edited by Hussie
Link to comment
2 hours ago, ChatNoir said:

At the end of the initial 30 days trial, it is possible to extend the trial license for 15 days, two times directly from the interface.

For additional time, you would have to discuss this directly with Limetech.

Great!

1 hour ago, limetech said:

How did running this util fix it?

DBAN is a data wiping software so I assume that some hidden files or partition(s) on the disks caused the problem with encryption.

www.dban.org

Link to comment
1 hour ago, Hussie said:

DBAN is a data wiping software so I assume that some hidden files or partition(s) on the disks caused the problem with encryption.

www.dban.org

I know what it does, just not how this fixed anything because when Unraid OS formats a device we create an entirely new partition structure - no hidden partitions, no hidden files.  It's a mystery...

  • Like 1
Link to comment
9 hours ago, limetech said:

I know what it does, just not how this fixed anything because when Unraid OS formats a device we create an entirely new partition structure - no hidden partitions, no hidden files.  It's a mystery...

I'm 100% sure I followed the right steps with setting up encryption. There is nothing that can go wrong. DBAN takes his time to re-format the disk so maybe the Unraid OS formats the disks there are still some files left...I don't know.

Encryption works now and I can finish up my configuration

 

Maybe this topic will help someone out in the future.

 

2 hours ago, JorgeB said:

Unrelated but make sure those hard drives are patched, or they can cause data loss when polled by smartmontools, and you can't even tell by the firmware version, to be sure you must run the update (if not done yet).

 

https://www.smartmontools.org/wiki/SamsungF4EGBadBlocks

Disks are already patched but thanks for the reminder.

  • Thanks 1
Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.