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.

Added new drive to encrypted array, but it wasn't encrypted.

Featured Replies

I added a new drive to my encrypted unraid array fairly recently. However, I didn't notice until after it's been in use a bit that when it formatted and added the drive, it did not encrypt the new drive, even though the rest of the array is encrypted. So now one drive is hanging out there unencrypted, but partially filled with data, and already part of the parity data. What is the best way for me to fix this 😅

 

I'm not sure how this happened as it never asked me for filesystem when it added it. It just cleared it, then there was the checkbox for format drive. I feel like in that case it should match what the rest of the array is using, but it did not.

 

Unraid 6.12.10

Solved by itimpi

  • Community Expert
defaultFsType="xfs"

 

Unless you change that (Settings - Disk Settings) or manually set the disk to a different filesystem before format, unencrypted xfs will be used

 

 

  • Author
34 minutes ago, JorgeB said:
defaultFsType="xfs"

 

Unless you change that (Settings - Disk Settings) or manually set the disk to a different filesystem before format, unencrypted xfs will be used

 

 

I guess that "makes sense".... I haven't added an additional drive in almost 5 years now, so I don't remember anything like that. UX wise it would have been nice if it had warned me that it intended to format to a different format than the rest of the array uses. Without such a message my natural assumption was it would match the current configuration.

 

What's my best path for fixing this with the least amount of downtime? Is Unraid able to do cryptsetup-reencrypt to convert in maintenance mode? or do i need to painfully drain all data, take it out of the array, clear it, reformat it, and put it back in? If so, how can I minimize any parity rebuilds without losing protection on the array as they take >24 hours each

  • Community Expert
  • Solution
21 minutes ago, starlightk7 said:

or do i need to painfully drain all data, take it out of the array, clear it, reformat it, and put it back in? If so, how can I minimize any parity rebuilds without losing protection on the array as they take >24 hours each

You need to copy data elsewhere; stop array; set disk to be encrypted; start array;  format; and then copy back any data if needed.   No need to use pre-clear or anything like that. And no parity rebuild would be required as parity is maintained across the steps I mentioned.

 

you might also want to set the default format under Settings->Disk Settings to be encrypted so this situation does not happen again next time you add a drive.

  • Author
23 hours ago, itimpi said:

You need to copy data elsewhere; stop array; set disk to be encrypted; start array;  format; and then copy back any data if needed.   No need to use pre-clear or anything like that. And no parity rebuild would be required as parity is maintained across the steps I mentioned.

 

you might also want to set the default format under Settings->Disk Settings to be encrypted so this situation does not happen again next time you add a drive.

I was able to correct this fairly painlessly. I thankfully had *just enough* space to copy off still, so I used unbalance to move everything off then reformatted. As you mentioned, following that sequence parity rebuild was not necessary. thank you very much.

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.