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]4.7 - added new disk, wants to rebuild data?

Featured Replies

I just added a new disk(converting everything with the new -a formatting) so I turned on the server, because I wanted to look at my usb flash to see if I needed to put the new version of pre_clear on there, but it wouldn't let me start because it says it needs to rebuild the data?  I had 3 drives in before, 2, 2tb ears, and 1 1tb seagate, so I removed the seagate and put in the new, uncleared drive.  Is there a way to start the server without rebuilding the data?(there was nothing on the seagate drive, but it was formatted/added to the array)

 

When I preclear, can I use the -w command, since my 2 drives have already been precleared before?

 

Is this the command?

 

./preclear_disk.sh /dev/sdX -A

 

Is that where I add the A?

 

I just added a new disk(converting everything with the new -a formatting) so I turned on the server, because I wanted to look at my usb flash to see if I needed to put the new version of pre_clear on there, but it wouldn't let me start because it says it needs to rebuild the data?  I had 3 drives in before, 2, 2tb ears, and 1 1tb seagate, so I removed the seagate and put in the new, uncleared drive.  Is there a way to start the server without rebuilding the data?(there was nothing on the seagate drive, but it was formatted/added to the array)

You can set a new initial configuration based on the currently assigned drives.  It will immediately invalidate parity and parity will be calculated when you next start the array.

 

See this entry in the wiki:

http://lime-technology.com/wiki/index.php?title=FAQ#How_do_I_remove_a_hard_disk_that_I_do_not_plan_on_replacing.3F

When I preclear, can I use the -w command, since my 2 drives have already been precleared before?

Yes, you can use the -w command to set the block size used when writing the zeros to the drive during the preclear.

 

  • Author

I just added a new disk(converting everything with the new -a formatting) so I turned on the server, because I wanted to look at my usb flash to see if I needed to put the new version of pre_clear on there, but it wouldn't let me start because it says it needs to rebuild the data?  I had 3 drives in before, 2, 2tb ears, and 1 1tb seagate, so I removed the seagate and put in the new, uncleared drive.  Is there a way to start the server without rebuilding the data?(there was nothing on the seagate drive, but it was formatted/added to the array)

You can set a new initial configuration based on the currently assigned drives.  It will immediately invalidate parity and parity will be calculated when you next start the array.

 

See this entry in the wiki:

http://lime-technology.com/wiki/index.php?title=FAQ#How_do_I_remove_a_hard_disk_that_I_do_not_plan_on_replacing.3F

When I preclear, can I use the -w command, since my 2 drives have already been precleared before?

Yes, you can use the -w command to set the block size used when writing the zeros to the drive during the preclear.

 

 

And the block size I know already, if it shows size in unraid as "1,953,514,552" is that my block size?

 

Also, where do I put the -A to advance format?

 

Also, since there was nothing on the drive, why does parity become invalidated?  Basically I just want to move the data from my old drive to my new drive which will be advanced formatted, so I can start advance formatting my other disks.

I just added a new disk(converting everything with the new -a formatting) so I turned on the server, because I wanted to look at my usb flash to see if I needed to put the new version of pre_clear on there, but it wouldn't let me start because it says it needs to rebuild the data?  I had 3 drives in before, 2, 2tb ears, and 1 1tb seagate, so I removed the seagate and put in the new, uncleared drive.  Is there a way to start the server without rebuilding the data?(there was nothing on the seagate drive, but it was formatted/added to the array)

You can set a new initial configuration based on the currently assigned drives.  It will immediately invalidate parity and parity will be calculated when you next start the array.

 

See this entry in the wiki:

http://lime-technology.com/wiki/index.php?title=FAQ#How_do_I_remove_a_hard_disk_that_I_do_not_plan_on_replacing.3F

When I preclear, can I use the -w command, since my 2 drives have already been precleared before?

Yes, you can use the -w command to set the block size used when writing the zeros to the drive during the preclear.

 

 

And the block size I know already, if it shows size in unraid as "1,953,514,552" is that my block size?

No.  That is probably the size of the disk. 

The "-w NNN" option is used to set the number of zeros written in each write to the disk while clearing it.  If you set it to 1000 then 1 thousand bytes will be written each time to the disk.  (and it will perform as many 1000 byte writes as needed to fill the disk with zeros)  Unless you have limited ram, the use of the -w option is not needed. 

Also, where do I put the -A to advance format?

as an argument to the preclear_disk.sh command.

Also, since there was nothing on the drive, why does parity become invalidated?  Basically I just want to move the data from my old drive to my new drive which will be advanced formatted, so I can start advance formatting my other disks.

If you change disks, parity is invalidated.  It just works that way.  Even an "empty" disk has formatting data on it. 

 

Joe L.

  • Author

I just added a new disk(converting everything with the new -a formatting) so I turned on the server, because I wanted to look at my usb flash to see if I needed to put the new version of pre_clear on there, but it wouldn't let me start because it says it needs to rebuild the data?  I had 3 drives in before, 2, 2tb ears, and 1 1tb seagate, so I removed the seagate and put in the new, uncleared drive.  Is there a way to start the server without rebuilding the data?(there was nothing on the seagate drive, but it was formatted/added to the array)

You can set a new initial configuration based on the currently assigned drives.  It will immediately invalidate parity and parity will be calculated when you next start the array.

 

See this entry in the wiki:

http://lime-technology.com/wiki/index.php?title=FAQ#How_do_I_remove_a_hard_disk_that_I_do_not_plan_on_replacing.3F

When I preclear, can I use the -w command, since my 2 drives have already been precleared before?

Yes, you can use the -w command to set the block size used when writing the zeros to the drive during the preclear.

 

 

And the block size I know already, if it shows size in unraid as "1,953,514,552" is that my block size?

No.  That is probably the size of the disk. 

The "-w NNN" option is used to set the number of zeros written in each write to the disk while clearing it.   If you set it to 1000 then 1 thousand bytes will be written each time to the disk.  (and it will perform as many 1000 byte writes as needed to fill the disk with zeros)  Unless you have limited ram, the use of the -w option is not needed. 

Also, where do I put the -A to advance format?

as an argument to the preclear_disk.sh command.

Also, since there was nothing on the drive, why does parity become invalidated?  Basically I just want to move the data from my old drive to my new drive which will be advanced formatted, so I can start advance formatting my other disks.

If you change disks, parity is invalidated.  It just works that way.  Even an "empty" disk has formatting data on it.   

 

Joe L.

 

Not that good with linux, where would the argument go?

 

Is it like this?

 

./preclear_disk.sh /dev/sdX -A

Not that good with linux, where would the argument go?

 

Is it like this?

No, like this:

./preclear_disk.sh -A /dev/sdX

 

And since you seemed to know enough to use ./, I think you know more than you are alluding to.

Please read this thread:

http://lime-technology.com/forum/index.php?topic=2817.0

and this thread:

http://lime-technology.com/forum/index.php?topic=10202.0

 

Both have plenty examples of command argument use.

 

Joe L.

  • Author

Not that good with linux, where would the argument go?

 

Is it like this?

No, like this:

./preclear_disk.sh -A /dev/sdX

 

And since you seemed to know enough to use ./, I think you know more than you are alluding to.

Please read this thread:

http://lime-technology.com/forum/index.php?topic=2817.0

and this thread:

http://lime-technology.com/forum/index.php?topic=10202.0

 

Both have plenty examples of command argument use.

 

Joe L.

 

I know the ./ from the tutorials, but thanks for those links.  Hopefully I can handle everything after the 28 hour preclearing finishes!  Thanks for the help!

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.