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.

Preclear script can't find unassigned disk

Featured Replies

I recently replaced an HGST 4 TB parity disk with an HGST 8 TB.  I precleared the 8TB drive, installed and parity-synced.  I then re-installed the 4 TB disk to a different port.  I went to run the preclear script on the  4TB and it could not see it!  preclear -l reports "No un-assigned disk detected".  I stopped the array and clicked on the dropdown assignment menu and the 4 TB show up there (see screencap).  Anybody know what's wrong?

showing_unassigned.JPG

  • Author

No dice.  This odd, from what I can tell pre_clear.sh gets it's info from /boot/config/disk.cfg and so does the gui so they should see the same thing, right?  Attached is my disk.cfg file.

disk.cfg

The GUI uses disks.ini for devices in the array, and devs.ini for unassigned devices. These files are in the folder /var/local/emhttp.

I don't know if the preclear script reads these files though.

 

Have you considered to upgrade to V6?

  • 2 weeks later...
  • Author

Yes, I plan to upgrade but not before I have step-by-step list to move to mysql docker for my Kodi install.  I just thought I would pre-clear this disk first.  This has always worked for me before and I would like to understand why it is failing now.  Should I use the "new Config" util in UnRaid 5.0.5 to reset the configuration?

 

Just checked devs.ini and it has:

[device0]
id="HGST_HDN724040ALE640_PK1334PCJZXT9S"
device="sdj"
size="3907018584"

This is the old 4 TB parity disk that I want to preclear.  It just looks like the preclear script is not reading this correctly for some reason.  ????
 

Edited by CaptainTivo

  • 2 weeks later...
  • Author

Bump.  Still can't find a solution to this.

On 4/1/2018 at 5:50 PM, CaptainTivo said:

No dice.  This odd, from what I can tell pre_clear.sh gets it's info from /boot/config/disk.cfg and so does the gui so they should see the same thing, right?  Attached is my disk.cfg file.

disk.cfg

 

One source of array information is extracted from the /boot/config/super.dat file. Sometimes serial number of old disks remain there and that will keep your disk from being recognized.

 

You will have to edit the script to bypass that limitation.

Archived

This topic is now archived and is closed to further replies.

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.