Anthwerp Posted September 30, 2021 Share Posted September 30, 2021 I swapped SATA cables on the server and suddenly, one of by btrfs drives became unmountable with the error Unsupported partition layout. I ran the btrfs disk check and no errors found. I loaded the drive on unassigned devices and all the data is there, it just won't mount when I put it as part of the array. Thoughts? Quote Link to comment
Anthwerp Posted September 30, 2021 Author Share Posted September 30, 2021 To add to this, when I check Unassigned Devices, there is no other partition on the drive, it's just the BTRFS one. Quote Link to comment
JorgeB Posted September 30, 2021 Share Posted September 30, 2021 8 minutes ago, Anthwerp said: Thoughts? This usually indicates a corrupt GPT partition, please post output of: fdisk -l /dev/sdX Quote Link to comment
Anthwerp Posted September 30, 2021 Author Share Posted September 30, 2021 The backup GPT table is not on the end of the device. Disk /dev/sdg: 14.55 TiB, 16000900661248 bytes, 31251759104 sectors Disk model: ST16000NM001G-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: AE80D6C0-2559-45A3-B9DC-EA4409FE1E4E Device Start End Sectors Size Type /dev/sdg1 64 31249999838 31249999775 14.6T Linux filesystem Quote Link to comment
JorgeB Posted September 30, 2021 Share Posted September 30, 2021 gdisk should be able to fix that, see here: https://forums.unraid.net/topic/112243-solved-mount-error-unsupported-partition-layout/?do=findComment&comment=1023895 This should be fairly safe but always good to make sure backups are up to date before trying it, or clone the disk with dd first. Quote Link to comment
Anthwerp Posted September 30, 2021 Author Share Posted September 30, 2021 I tried with gdisk and w command but it's still unmountable. I'm just going to disable parity, mount it in unassigned devices, and copy the contents into the array via krusader, then wipe. it should preserve the data. Quote Link to comment
Recommended Posts
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.