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.

Shrinking array, how long should it take to zero out a 4TB drive?

Featured Replies

Following the writeup here: https://wiki.unraid.net/Shrink_array

 

Using dd to zero out the drive and its writing at about 1.1MB/s. At that rate, it seems the process will complete sometime around the fall of humanity. Am I doing something wrong?

Solved by JorgeB

  • Author

I have reconstruct write enabled, and am doing it manually. However, the array isn't in maintenance mode. Could that be the actual issue?

  • Community Expert
1 minute ago, flyize said:

the array isn't in maintenance mode

You can't do that with the drive mounted, parity likely won't be valid in the end, but shouldn't be the reason for the low speed, possibly it's hardware related, diags might show something.

  • Community Expert

The array is stopped in the diags, which drive were you removing? You have some SMR drives, those can be slower, you can also run the diskspeed docker test to make sure all disks are reading at normal speeds.

  • Author

Yeah, I started to attempt your suggestion which is why the array was stopped. The drive I'm removing isn't SMR. However, with the array in maintenance mode, I'm getting 182MB/s. That will do. Thanks!

  • Community Expert
3 minutes ago, flyize said:

with the array in maintenance mode, I'm getting 182MB/s.

That only makes sense if you were still using the array before.

  • Author
5 minutes ago, JorgeB said:

That only makes sense if you were still using the array before.

The array was online and mounted (except the drive I was zeroing out). There isn't any mention that the array shouldn't be mounted in the wiki. Should there be?

  • Community Expert

The problem is not being mounted, but being in use, with reads or writes, that will slow down the zeroing speed by a lot.

  • Author

Then I'd like to update the wiki to something like:

 

For best performance, make sure there are no reads/writes happening to the array. The easiest way to do this is to bring the array up in maintenance mode.

 

Does that make sense? Had *I* known that, I'd have already had the old drive removed and the new drive replaced days ago.

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.