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.

[SOLVED] Pre-Clear Clearification

Featured Replies

Hello, sorry for the quick question. When preclearing a drive (this one in question is a 4TB) you invoke:

 

preclear_disk.sh /dev/sda

 

The 2 statements it makes before preclearing are:

 

partition starting on sector 63

partition not 4k-aligned

 

I have my 'disk settings' in UnRAID set to 4k-align as well.

 

So do I need to worry about what it is stating for the preclear? Just wanted to make sure before I go ahead with it.

 

Thank you :)

Are you running the latest version of preclear?

  • Author

Yes I do believe I am, but perhaps I will double check. The PC is just standing by in the preclear screen now. Top right shows 1.13 - doh looks like 1.15 is out

 

http://lime-technology.com/forum/index.php?action=dlattach;topic=2817.0;attach=20382

 

 

So I will get the updated version, is my 'invoke' command correct ?

 

preclear_disk.sh /dev/sda (for this disk and any future preclear disk) ?

is my 'invoke' command correct ?

 

preclear_disk.sh /dev/sda (for this disk and any future preclear disk) ?

No! The disk identifier /dev/sda is for the particular disk that happened to get sda as its id for this boot. You need to identify which disk you wish to clear by other means, and then use whichever id (/dev/sda, /dev/sdb, /dev/sdc etc) that disk was assigned. If you clear the wrong disk, you will be very sorry, as you will irretrievably erase everything on it. The preclear script tries not to allow you to mess up, and shouldn't allow you to preclear a disk that's in use, but you can still make a big mistake if you are not careful.

 

preclear_disk.sh -l (that's a lower case L) will give you a list of drives not currently assigned to the array.

 

How did you determine the /dev/sda identifier this time?

 

 

  • Author

OK I should have said sdX (where X is the drive I want to clear) I know which one I am doing, I preclear in a seperate system away from my array (1 drive hooked up)

 

So is my invoke OK , that's what I am trying to clearify here.

 

Thank you.

  • Author

Guess I'll just use that command and hope for the best

preclear_disk.sh -?

...

      -a      = start partition on sector 63. (default when on unRAID 4.X)

      -A      = start partition on sector 64. (not compatible with unRAID 4.6 and prior)

            On unRAID 4.7 and subsequent, the -a or -A default is set based on the value

            set on the Settings page in the unRAID web-management console.

            Both of these (-a and -A) are completely ignored on disks > 2.2TB as they

            use a GPT partition that will always start on a 4k boundary.

...

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.