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.

How do I consolidate two drives into one?

Featured Replies

I would like to move data from one drive (disk04) to another (disk01) so that I can free up the slot that is assigned to disk04.

 

Can I run a command on the unRAID server and still maintain parity?

 

My goal is to run disk04 through preclear so that it will replace disk01.  But first I need to move the data on disk04 to disk01 and I would prefer to do this locally on the unRAID server.

  • Author

So I decided to run this cp command from the Wiki:

 

cp -r -v -p /mnt/disk4/* /mnt/disk1 | todos > /boot/disk1copy.txt

 

Then I will remove disk4 from the array and execute the initconfig command.  After that I will run a parity check.

 

Does that sound correct?

So I decided to run this cp command from the Wiki:

 

cp -r -v -p /mnt/disk4/* /mnt/disk1 | todos > /boot/disk1copy.txt

 

Then I will remove disk4 from the array and execute the initconfig command.  After that I will run a parity check.

 

Does that sound correct?

 

Yep, you'll need the newperms script afterwards.  I always like to specify the target directory with a "/." for ensure it is a proper directory.

 

cp -rpv /mnt/disk4/* /mnt/disk1/. | todos > disk1copy.txt

newperms /mnt/disk1

 

You might want to do in a screen session.

  • Author

What is this newperms script?  I am using unRAID 4.7.

 

The data has been copied from disk4 to disk1.

 

What should my next steps be to remove disk4 from the array?

 

Should I:

01. Stop the array.

02. Un-assign disk4 on the device.

03. Execute initiconfig command.

 

I don't know if I should also un-assign the parity drive or not?

What is this newperms script?  I am using unRAID 4.7.

 

The data has been copied from disk4 to disk1.

 

What should my next steps be to remove disk4 from the array?

 

Should I:

01. Stop the array.

02. Un-assign disk4 on the device.

03. Execute initiconfig command.

 

I don't know if I should also un-assign the parity drive or not?

 

Newperms is for the 5.0 betas.  Ignore for 4.7.

 

You should do a parity check before trying to remove the disk from the array (after the copy).

 

After running, it, pull smart reports for you drives and make sure everything is healthy.

 

Then, all you have to do is ...

 

1- Stop the array

2- Unassign disk4 from the array

3- Go to a telnet prompt and run the command "initconfig".  Do what it says

4- Refresh the Web GUI (drives should have blue ball icons next to them)

5- You can rearrange disks at this point (e.g., if you have a disk5 and want to move it to the disk4 slot, now is the time).

6- Start the array, parity will build

 

DONE

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.