Force Read Only Array Mount with Old Parity Drive


Recommended Posts

  • Replies 96
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

No wonder, I was hitting Done instead of Apply, now I can configure.  I must have been overly anxious.

 

But I tried starting the array with the old Parity disk, removing the substituted Disk 1 and it won't mount (says Unmountable: Wrong or no file system), so I stopped the array and started in Maintenance mode and this is all I am getting:

 

root@unRAID:~# xfs_repair -v /dev/md1
Phase 1 - find and verify superblock...
xfs_repair: error - read only 0 of 512 bytes
xfs_repair: data size check failed
xfs_repair: cannot repair this filesystem.  Sorry.


 

Link to comment

I did originally try in normal mode and it said Unmountable: Wrong or no file system so then I stopped the array and started it again in Maintenance mode and this was all I got:

 

root@unRAID:~# xfs_repair -v /dev/md1
Phase 1 - find and verify superblock...
xfs_repair: error - read only 0 of 512 bytes
xfs_repair: data size check failed
xfs_repair: cannot repair this filesystem.  Sorry.

 

The xfs_repair barely did anything, it ran for only about a second or so.

 

I find it weird it's not doing anything because this is the Parity drive I did a size upgrade on before anything started going wrong.  The only thing I've done on the other 3 data drives is run xfs_repair checks on them but I haven't written any data to those drives.

Link to comment

Here's the screenshot, I also ran fdisk if that helps at all.

 

root@unRAID:~# fdisk -l /dev/md1
Disk /dev/md1: 4.55 TiB, 5000947249152 bytes, 9767475096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Web capture_17-10-2022_24351_unraid.local.jpg

Link to comment

Why would it be asking for a larger drive when the original Disk 1 was 5TB?  Does it have something to do that my temporary substitution 5TB for Disk 1 to restart the array is showing larger than my other 5TBs for Disks 2/3 (see images on page 2, 2nd to last post).

 

I have a larger drive available, how can I upgrade the parity with a failed drive?

 

 

Edited by Kevin T
Link to comment

I'm doing a Parity Swap right now and it's copying the parity to the new drive, so after it's done, what is the best next step?  Not sure if I just try again and do the drive substitute on Disk 1 then remove to see if it will mount / emulate or do I just assign the original parity to Disk 1 (which is the exact model/size as my original Disk 1 that failed) and go from there. 

Link to comment

So how do you upgrade the parity?  itimpi said to use Parity Swap so that's what I did.

 

My original Disk 1 is not recognized by BIOS, so how can I rebuild?

 

My new disk for the parity swap is 6TB and the original was 5TB.  The only 5TB drive I was able to get ahold of for the temporary Disk 1 to use to disable is slightly larger than my other 5TB drives even though it is 5TB as well so I figured that is what is throwing the error.  After the parity swap is complete I'm hoping to be able to use that 5TB instead for the temporary drive since it is the same make/model/size as my other 5TB drives and the one that failed.


I'm still trying to emulate DIsk 1.

Link to comment
Just now, Kevin T said:

I'm not understanding if the Disk 1 that failed was originally 5TB why do I have to replace it with a larger drive?  And is that just for it to be (hopefully) mounted and emulated?

When checking disk sizes Unraid works on the EXACT size, not the rounded off one.   even 1 byte difference in reported size is significant.

Link to comment
9 minutes ago, itimpi said:

When checking disk sizes Unraid works on the EXACT size, not the rounded off one.   even 1 byte difference in reported size is significant.

 

So did the 5TB external temporary replacement drive showing larger in bytes compared to all my other 5TB ones essentially cause this?

 

The 5TB Seagates originally installed are 4,883,770,532 KB (XFS)

The 5TB WD external is 5,860,522,532 KB (partition unknown but NTFS)

 

I don't understand the large discrepancy if they are both 5TB

 

Edited by Kevin T
Link to comment
30 minutes ago, Kevin T said:

I'm not understanding if the Disk 1 that failed was originally 5TB why do I have to replace it with a larger drive?

Because of this:

 

On 10/19/2022 at 11:25 AM, JorgeB said:

This is why it's not working:

Oct 19 03:19:34 unRAID kernel: mount: attempt to access beyond end of device

It might work with a larger replacement device, of course it would require parity be upgraded first.

 

XFS thinks the partition is larger and that's why xfs_repair doesn't work, but like mentioned it *might* work with a larger disk, it's not something I can test.

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.