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.

"Unmountable: Unsupported partition layout" after power cut

Featured Replies

I just had a power cut and after I booted the server back up, I have one disk with: "Unmountable: Unsupported partition layout"

 

What is the best way to solve this so I wouldn't lose any data?

 

PS: I'm new to Unraid, just got my server up 2 weeks ago.

 

oqSXkUX.png

Solved by JorgeB

  • Community Expert

Please post output of:

 

fdisk -l /dev/sdh

 

  • Author

Disk /dev/sdh: 12.73 TiB, 14000519643136 bytes, 27344764928 sectors
Disk model: ST14000NM001G-2K
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 0D5DAF02-CD7C-4F29-9321-2594F511604D

Device     Start         End     Sectors  Size Type
/dev/sdh1     64 27344764894 27344764831 12.7T Linux filesystem

  • Community Expert
  • Solution

Partition isn't corrupt, so something changed the disk MBR, usually the easiest way to recover is rebuild that disk on top, Unraid will recreate the partition with the correct MBR, you can test by unassigning the disk and starting the array, Unraid will emulate the missing disk and it should mount immediately, assuming parity is in sync, if it mounts and contents look correct just rebuild on top.

  • Author

I unassigned the drive, started the array and looks like this now:

 

z2bkDA0.png

 

Is this how it should look and what would be the next step?

Thank you for helping out.

Edited by AlphaXL

  • Community Expert

Emulated disk is mounting, now just re-assign the disk to rebuild on top (or use a spare one if you want to play it safer).

  • Author

I re-assigned the drive and looks like it's rebuilding now. Is that correct?

 

image.thumb.png.f993156492e417b7a5d163c05b9fb70c.png

 

image.thumb.png.b81dd4f17e08a42d61fd0011253882ef.png

Edited by AlphaXL

  • Community Expert
22 minutes ago, AlphaXL said:

Is that correct?

Yep.

  • Author

I had another power cut again now, during the rebuild 🤬 Unbelievable!

I will keep the server powered off until the electricity supply issues have been sorted out in my area.

I will update this topic here later.

34 minutes ago, AlphaXL said:

I had another power cut again now, during the rebuild 🤬 Unbelievable!

I will keep the server powered off until the electricity supply issues have been sorted out in my area.

I will update this topic here later.

Is your battery backup malfunctioning?

  • Author
7 hours ago, JonathanM said:

Is your battery backup malfunctioning?

I had just bought a new 1000VA UPS and it was not connected yet. 😔

 

 

It's not gonna happen again. Got my new UPS connected now.

M6XoCZn.png

Edited by AlphaXL

  • Author

Thank you for the help. All seems good:

 

image.png.b854c8d29a369460a7d010c72d01dc25.png

  • Community Expert

Just out of curiosity what controller is that disk connected to? You can also post the diagnostics if you don't know, because what happened should never happen with just a power loss.

  • Author

That drive is connected to: LSI/Avago/Broadcom SAS 9300-8i HBA PCIe 3.0

 

Just to add... Power cut happened while I was copying files from unassigned disk into the array. Maybe that's why it wasn't mountable after powering back up?

 

That's my server:

 

- Intel Core i5-9600K 9th Gen Coffee Lake
- Cooler Master Hyper H412R
- ASRock B365M Phantom Gaming 4
- Crucial 32GB DDR4 RAM 2666MHz PC4-21300 CL19
- LSI/Avago/Broadcom SAS 9300-8i HBA PCIe 3.0
- Kingston DataTraveler Kyson 32GB USB 3.2 Flash Drive (Unraid)
- 112TB HDD storage (data array)
- 2×18TB HDD (parity array)
- 2×Samsung 970 EVO Plus NVMe M.2 SSD 1TB (cache pool)
- Seasonic CORE GC 650W 80 PLUS Gold
- 3×120mm BeQuiet! Pure Wings 2 PWM [intake]
- 2×80mm BeQuiet! Pure Wings 2 PWM [exhaust]
- Logic Case SC-415A 4U rackmount

- CyberPower BRICs LCD Series UPS 1000VA 600W

svalbard-diagnostics-20220219-1137.zip

Edited by AlphaXL

  • Community Expert

OK, that controller is usually fine, firmware is also latest, for there to be an invalid partition layout error it means the MBR was changed, that's the very beginning of the disk, outside the partition to where data gets written to, so that should never happen just because of a power cut, but you're not the first, not sure what the problem is, disk or controller would be the main suspects.

  • Author

I was running the same server/hardware on the latest Ubuntu Server the last 2 years (before switching over to Unraid) and had a few power cuts also during that time period and no issues with disks mounting after or anything like that. Of course I had no array or parity etc. Just separate disks and formatted in ext4 and full of data files.

 

I suspect that could it have been because I was copying files (writing into the array) when the power cut happened?

 

I will keep an eye on that disk and I will be swapping out smaller disks for bigger ones in the future anyway... So I might swap that one soon just to be on the safe side.

  • Community Expert
27 minutes ago, AlphaXL said:

I suspect that could it have been because I was copying files (writing into the array) when the power cut happened?

That shouldn't be a problem, since nothing should be written to or update the MBR area.

  • Author
10 minutes ago, JorgeB said:

That shouldn't be a problem, since nothing should be written to or update the MBR area.

Yes, makes sense.

 

Anyway.. thank you for helping out. Seems to be sorted for now at least.

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.