Jump to content

[SOLVED] mount error: Unsupported partition layout


Recommended Posts

Just now, footballmad said:

The primary GPT table is corrupt,

You can try to fix this with gdisk:

 

gdisk /dev/sdX

 

It should show something like this:


 

GPT fdisk (gdisk) version 1.0.5

Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!

Warning: Invalid CRC on main header data; loaded backup partition table.
Warning! One or more CRCs don't match. You should repair the disk!
Main header: ERROR
Backup header: OK
Main partition table: OK
Backup partition table: OK

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: damaged

****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************

Command (? for help):

 

Enter w next to Command + enter, then y + enter:
 

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sdX.
The operation has completed successfully.

 

Reboot and try to mount again, depending on what exactly was damaged it might work, if it doesn't there's another way, rebuilding each disk, one or two at a time since Unraid will recreate the partitions, but before trying that you first need to fix both disable/invalid disks, then ask for more details.

Link to comment
  • footballmad changed the title to [SOLVED] mount error: Unsupported partition layout

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.

×
×
  • Create New...