unmountable: No file system


Recommended Posts

Got a red 'x' and "Unmountable: No file system".  Followed the wiki instructions for a check/repair.  Got this:

 

Phase 1 - find and verify superblock... 
Phase 2 - using internal log 
- zero log... 
Invalid block length (0x0) for buffer 
Log inconsistent (didn't find previous header) 
empty log check failed 
zero_log: cannot find log head/tail (xlog_find_tail=5)

 

Then tried -L then press "check" for a repair but nothing happens.   Thanks in advance.

 

tower-diagnostics-20210302-1839.zip

Link to comment

Why are you running such an old version of Unraid? There were problems with some of the older versions of the XFS repair tool. You may need to upgrade to get the repair to work.

 

Also, better if we can get Diagnostics with the array started. There are many things diagnostics can't tell us until the array is started.

 

Why do you still have ReiserFS disks?

Link to comment

Silly me.  So sorry for the post before being on the latest version.  Upgraded.

Big difference with the new scan, in that the log was huge (attached).  The -L repair ran (also a huge log, attached).  Re-started array in normal mode, but Drive1 still has red 'x'.  Says it's unmounted.  Ran a new scan, and that one was much shorter and didn't seem to have anything clearly wrong.  I feel I'm now missing something obvious, no?

 

BTW, this all started when doing a lengthy scan of my array content by a new media server.

tower-diagnostics-20210303-0835.zip Drive1 check after repair.txt drive1 repair.txt Drive1 check.txt

Link to comment

According to those diagnostics disk1 is mounted but disabled. Unmountable and disabled are independent conditions.

 

Unmountable means corrupt filesystem which needs repair.

 

Disabled means the disk was kicked out of the array and is no longer being used, instead it is emulated from parity. It has to be rebuilt because it is out-of-sync.

 

Looks like you were able to repair the filesystem of the (emulated) disk1, and there is a share anonymized as l--------d. This is the lost+found folder where all the files the repair couldn't figure out got dumped.

 

Possibly the physical disk isn't as bad as the emulated disk, so if you can rebuild to a new disk and keep the original we can take a look at the original to see if you can get files from it.

Link to comment

If you rebuild to the same disk you will lose any chance of seeing what is on that disk and the result of the rebuild will be exactly what you have with the emulated disk now. Your repair logs looked like a lot was probably lost or at least not cleanly recovered. Did you take a look in lost+found?

Link to comment

Another possibility would be to see if the original disk can be mounted as an Unassigned Device to see if you can copy anything off it. Or if it is unmountable, try to repair it outside the array to see what you can get after repair.

 

If it turns out the disk is mountable and looks like it has most of your files then you might even put it back in the array with New Config and rebuild parity instead of rebuilding the data disk.

 

But since you only have single parity, your array is unprotected until the disk is rebuilt, whether to the same or a new disk (or parity is rebuilt with New Config). Rebuilding to a new disk would be my recommendation then you can take your time to see what might be recovered from the original.

 

Link to comment

I'm trying to handle this remotely from work, but as of the update, WOL isn't working, so had to wait for someone to manually wake my unraid.  An issue for another time...

 

As you theorized, the lost+found had a bunch of stuff missing from the emulated disk (3577 files/folders). 

 

When you ask if I can mount the disk as Unassigned, do you mean clicking the folder/magnifying glass icon to the right of it or something else?  When I click the folder/magnifying glass, it looks like the emulated view (missing stuff).

 

Link to comment
10 minutes ago, curtis-r said:

When you ask if I can mount the disk as Unassigned, do you mean clicking the folder/magnifying glass icon to the right of it or something else?  When I click the folder/magnifying glass, it looks like the emulated view (missing stuff).

Since the disk is disabled/emulated, any attempt to access it is using emulation to calculate its data from parity plus all other disks.

If you stop the array - unassign that disk - start the array, its contents will still be emulated but the disk itself will no longer be in the array.

Then you can see if that disk will mount in Unassigned Devices.

Link to comment

Ok, I stopped the array & unassigned the disk, & started array.  Disk shows under unassigned.  Does that folder/magnifying glass still reflect the parity or the actual disk?  The contents look the same as the parity (missing stuff).   Is that what you mean by mounting in Unassigned Devices?

Link to comment

OK, looking back at your Diagnostics, I see you don't have Unassigned Devices plugin installed. That is usually one of the first plugins people install after Community Applications so I assumed you were familiar with it. It allows you to access disks that are not in the array. How have you been using Unraid for over 10 years and not needed to access a disk outside the array?

 

Install Unassigned Devices plugin from Community Applications then you will have a Mount button for the Unassigned disk.

 

Possibly it will be unmountable but won't know until we try, and if it does need repairing maybe it will have better result than the emulated repair.

 

 

Link to comment
3 minutes ago, curtis-r said:

Clicked Mount for disk1

Better if you don't refer to that disk that way when it isn't in the disk1 slot in the array. When it is Unassigned, you will be working with the sdX letter assignment. Or you can use the last 4 characters of the serial number to keep things straight.

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.