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.

Swapping data disk howto?

Featured Replies

Long story short, I need to swap a data disk.  What's the easiest/safest way in unRAID6?

 

The existing drive is working fine, and parity is running and synced.

  • Community Expert

Long story short, I need to swap a data disk.  What's the easiest/safest way in unRAID6?

 

The existing drive is working fine, and parity is running and synced.

Just for interest why do you want to swap it?  I would guess it is to change it for a larger drive (smaller is not allowed) but that is supposition.

 

The typical process is:

  • Stop the array.  At this point it can be a good idea to back up the contents of the flash drive so that it is easy to revert to the previous configuration in the unlikely event of something going wrong.
  • Unassign the disk
  • Start the array.  The disk should now show as mising
  • Stop the array
  • Assign the replacement disk.  Unraid should now tell you that starting the array will cause a rebuild (and if necessary file system expansion to fill the disk).  Click the check box to confirm this is what is wanted
  • Start the array and the new disk should be rebuilt with the old drives contents. 

Not sure if steps 2 and 3 are necessary if you are changing the disk for a larger one - they are needed if you want to rebuild a disk onto itself and will not do any harm in this scenario.

 

It is a good idea to keep the disk that is being replaced around untouched until the rebuild completes OK just in case things go wrong as then you can revert to the old configuration.

  • Author

I'm replacing the Reds for Toshibas, both are 5TB.  I got a great deal on the Toshibas, and I'm going to sell on the Reds (bizarrely a better resale value on them).

 

I'll give that a spin, I assume I'll have to preclear the new drives?

  • Community Expert

I'm replacing the Reds for Toshibas, both are 5TB.  I got a great deal on the Toshibas, and I'm going to sell on the Reds (bizarrely a better resale value on them).

 

I'll give that a spin, I assume I'll have to preclear the new drives?

Strictly speaking it is not necessary to pre-clear drives before doing a rebuild.  However it is a good idea to do it as a confidence check of the drives.

Long story short, I need to swap a data disk.  What's the easiest/safest way in unRAID6?

 

The existing drive is working fine, and parity is running and synced.

itimpi gave you the easiest and quickest way. Safest would be to preclear the new drive(s) and add them to the array if you have the slots available. Parity is maintained the entire time during an add operation, so recovery from one of your existing data drives failing is easier. After the drives are added, rsync the data with verification from disk to disk, then after all data is duplicated, pull all the old drives and rebuild parity with a new config on only the new drives. Parity is maintained the entire operation until the new config, at which point you have verified copies of all the data anyway on the old disks. Slightly longer and more complicated, but safer. Also requires extra drive slots to be available, which may be an issue.

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.