Jump to content

So, I think I screwed myself tonight, looking for help. 6.11.5+


mattw
Go to solution Solved by trurl,

Recommended Posts

Just to give you an idea where we are going with this. We will repair filesystem on the emulated disk. And we will also repair filesystem on the physical disk as an Unassigned Device. That should give us 2 versions of the disk contents, and we can decide where to go from there.

 

For now, check filesystem on the emulated disk, without the -n. If it asks for it use -L. Capture output and post it.

 

Then, start the array in normal mode, still with nothing assigned to that disk slot, and post new diagnostics so we can see if the repaired emulated disk mounts, and you can look at its contents.

 

I'll check back in the morning.

 

Link to comment
10 hours ago, mattw said:

I should add that files that were on it are not being emulated... they are just not there.  Should I just add it as a blank drive at this point?

You should stop the array; explicitly set the file system to be xfs; and then restart the array in maintenance mode.   This should now give you the xfs repair option so you can see if that works.

Link to comment

So upon stopping the array in maintenance mode so that I could start it in normal mode, it seems to have gotten stuck.  Dashboard indicates stopped, line at the bottom of the screen indicates " Array Stopping•Retry unmounting user share(s)..." and array operations screen has the stop button greyed out and indicates "stopping".

 

I have about a 30 minute drive home from work and I will check on it when I get home.

 

Update, just got home and it is still stuck.  I think it really is stopped.  Guess I could try a reboot.

tower-diagnostics-20221221-1622.zip

Edited by mattw
Link to comment
3 hours ago, mattw said:

checked for what was stored on emulated disk 3 and did not find any gains

Don't know what you mean by "gains". Emulated disk3 mounts now and is half full, with files on 4 user shares. You had lost all of disk3 before repair.

 

One of those user shares is lost+found, might be a problem trying to sort that out.

 

These are the emulated contents, which is the results you would get from rebuild. Do you have a spare disk you can use to rebuild disk3?

 

The next step is to attempt to mount the disk that was assigned as disk3 as an Unassigned Device. Then we can try repair on it if necessary and compare its contents with the contents of emulated disk3.

 

Post a screenshot of Main - Unassigned Devices.

Link to comment

So, I do not see the note that I have an emulated disk after the reboot...  That is why I did not see gains in the Media folder?  I never physically removed disk 3 from the system, so yes it is sitting there ready to be mounted.  I do not have another disk to install, well I do but it was my previous parity drive and it had begun to pop smart errors, was pretty old.

 

image.thumb.png.cbc50e993f1ed412453099161f2b5e37.png

 

The message for each share is "Some or all files unprotected"  I also have no disk shares?

image.png.0938af2a26cf645acf5f89e93ae57446.png

 

image.png.c156e2b0e4697c76481fd380edf41848.png

Edited by mattw
Link to comment
8 hours ago, mattw said:

I do not see the note that I have an emulated disk after the reboot...

Post a screenshot of Main - Array Devices.

 

8 hours ago, mattw said:

The message for each share is "Some or all files unprotected" 

Since you have a disabled disk and single parity, that is true. Until you have fewer disabled disks than you have parity disks, any share with files on the array are indeed unprotected.

 

8 hours ago, mattw said:

I also have no disk shares?

Neither do I since I never share disks.

Link to comment
8 hours ago, mattw said:

That is why I did not see gains in the Media folder?

Emulated disk3 doesn't have that share currently. Probably any files for that share that were on disk3 are now in lost+found after repair.

 

Next step

4 hours ago, JorgeB said:

Mount old disk with UD to compare contents, need to change the XFS UUID first (UD settings)

 

Link to comment

@trurl I did find the emulated disk 3 and the contents... and yes lost and found is loaded and looks pretty good, almost all files have names and appear to be the right size'ish.  I have physical disk 3 UUID changed, or at least I selected it in UD settings and clicked "Change UUID". 

 

The drive is visible, but when clicking moung the system thinks a few seconds and it does not come back mounted.

image.thumb.png.3dd51d0c3a23bb6d4e99e50a0db2ceed.png

 

 

tower-diagnostics-20221222-0822.zip

Link to comment

Running it now... but how does one just know that from that screen? 

 

So, once I have both sources of data online, can I just copy the stuff I want to keep to one of my other shares or make a new share and recover?  None of my drives have been showing errors and I am quickly filling up random storage spaces.  I have been thinking about modernizing this server with a new mobo and cpu, but I may end up keeping it as is and building a second server with bigger and lower numbers of drives as an in house replication location.

 

We have this little winter storm headed our way, I may have to give up for a day or 2 because we will have power issues in the flatlands of IL with this wind and my UPS is not big.  I dragged the server down to where it was more convenient to work on.

Edited by mattw
Link to comment
4 minutes ago, mattw said:

how does one just know that

last lines of syslog in your diagnostics

Dec 22 08:20:21 Tower unassigned.devices: Mount of 'sdf1' failed: 'mount: /mnt/disks/WD-WCC1P3KLCPP5: mount(2) system call failed: Structure needs cleaning.        dmesg(1) may have more information after failed mount system call. '
Dec 22 08:20:21 Tower unassigned.devices: Partition 'WD-WCC1P3KLCPP5' cannot be mounted.
Link to comment

The check completed with the following at the end of the run.

No modify flag set, skipping phase 5
Inode allocation btrees are too corrupted, skipping phases 6 and 7
No modify flag set, skipping filesystem flush and exiting.

File system corruption detected!

 

I now have the option to run with correction.  I assume that is the next step?

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