Jump to content

Unmountable drive in array


Recommended Posts

Hi! So I recently added a new drive, but now one of my existing drives in the array reads as unreadable. I have replaced the cable on it, tried different ports to plug it into to try to eliminate any screwups that I might have done, but I am getting to the point where I am getting out of my comfort zone on this recovery.

 

The main screen shows me that Disk 5 is "Unmountable: unsupported or no file system" and the drive shows as emulating. I have taken the array down, brought up in maintenance mode, and the drive is still emulated so I am not sure where to go from here, and frankly afraid that I'll screw up and have data loss.

 

I have attached the latest diagnostics. Hoping someone who knows more about this than me can see something obvious here.

tower-diagnostics-20240128-1016.zip

Link to comment

Looks like you started rebuild of the unmountable filesystem onto the same disk5 (more than once).

 

Is that correct?

 

We usually like to repair the filesystem before rebuild, especially if rebuilding to the same disk.

 

SMART for disk5 is OK but it looks like there might have been connection problems during some of this. The last attempt had just been started so I don't know how it is doing now.

 

Post new diagnostics.

Link to comment

Note that ‘unmountable’ is different to disabled (which you must have since the drive is being emulated) and the two states require different actions to clear them.
 

Handling of unmountable drives is covered here in the online documentation accessible via the ‘Manual’ link at the bottom of the GUI or the DOCS link at the top of each forum page. The Unraid OS->Manual section in particular covers most features of the current Unraid release.

 

Link to comment

Well, I came back to run new diags, but can't get into the server. Nothing on screen, keyboard unresponsive, can't ping it. But I can hear the drives chattering along. If it doesn't respond soon I may have to hard power it down. May have a whole new set of problems.

Link to comment
2 hours ago, trurl said:

Sorry, cancel that idea. I see you are having connection problems with disk1, which will be a problem for emulation.

 

Check connections on disk1, then post new diagnostics as before.

 

Well, now I am seeing other drives disappear. Swapped all cables of affected drives. I think it's a failing SATA card. I've ordered a new one and I'll follow up here after it arrives and I get it installed.

Link to comment

OK. Replaced (and upgraded) my SATA card. So at this point I see Disk 5 emulated, like I did before. I now also see, under array options, the disk that's been emulated listed as unmountable, and I get this option: "Format will create a file system in all Unmountable disks."

 

I am thinking that if I choose this, would it reformat the drive, and rebuild it as part of the array? I'd appreciate any assistance. I've attached the latest logs in case there's something else I should be looking at.

tower-diagnostics-20240129-1920.zip

Link to comment

Ok. I didn’t do anything stupid. Here’s the output of the file system check. 
 

Phase 1 - find and verify superblock... Phase 2 - using internal log - zero log... Log inconsistent (didn't find previous header) failed to find log head zero_log: cannot find log head/tail (xlog_find_tail=5) - scan filesystem freespace and inode maps... sb_fdblocks 220269811, counted 219118455 - found root inode chunk Phase 3 - for each AG... - scan (but don't clear) agi unlinked lists... - process known inodes and perform inode discovery... - agno = 0 - agno = 1 - agno = 2 - agno = 3 - agno = 4 - agno = 5 - agno = 6 - agno = 7 - process newly discovered inodes... Phase 4 - check for duplicate blocks... - setting up duplicate extent list... - check for inodes claiming duplicate blocks... - agno = 0 - agno = 2 - agno = 4 - agno = 6 - agno = 1 - agno = 5 - agno = 7 - agno = 3 No modify flag set, skipping phase 5 Phase 6 - check inode connectivity... - traversing filesystem ... - traversal finished ... - moving disconnected inodes to lost+found ... Phase 7 - verify link counts... Maximum metadata LSN (24:107341) is ahead of log (0:0). Would format log to cycle 27. No modify flag set, skipping filesystem flush and exiting.

Link to comment

Phase 1 - find and verify superblock... Phase 2 - using internal log - zero log... Log inconsistent (didn't find previous header) failed to find log head zero_log: cannot find log head/tail (xlog_find_tail=5) ERROR: The log head and/or tail cannot be discovered. Attempt to mount the filesystem to replay the log or use the -L option to destroy the log and attempt a repair.

Link to comment

Phase 1 - find and verify superblock... Phase 2 - using internal log - zero log... Log inconsistent (didn't find previous header) failed to find log head zero_log: cannot find log head/tail (xlog_find_tail=5) - scan filesystem freespace and inode maps... clearing needsrepair flag and regenerating metadata sb_fdblocks 220269811, counted 219118455 - found root inode chunk Phase 3 - for each AG... - scan and clear agi unlinked lists... - process known inodes and perform inode discovery... - agno = 0 - agno = 1 - agno = 2 - agno = 3 - agno = 4 - agno = 5 - agno = 6 - agno = 7 - process newly discovered inodes... Phase 4 - check for duplicate blocks... - setting up duplicate extent list... - check for inodes claiming duplicate blocks... - agno = 0 - agno = 2 - agno = 3 - agno = 7 - agno = 5 - agno = 4 - agno = 6 - agno = 1 Phase 5 - rebuild AG headers and trees... - reset superblock... Phase 6 - check inode connectivity... - resetting contents of realtime bitmap and summary inodes - traversing filesystem ... - traversal finished ... - moving disconnected inodes to lost+found ... Phase 7 - verify and correct link counts... Maximum metadata LSN (24:107349) is ahead of log (1:2). Format log to cycle 27. done

Link to comment

OK, one disk in particular is showing very high utilization on iowait, around 94%. I am thinking of stopping the rebuild, shutting down and maybe checking the cable, or replacing it? Does that sound like something that might work or is there another approach I should try?

Edited by Teekno
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...