Jump to content

Unmountable: No file system (x2)


FRX

Recommended Posts

One of my drives (disk 5) was failing so I replaced it. When I started the server again I got a red X on disk 2. Even after doublechecking the cables it still said the same. Stupidly enough I unselected it and then reselected it on the disk selection dropdown, figuring it might help. Now I have two disks saying "Unmountable: No file system".

 

I tried "xfs_repair -v /dev/md2" but got "Sorry, could not find valid secondary superblock" after a couple of hours.

 

What can I do? Is my data beyond saving?

 

image.thumb.png.e3cd1329d2f0929ce656c572d649062a.png

file-server-diagnostics-20220925-0814.zip

Link to comment

Old disk5 appears to have really failed, but keep it intact for now, we can try re-enabling disk2 to rebuild disk5 again, connet new disk5 again, then:

 

 

-Tools -> New Config -> Retain current configuration: All -> Apply
-Check all assignments and assign any missing disk(s) if needed, including old disk2 and new disk5, replacement disk should be same size or larger than the old one
-IMPORTANT - Check both "parity is already valid" and "maintenance mode" and start the array (note that the GUI will still show that data on parity disk(s) will be overwritten, this is normal as it doesn't account for the checkbox, but it won't be as long as it's checked)
-Stop array
-Unassign disk5
-Start array (in normal mode now), ideally the emulated disk will now mount and contents look correct, then post new diags

 

 

 

 

 

Link to comment

This is what I got (but with thousands of periods)

 

Phase 1 - find and verify superblock...
couldn't verify primary superblock - not enough secondary superblocks with matching geometry !!!

attempting to find secondary superblock...

..........................................................................................................................................................................................................................................................................................................................................................................................................

Sorry, could not find valid secondary superblock
Exiting now.

Link to comment

This is very strange, clearly there's a xfs filesystem on disk2:

 

ep 29 20:00:48 FILE-SERVER kernel: XFS (md2): Mounting V5 Filesystem
Sep 29 20:00:48 FILE-SERVER root: mount: /mnt/disk2: mount(2) system call failed: Structure needs cleaning.
Sep 29 20:00:48 FILE-SERVER root:        dmesg(1) may have more information after failed mount system call.
Sep 29 20:00:48 FILE-SERVER kernel: XFS (md2): Log inconsistent (didn't find previous header)
Sep 29 20:00:48 FILE-SERVER kernel: XFS (md2): failed to find log head
Sep 29 20:00:48 FILE-SERVER kernel: XFS (md2): log mount/recovery failed: error -117
Sep 29 20:00:48 FILE-SERVER kernel: XFS (md2): log mount failed

 

But xfs_repair doesn't find main or a backup superblock, something weird is happening there, just one last shot in the dark, and to rule out any md driver issue, with the array stopped type in the console:

 

xfs_repair -v /dev/sdc1

 

 

Link to comment

Thanks alot for trying!

 

No backup unfortunately.. Im thinking I should disconnect disk2 and see if I can recover the data some other way. Whats the best solution to limit the damage on unraid? Remove disk2 (and replace it when I get a new disk), format the new disk5 and rebuild?

Link to comment

Yeah I heard about UFS explorer so might give that a go. If I somehow recover the data from disk2 and copy it to unraid, will everything be back? Or will some things be forever lost since two drives failed at once?

 

Is it safe to remove disk2 and rebuild the array with one disk missing?

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