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.

Rebuilt drive but will not mount - Volume not encrypted

Featured Replies

I recently had a disk error that offlined a drive in an encrypted array (4*3tb inc a parity).  I've replaced the drive (twice now) having deleted all partitions off the replacements, and it has rebuilt (twice with different drives) apparently successfully each time.  I'm pretty sure the parity was good, as I checked it recently, but I have moved the disks into a new server since (note the drive did not offline immediately but a day later).  However, when completed, the drive status is "Unmountable: Volume not encrypted" and the icon is orange unlocked.  I can't understand how it can't be encrypted after a block by block rebuild?

 

image.png.b5cbab464df2e43cb884823048464ad7.png

 

I tried a check filesytem status...

 

image.thumb.png.586b92d3b26b8e512bc45715c39e6eee.png

 

Help - How do I rebuild my array and get it back online?

 

image.thumb.png.f3b32b2403479426f4de2e77cf1d0299.png

4-28medina-diagnostics-20191109-0814.zip

Edited by TheTinMan
Added screenshot

  • Author

I just thought - if I pull the "umnountable" drive, will unraid emulate the old drive from parity so I can copy off the share data?  If I can find a temporary home and copy it off then i can junk the array and rebuild from scratch.  Currently I'm copying all the data I can off the "good" disks in the array.  Would that work? 

 

56 minutes ago, TheTinMan said:

if I pull the "umnountable" drive, will unraid emulate the old drive from parity so I can copy off the share data?

 Yes, unRaid will emulate the drive, but the emulated version is also going to be unmountable.  Wait for the experts ( @johnnie.black ) before going further, as I would have expected the file system check to do something other than just exiting, even with the -n flag set.

  • Author

System became unresponsive so I had to reboot.  After booting, got an error at the server console:

 

Metadata CRC error detected at xfs_agf_read_verify 

XFS (sdg1): Unmount and run xfs_repair

 

And now it's treating the disk as new again (Start will start Parity-Sync and/or Data-Rebuild) instead of unmountable.

 

Interestingly though, the orange unlock icon is there ("Device to be encrypted") beside the blue "new disk" circle.  Default file system is xfs_encrypted though.

 

This is a sick puppy... 😞

 

image.png.cb89ac621d4c6a70c43a72243a942679.png

  • Community Expert

I'm away for the weekend and only on phone, so not easy to check diags, but looks like the problem is encryption related, and I don't use that, do you get the same result if no disk is assigned to that slot?

  • Author

Thanks anyway Johnnie; yes I get same result.

 

image.png.561541272234d67d8754b8819564dd3a.png

 

But for a disk that's not installed it seems to describe it!

image.png.3ce695f4c9dd64b701f2c1a5fa4cc34c.png

 

Overnight it decided to do a read check on the mounted volumes; all okay.

image.png.ff3cc9bd14fc8b045991edc2a1d17e5c.png

 

And when I unmount the array, we get the same thing; device to be encrypted.  

 

image.png.42812f33f997b869b76c848993d133eb.png

 

image.png.af069e2f9b7e791e6678d715af222489.png

 

I'm really scratching my head here; config corruption?

 

Appreciate the help.

  • Community Expert

Looks to me like the LUKS mbr is damaged on the emulated disk, and if that's the case it needs to be fixed first, but like mentioned I don't use encryption. 

  • Author

So as a last throw of the dice, while the array was stopped, I changed the Disk 1 settings file type to Auto.  This magically got rid of the orange unlock icon, hurrah!  Started a rebuild and went to bed; surely this would produce the result?

 

Nope.

 

The rebuild completed, but now we had a different error.  Unmountable:  No File System.

 

Stopped the array, removed the disk and looked at the underlying partition on the disk.  It was formatted to xfs, but 0 bytes.  So somehow the rebuild has just written zeroes to it.

 

image.png.fc3c01ff0445aa152466cfcb7f607fce.png

 

image.png.140717516bf528d3b2fdd9665c7900f8.png

 

It looks like this is beyond any hope of recovery; I believe I have archive copies of 95% of my data, but it is on unprotected (ha!) disks.  I need to blow away this whole config and start from scratch, as I just don't trust it now.  We may never know how it got to this stage, but it IS possible to lose a disk in an Unraid array and not be able to get it back.  Think I'll choose a second parity disk this time...

Archived

This topic is now archived and is closed to further replies.

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.