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.

Force Read Only Array Mount with Old Parity Drive

Featured Replies

  • Author
1 minute ago, Kilrah said:

Do a New Config again so it forgets any previously assigned disks

 

I've tried that 3 times but it didn't change anything.  I was originally advised to Retain All current configuration so that is what I'm doing.

  • Replies 96
  • Views 7k
  • Created
  • Last Reply

Top Posters In This Topic

Posted Images

  • Community Expert

Make sure you are clicking "apply"

  • Author

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.


 

  • Community Expert

Post new diags.

  • Community Expert

After array start, in normal mode.

  • Author

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.

  • Community Expert
12 hours ago, Kevin T said:

I did originally try in normal mode and it said Unmountable: Wrong or no file system

Yes, but I would still like to see the error, though probably not much that can be done.

  • Author

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

  • Author

Just following up on my previous message, thanks.

  • Community Expert

You still haven't' posted the diags after array start.

  • Community Expert

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.

  • Author

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

  • Community Expert
2 minutes ago, Kevin T said:

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

You could use the Parity Swap procedure.

  • Author

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. 

  • Community Expert

Parity swap will use the old parity for the disabled disk, but that won't work in this case since it will be the same size as the previous one, you'd need to then rebuild again to a new larger disk.

  • Author

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.

  • Community Expert
8 hours ago, Kevin T said:

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

And that is correct and the first step, then you'd need to upgrade disk1 to a larger one.

  • Author

So the 5TB drive that was the parity drive won't work as a replacement?  Can I emulate it initially?  How can I upgrade it if it's not finding a filesystem and wouldn't mount?

  • Community Expert
59 minutes ago, Kevin T said:

So the 5TB drive that was the parity drive won't work as a replacement?

It works but it will have the same issue as the current disk, since it's the same size.

 

 

  • Author

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 using the New Config process?

 

 

Edited by Kevin T

  • Community Expert
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.

  • Author
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

  • Community Expert
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.

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.