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] -A preclear option with Hitachi drives

Featured Replies

Hi,

 

I've just setup an unraid server for the first time, and I began preclearing 3 Hitachi Deskstar 5K3000 2TB drives.

 

I was following user configuration tutorial, and I unfortunately missed the point about using -A option with version 4.7.  I just used "./preclear_disk.sh /dev/sdX".  

 

Am I screwed in anyway?  Is it necessary to re-preclear the drives with this option?

 

Thanks.

Hi,

 

I've just setup an unraid server for the first time, and I began preclearing 3 Hitachi Deskstar 5K3000 2TB drives.

 

I was following user configuration tutorial, and I unfortunately missed the point about using -A option with version 4.7.  I just used "./preclear_disk.sh /dev/sdX". 

 

Am I screwed in anyway?  Is it necessary to re-preclear the drives with this option?

 

Thanks.

no need to worry.  Yours is not a drive that  uses 4k sectors internally. Even then, the only difference is small performance difference if you accessed lots of small files  (small being under 1Meg in size in quick succession under lab tests.)

 

For media playing, you would probably not notice any difference since the files are usually MUCH larger than the block size on the disk.

 

If you set the default alignment in the unRAID settings to 4k-aligned then they already are partitioned so the first sector is aligned at a 4k boundary.

 

If you did not yet assign the disks to the array, you can change the partitioning by use of the

"-C 64" option of the preclear_disk.sh script.

 

Otherwise, you'll need to un-assign the disks from the array to do anything. (just be aware, clearing the disks will erase any current contents)

Joe L.

  • Author

Hi,

 

I've just setup an unraid server for the first time, and I began preclearing 3 Hitachi Deskstar 5K3000 2TB drives.

 

I was following user configuration tutorial, and I unfortunately missed the point about using -A option with version 4.7.  I just used "./preclear_disk.sh /dev/sdX".  

 

Am I screwed in anyway?  Is it necessary to re-preclear the drives with this option?

 

Thanks.

no need to worry.  Yours is not a drive that  uses 4k sectors internally. Even then, the only difference is small performance difference if you accessed lots of small files  (small being under 1Meg in size in quick succession under lab tests.)

 

For media playing, you would probably not notice any difference since the files are usually MUCH larger than the block size on the disk.

 

If you set the default alignment in the unRAID settings to 4k-aligned then they already are partitioned so the first sector is aligned at a 4k boundary.

 

If you did not yet assign the disks to the array, you can change the partitioning by use of the

"-C 64" option of the preclear_disk.sh script.

 

Otherwise, you'll need to un-assign the disks from the array to do anything. (just be aware, clearing the disks will erase any current contents)

Joe L.

 

Thanks Joe.  The disk are still preclearing (about 25% done). Since there's really no performance hit, I'll probably just leave them as is. 

 

Just to clarify, your saying after the preclear jobs have finished, and before signing them to the array, I could run "-C 64" option of the preclear_disk.sh script".

 

Does this command take a significant amount of time to run?

Hi,

 

I've just setup an unraid server for the first time, and I began preclearing 3 Hitachi Deskstar 5K3000 2TB drives.

 

I was following user configuration tutorial, and I unfortunately missed the point about using -A option with version 4.7.  I just used "./preclear_disk.sh /dev/sdX".  

 

Am I screwed in anyway?  Is it necessary to re-preclear the drives with this option?

 

Thanks.

no need to worry.  Yours is not a drive that  uses 4k sectors internally. Even then, the only difference is small performance difference if you accessed lots of small files  (small being under 1Meg in size in quick succession under lab tests.)

 

For media playing, you would probably not notice any difference since the files are usually MUCH larger than the block size on the disk.

 

If you set the default alignment in the unRAID settings to 4k-aligned then they already are partitioned so the first sector is aligned at a 4k boundary.

 

If you did not yet assign the disks to the array, you can change the partitioning by use of the

"-C 64" option of the preclear_disk.sh script.

 

Otherwise, you'll need to un-assign the disks from the array to do anything. (just be aware, clearing the disks will erase any current contents)

Joe L.

 

Thanks Joe.  The disk are still preclearing (about 25% done). Since there's really no performance hit, I'll probably just leave them as is. 

 

Just to clarify, your saying after the preclear jobs have finished, and before signing them to the array, I could run "-C 64" option of the preclear_disk.sh script".

Yes. exactly

Does this command take a significant amount of time to run?

Only a few seconds.

preclear_disk.sh -C 64 /dev/sdX

 

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.