Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Questions after recovering from USB stick corruption with slightly dated diagnostic info

Featured Replies

Hello everyone,

I had to recover from a USB stick corruption without a recent enough backup. I managed to read 99% of the data from the USB stick, sadly not the disk assignment. However I have diagnostic data from just before I installed the latest disk and can check it for the disk assignments. Before I go ahead and start the array, I would appreciate a double-check on my logic.

 

I attached the diagnostics.zip/system/vars.txt from the diagnostic data, it contains the disk assignments. Under "disks" it contains the disk assignments to the slots. All data disks are assigned as listed there, the only non-listed disk is added in the next free slot. The disk listed under "parity" is assigned as Parity 1, the disk listed under "parity2" is assigned as Parity 2. Assignments are also attached as a screenshot.

 

My questions:

1. Is my assumption correct that "parity" -> "Parity 1" and "parity2" -> "Parity 2" (vars.txt -> web interface assignments)?

2. If I get the order of the data disks or parity disks wrong, but check "Parity is valid", no data loss will occur, "only" the parity check will show errors? I am sure of the data disk assignments, no data disk is assigned as parity disk.

3. Can I copy over configs from the recovered USB stick, e.g. Share configs, to the new stick without risking data loss? I will not copy the disk.cfg as it is not correct.

4. Any additional steps I can take after assigning the devices to double-check my assignments?

 

Just in case, I also attached the full diagnostics report.

 

Additional info on stick and recovery, in case this is of interest to someone:

USB Stick is a SanDisk Ultra Flair 16GB (USB 3.0), bought Jan 2020 and running ever since, got a little hot. Stick was not readable after powering off the server for a move. Keeping it plugged into a PC for 2 days made it "readable" again, I think it got back to its standard temperature. I pulled off readable sectors with ddrescue, I have at least one bad sector. The disk.cfg in the recovered data is missing the HDD IDs, likely they were stored in the bad sector...

 

2024-02-26-204617_700x451_scrot.png

vars.txt tower-diagnostics-20231125-1655.zip

Solved by JorgeB

  • Community Expert
  • Solution
12 hours ago, catt0 said:

1. Is my assumption correct that "parity" -> "Parity 1" and "parity2" -> "Parity 2" (vars.txt -> web interface assignments)?

Yes.

 

12 hours ago, catt0 said:

2. If I get the order of the data disks or parity disks wrong, but check "Parity is valid", no data loss will occur, "only" the parity check will show errors? I am sure of the data disk assignments, no data disk is assigned as parity disk.

Correct, as long as no data disk has been assigned as parity.

 

12 hours ago, catt0 said:

3. Can I copy over configs from the recovered USB stick, e.g. Share configs, to the new stick without risking data loss? I will not copy the disk.cfg as it is not correct.

Should be safe.

 

12 hours ago, catt0 said:

4. Any additional steps I can take after assigning the devices to double-check my assignments?

As long as the diags are recent and still relevant you should be fine.

  • Author

Thank you for your response! The parity check is currently running and looking good.

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.