Jump to content

[SOLVED] mount error: Unsupported partition layout


Recommended Posts

Hi,

 

Since a week or so, I've been having problems with my server, disk 17 and 19 were reporting errors.

 

I wanted to replace disk 17 with a new disk so shutdown the server and changed disks.

Upon reboot there were more errors on other disks, all using the same icybox bay (5xhdds) and breakout cable, so I changed cables and no change, thinking it was maybe the card I plugged in an old Adaptec ASR-5405 I had lying around and connected the bay to this card and restarted, I then had the error "mount error: Unsupported partition layout" on 4 of the disks.

 

Thinking that maybe the card wasn't compatible with UNRAID (yes I should have checked first), I disconnected the card and reconnected as before but the error remains on all these drives.

 

I tried a xfs_repair (first with -n then without) and no change.

 

I searched on the forum and found this thread that mentions the Adaptec ASR-5405 and mount error: Unsupported partition layout errors, so I tried connecting one of the drives directly to the motherboard through SATA and still no change.

I also wanted to try mounting the drive using Unassigned devices but instead of "mount" it wants a format, so obviously I stopped there.

 

Can anyone please help me recover these drives please?

 

 

msstorage-diagnostics-20210806-1936.zip

Edited by footballmad
Link to comment

I ran this sgdisk command and these are the results.

 

root@MSSTORAGE:~# sgdisk -v /dev/sdc
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.

Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.

Warning! One or more CRCs don't match. You should repair the disk!
Main header: OK
Backup header: ERROR
Main partition table: OK
Backup partition table: ERROR

Invalid partition data!
Verification may miss some problems or report too many!

Caution: The CRC for the backup partition table is invalid. This table may
be corrupt. This program will automatically create a new backup partition
table when you save your partitions.

Warning! Mismatched GPT and MBR partition! MBR partition 1, of type 0x83,
has no corresponding GPT partition! You may continue, but this condition
might cause data loss in the future!

Identified 2 problems!

 

Does this information help anyone that knows more than me about this?

Link to comment
10 hours ago, trurl said:

  

Which 4? Was it 17,18,20,21?

 

 

Did you do this from the webUI or from the command line?

I'm not home right now but I believe it's the 4 disks you mention.

 

I did this from the webUI, I forgot to mention in my previous posts, these disks are encrypted.

Link to comment
8 hours ago, footballmad said:

these disks are encrypted

Could see that from diagnostics. Might make recovery difficult.

 

On 8/8/2021 at 5:16 AM, footballmad said:

tried a xfs_repair

The usual and documented method.

 

On 8/8/2021 at 10:34 AM, footballmad said:

sgdisk command

Where did you get this idea from?

Link to comment
4 hours ago, trurl said:

Could see that from diagnostics. Might make recovery difficult.

Oh no, not what I wanted to hear.

 

4 hours ago, trurl said:

The usual and documented method.

Would you recommend using the -L flag?

 

4 hours ago, trurl said:

Where did you get this idea from?

From another post here, what's your opinion on this?

 

Do you think the fact that I tried a different expansion card could've caused this?

 

Any ideas on how to attempt recovery?

Link to comment
14 minutes ago, trurl said:

Not related, but you seem to be installing every package from NerdPack. Do you know what any of that is for? I recommend only installing those that you use regularly.

I know what a lot of it is for, I guess the only reason is being a wannabe nerd, trying to learn as much as I can.

 

I appreciate your time too trurl

Edited by footballmad
Thanks
Link to comment
6 hours ago, JorgeB said:

Why did you replace disk 17 now? Log is a mess, there are hardware errors for a disk and a strange errors with disk19, you didn't start the array in normal mode so disks weren't mounted, but for now stop the rebuild and post the output of:

 

fdisk -l /dev/sdX

 

for all the invalid partition disks.

Because the disk was failing.

 

I'll post the results once home.

Link to comment

The weird errors on disk19 appear to be because you assigned a smaller disk than it was there before, though not sure how you did that:

 

Aug 12 20:12:41 MSSTORAGE kernel: md: disk19 write error, sector=7814036864
Aug 12 20:12:42 MSSTORAGE kernel: attempt to access beyond end of device

 

Current:

 

[id] => ST3000DM001-1CH166_W1F2G6PP
            [size] => 2930266532

 

Previous:

[idSb] => ST4000VN008-2DR166_ZGY92QQX
            [sizeSb] => 3907018532

 

 

Link to comment

This is the result for disk21

 

root@MSSTORAGE:~# fdisk -l /dev/sdac
The primary GPT table is corrupt, but the backup appears OK, so that will be used.
Disk /dev/sdac: 2.73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: ST3000DM001-1ER1
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: 205CED32-7A0F-4E32-81F6-36E483C5065F

Device     Start        End    Sectors  Size Type
/dev/sdac1    64 5860533134 5860533071  2.7T Linux filesystem

 

Then I started the array and the error remains.

image.thumb.png.3d0d166472d58d35892f6643673ffcf9.png

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.

×
×
  • Create New...