Jump to content

superblock read failed :(


Go to solution Solved by lovol2,

Recommended Posts

Hi All, I hope you can help in some way.

 

I migrated over data from Windows etc. to Unraid

Then added parity disk after

during the parity create process - disk1 failed with an x.

 

It was working fine before this, yes I'm sure there were some files that were unradable as the disk is old 4TB.

 

Ok, in Windows you do a chkdisk and mark the sectors bad and then all continues fine.

 

It would seem I can't do that in Unraid?

 

I run the check and get

 



    Phase 1 - find and verify superblock...
    superblock read failed, offset 0, size 524288, ag 0, rval -1

    fatal error -- Input/output error

 

the parity creation got 98% complete, close!

 

 

SMART test short and complete were both ok prior to parity build overnight

 

Thanks for any help.

 

the disk is xfs format 4TB.

 

 

 

 

Edited by lovol2
Link to comment

unraid-diagnostics-20240302-1157.zip

 

Hi, thanks for the reply. they are attached.

 

Having engaged chatGPT, not looking good. I also got the following output

 

root@unraid:~# sudo badblocks -v /dev/sdd
Checking blocks 0 to 3907018583
Checking for bad blocks (read-only test): 73724752
73724753
73724754
73724755
73726692
73726693
73726694
73726695
73728624
73728625
73728626
73728627
73728628
73728629
73728630
73728631
73730568
73730569
73730570
73730571
73734448
73734449
73734450
73734451
73777368
73779308
73781244
73781245
73781246
73781247
73783184
73783185
73783186
73783187
73785120
73785121
73785122
73785123
73785124

 

apparently, XFS has no way of marking bad sectors like NTFS.

 

Link to comment
9 minutes ago, lovol2 said:

unraid-diagnostics-20240302-1157.zip 98.63 kB · 0 downloads

 

Hi, thanks for the reply. they are attached.

 

Having engaged chatGPT, not looking good. I also got the following output

 

root@unraid:~# sudo badblocks -v /dev/sdd
Checking blocks 0 to 3907018583
Checking for bad blocks (read-only test): 73724752
73724753
73724754
73724755
73726692
73726693
73726694
73726695
73728624
73728625
73728626
73728627
73728628
73728629
73728630
73728631
73730568
73730569
73730570
73730571
73734448
73734449
73734450
73734451
73777368
73779308
73781244
73781245
73781246
73781247
73783184
73783185
73783186
73783187
73785120
73785121
73785122
73785123
73785124

 

apparently, XFS has no way of marking bad sectors like NTFS.

 

You should not need these with modern drives - they should be able to reallocate these sectors instead.   Marking bad sectors is a hangover from the days of IDE drives.

Link to comment
On 3/2/2024 at 12:17 PM, JorgeB said:

xfs_repair can fail in a disk with bad sectors, with this error:

Since there's no parity to emulated the disk, suggest you clone the disk with ddrescue, then run xfs_repair

Thanks for that. We got close to having parity, it did say it was emulating at one point, but given the disk was running perfectly fine at one point, I swapped some cables round and the partity disk dropped out.

Another update. So I decided I need to run some kind of full disk check prior to adding them back to the array, don't want to go through this again.

 

found this video about preclear, seems as good as anything

 

*Do you have any suggestions/better ways to do a full and complete disk check (and ideally get SMART to 'know' where the bad sectors are and ignore them)?*

 

 

The plot continues...

 

So, the array said Disk 1 was in need of a format, but I...

stopped the array

set 'disk 1' (the problem disk we have) to 'no device' on the array

start array

'unassigned.devices.plg' showes both the Parity Disk (5TB) and the problem disk (4TB) now.

I clicked Mount on the 4TB problem drive

can browse folders.

 

 

using Krusader as setup here (

 

 

and I can access my files, which is great.

 

the only real downside is having to setup all my dockers again since I didn't know this was avaialble until after they were half setup, but oh well.

 

thanks for your help.

Link to comment

@JorgeB

 

could you perhaps assit a little more, so i've got my data off as documented above.

 

However, I can't seem to 'fix' the array.

 

I've done pre-clear on both my 4TB and 5TB drive, both are fine.

so I just want to put them back in the array but whatever I do, It just says "Stopped. Configuration valid."

 

Things I've tried

 

1. Doing just 1 drive edit at a time

- adding parity back, nope

- adding disk 1 back, nope

2. Going to Tooles-> new config

- with and without preserving anything, no chages at all.

 

image.thumb.png.3a5ba6cb7bf26b87b38869183c5d3259.png

 

image.thumb.png.3c21531f563a9070e7416022aa81e1c3.png

 

 

any help with this hopefully final hurdle appreciated.

 

 

unraid-diagnostics-20240307-1713.zip

Link to comment
  • Solution
3 hours ago, JorgeB said:

Do a new config - Tools - New Config

 

Thank you, face plant moment, didn't press 'yes' and 'apply', just clicked 'done', hence it doing... nothing... doing to many things, thanks for your help, much appreciated.

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...