Jump to content

Unraid Array Disk missing data


tomwhi
Go to solution Solved by itimpi,

Recommended Posts

Hi guys

 

I'm really struggling - I lost my dad yesterday so my brain is a little foggy but I've woken up to my Unraid server broken and lost all its shares and what seems to be an array disk missing data / showing the wrong data. Also my shares aren't showing on the SHARES tab, and none of my dockers are starting, I assume because something is with Disk1 is messed up. 

 

My setup is : 

 

HP Microserver Gen10 

3x Array disks (not in parity) (sdb, sdc, sdd)

Cache drive on 50GB SSD (sde)

Flash on 8GB USB stick (sda)

 

When I click on SDB, Disk 1 in the array, I only see system files and none of my data.  I would expect to see a list of "share folders" in here and not a linux root folder layout. When I click on Disk2 and Disk3 I see all the data I expect to see. 

 

image.thumb.png.5f870ce9872971bb7f069c327959355f.png

 

When I click on "Fix common problems" it seems that Disk 1 is read-only or full 

 

image.thumb.png.9d9da736a0c6360a078adf012b046e74.png

 

But it's full not - and it's showing the amout of "Used" space to be what I expect this disk to be at - as disk 3 is now where all my new data is being written to. And I can't see it being read only anywhere, only that the data looks weird on the disk when I click "View". 

 

image.thumb.png.d2830ee151c7f25ea70b13197acd5f36.png

 

 

I've attached a diagnostics to see if that helps anyone.  And I appoligise for not giving much more information but I wasn't execpting this fault to happen so soon after a family tragidy.

 

I do have backups of the data so all is not lost, it just means I'd need to rebuild all my apps again if Unraid is really that broken and the restore process would take ages and I'd like to avoid it, please try to avoid judging my setup too harshly, it works for me and we can circle back around to what I could have done better later. 

 

Thank you so much for understanding, and any help you're able to offer me! 

 

Tom 

 

 

tomnas-diagnostics-20230214-0843.zip

Link to comment
25 minutes ago, JorgeB said:

Check filesystem on disk1.

 

Thank you - Attached is the output of check disk against Disk1. It looks like there might be something that didn't finish with a success message, so I've tried to run the same option wihtout the "n" flag.

 

However when I come to run the following command (while the array is still up in maint-mode) I get this error. 

 

root@TomNAS:/dev# xfs_repair -v /dev/sdb1
Phase 1 - find and verify superblock...
        - block cache size set to 709656 entries
Phase 2 - using internal log
        - zero log...
zero_log: head block 859423 tail block 859419
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed.  Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair.  If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.

 

Do I need to stop the array to carry out the option to fix the problem do you think?

 

checkdisk.txt

Link to comment
1 hour ago, itimpi said:

That message is quite normal as described here in the online documentation describing the process for repairing an XFS file system.  You need to run without -n and add -L.

 

Thank you!  I am normally way better at this but my brain is all foggy. Am I at any risk that the -L removes any data off the disk or wipes it other than stuff that's corrupted?

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