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.

Invalid Expansion after disabled disk 8 returned, Disk 11now showing as new disk

Featured Replies

Unraid 7.4.0

Problem:

I had a data disk (Disk 8) develop CRC errors and eventually become disabled/emulated.

Before troubleshooting, the array configuration showed Disk 8 as missing/emulated, and Disk 11 (serial ending PTXD4) assigned normally.

I shut the server down and:

  • Reseated cables

  • Reorganized drive cabling

  • Some drives may have moved between motherboard SATA ports and an LSI HBA

  • Added two additional drives intended for preclear only (one 1TB and one 2TB)

After reboot:

  • Linux detects all drives.

  • The disabled Disk 8 is again physically present.

  • PTXD4 is detected and assigned as Disk 11.

  • Unraid now reports:

Invalid Expansion
You may not add new disk(s) and also remove existing disk(s)

Even after unassigning the new 1TB and 2TB drives, the error remains.

An additional observation:

  • If I unassign Disk 8, Unraid wants to format Disk 11 (PTXD4).

  • If I unassign additional disks, more disks become candidates for formatting.

  • This makes me think Unraid's array configuration may be confused rather than a single disk being bad.

Relevant syslog entries:

md: disk11 new disk

Fix Common Problems: Error: disk8 (WDC_WD40EFZX-68AWUN0_WD-WX52D32NLRE6) is disabled

I have not:

  • Formatted any disks

  • Run New Config

  • Trusted parity

Diagnostics zip attached.

What is the safest way to recover the array configuration and determine why Disk 11 is being treated as a new disk?

vader-diagnostics-20261121-1335.zip

Solved by PerezFamilyOnline

1 hour ago, chrisgenna said:

Added two additional drives intended for preclear only (one 1TB and one 2TB)

Do you mean you assigned them to the array so Unraid would clear them? Or do you mean you didn't assign them so you could preclear them?

Syslog shows disk12 as new also. Was there already a disk assigned there?

  • Author

Disk 7 was an additional drive to be precleared and added to the array. Disk 12 was an additional drive to be precleared and added to the array. Disk 8 was the failing drive (CRC errors) that became emulated and I thought it could be a loose cable (I recently moved the server). Disk 11, the one I am most worried about which has good data on board, is now showing as NEW. And Unraid wants to format it. I'm trying to avoid that. I only have 1 parity so if I end up with disk 8 emulated and disk 11 wanting to format I will definately be losing data.

I can, if instructed, remove SATA cables from 7 and 12 so Unraid doesn't see them at all and deal with adding them and preclearing them later.

I can, if instructed, remove disk 8 from the array but I think it was probably loose cable.

Whatever help me save disk 11...

The “Invalid expansion” wording can be misleading. It can appear when Unraid sees new disks being added while an existing disk is disabled. Disk 8 becoming physically visible again does not automatically re-enable it.

Your diagnostics show disks 7, 11, and 12 as new. Disk 11 remains marked new even when 7 and 12 are unassigned, which explains why removing those additions did not resolve the problem. This does not by itself mean disk 11’s data is lost.

Please leave the array stopped for now. Do not format or clear disk 11, run New Config, or select “parity is already valid.”

Could you post a current screenshot of Main, and any diagnostics or assignment screenshot from before the cabling changes? When was disk 11 originally added, and had it been mounted and storing files successfully in this array? Was the boot device changed or its configuration restored?

One other detail: the attached SMART reports show the accumulated CRC errors on disk 11, while disk 8 has zero. Please confirm which physical drive originally showed those errors.

  • Author

I do not have diagnostics from before the issue. I do have a screenshot of array assignments from when Disk 8 was already missing/emulated. In that screenshot Disk 11 was assigned as WDC_WD40EFZX-68AWUN0_WD-WX72D22PTXD4 and Disk 8 was already absent.

Disk 11 was not a newly added drive. It had been in the array and storing files successfully.

The boot device was not changed and I did not restore any configuration backup.

During troubleshooting I shut down the server, reseated cables, grouped drives by size, and some drives may have moved between motherboard SATA ports and the LSI HBA. I no longer know which specific drives were on each controller before the recabling.

I originally believed Disk 8 was the drive showing CRC errors because that was the drive that disappeared and became emulated. However, your note that the SMART reports show CRC errors on Disk 11 and not Disk 8 makes me think I may have identified the wrong physical drive.

Edit#1: I do have a copy of my boot backup from 7 days ago if that might contain any useful information?

Edit#2: Note, the files on these drives are basically Linux ISO's so there are no mission critical files to lose if that is what ends up happening.

Before and after photo attached.

IMG_4047.jpg.jpg

1bed4e8e38.jpeg.jpg

Edited by PerezFamilyOnline

18 hours ago, trurl said:

Do you mean you assigned them to the array so Unraid would clear them? Or do you mean you didn't assign them so you could preclear them?

Clearing - If you assign a disk to a new slot in an array that already has valid parity, Unraid will clear the disk so parity remains valid.

Preclearing - Before you assign a disk to the array, you can use the preclear plugin to clear it yourself. This is often used as a test of the disk, and after a disk is precleared, it can be added to a new slot in the array without invalidating parity, so Unraid doesn't have to clear it.

There is no need for a disk to be clear if it will be used as a replacement for a disk already in the array, since it will be completely overwritten by rebuild anyway. People sometimes use preclear anyway just as a test of the disk before using it as a replacement.

I can understand disk12 being a new slot, since it is apparently after the last disk (11) that was previously assigned.

But do you mean that disk7 also didn't have a disk assigned to it previously?

  • Author

Correct, disk7 did not actually have a disk there. I don't remember why. When I put the "new" disk7 and disk12 in the array I used the preclear button next to the disks in the MAIN tab unassigned devices section. EDIT: I stopped the preclear at around 2.5% so I could open my case and reseat and recable the drives to see if disk8 came back alive.

If we can take those two disks out of the equation somehow, they are not too important to me right now, I am really only concerned about disk8 which was failing and became emulated and disk11 which was working. And now BOTH are not working. I need to either get those two disks back into the array without formatting or at least get disk11 back into the array and keep disk8 emulated until I can get a replacement.

Edited by PerezFamilyOnline

You cannot add new disks while an existing array disk is disabled. Leave disks 7 and 12 unassigned until we resolve disk 8.

Just to confirm the sequence: was disk 8 the only disk that showed a red X and became emulated? Did disk 11 ever become disabled, or did it go directly from working normally to showing as new after recabling?

Please attach fresh diagnostics. Also run these commands in the Unraid terminal and post the output:

lsblk -o NAME,SIZE,MODEL,FSTYPE

blkid

These will help us see whether disk 11 still has a recognizable filesystem signature, though that alone won’t confirm the filesystem is healthy.

We need to see the original disks before deciding whether to use New Config. Keep the array stopped and don’t format anything or start a new parity sync.

  • Author
  • Solution

I am sorry to do this, but I am going to mark this as solved even though I have no idea what happened. I removed disk7, disk11, disk12 and left the emulated disk8 on the array. As suspected the problem with the CRC errors was bad cables. I let parity rebuild the drive and I have been fine. What was on disk11 is not making sense because I do not see any lost data. And Like I mentioned earlier there were NO mission critical files on this array. Only a bunch of ISO's.

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.