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.

Easiest way of transfering data from one unAID to another??

Featured Replies

Hi

 

I was having problems with adding additional drives with a PCI SATA card in my unRAID build. I was about to give up but seeing as I had a spare Pro key and a spare PC I thought I would experiment to see if I could get it working. Well, it works perfectly so I know have two 2Tb unRAID servers - the old one if full of data, the new one is empty. I want to merge the two servers into the build where the PCI SATA cards work but what's the best way of going about transferring the data from the old server?

 

Which option is best, or what other options do I have:

 

1 - use my Vista setup to transfer over the network (slow)

2 - mount each drive from the old server into the new server in turn (using unmenu) and copying the data across (is this a good idea? if so, is there a thread that covers how to do this (I'm a noob))

3 - IS THIS POSSIBLE .....copy from unraid to unraid from the consol?v ???

4 - IS THIS POSSIBLE .........use MC to copy from unraid to unraid   ???

 

Any help would be much appreciated!

 

Thanks  :D

5.  Take all the drives out of the nes server, and move all of the drives from the old server to the new server.  Reassign to same slots and no copying needed.

What is the desired end state?  Do you want ALL of the drives in the new server, or do you want the drives to basically stay as they are?  I'd really let that be my guide of what disks I move unless I had trays that make moving disks between systems very easy.  The chances of a disk break when moving between systems, although unlikely, as still present.  (I was once removing a drive from a computer and my hand rubbed rather gently against the underside of another installed disk.  A tiny little rectangular part wound up in my hand.  The disk never worked again!  I am now very careful not to touch the bottom of a disk, although I have noticed that newer drives don't have these kinds of parts exposed any more.)

 

It is possible to mount drive accross the network from unRAID to unRAID.  Look here.  You might need to use smbfs instead of cifs on the mount command, depending on the version of unRAID you are using.

 

However you do it, you might consider disabling parity on the new server if you are going to by copying a bunch of data.  With parity enabled, you'll be lucky to get 15 MB/sec, with it disabled you'll get about 45 MB/sec.  3X the speed = 1/3 of the time.

  • Author

Thanks for the replies.

 

@bjp999. Good question - no I don't want all the drives in the new server. I have two small IDE drives which I don't intend on transferring across (they're not worth the power draw for the capacity) so I will be transferrig the data from them only, but the rest of the drives will be coming across (1Tb parity (to be used as a new data drive), 1Tb data + 2x500Gb data). Ideally I want to transfer the data before taking the drives out, that way I can run parity a few times and make sure the new setup is stable before re-using the drives from the 'old' server. I'll have a look at the link, thanks.

 

How do I 'disable' parity? Just by disconnecting the power/SATA cable?

Remember that disabling parity means that you will not be able to recover from a drive failure.  However unlikely, I want you to understand the risks and not blame me if the unlikely happens.

 

To disable parity, take the array offline, go to the devices page, and unassign the parity drive from the parity slot.  You may or may not have to press the "restore" button to get the array to start without parity.  (Once you do this you can't go back.  When you reassign parity it will rebuild from scratch).

If you have room in the OLD machine, here is what I would do.

 

1) add the DATA drive(s) from the NEW machine, to the OLD machine (leave the parity drive in the NEW machine where it is).

 

2) Boot the OLD machine, and copy the data off of the OLD drives that are going to stay in the OLD machine, to the data drive(s) from the NEW machine.

 

3) shutdown

 

4) Disable parity in the NEW machine.  Move the appropriate DATA drives from the OLD machine to the NEW machine (leave the OLD parity in the OLD machine).

 

5) Boot the NEW machine, assign drives to appropriate slots.  Enable parity disk, and run parity check.  (MAKE SURE you do not WRITE anything to the data disks at this time... or else you can't go back to the old machine and have good parity) If you have problems, you can put drives back into OLD machine and the OLD parity will still be good.

 

PONR - BACKOUT HERE IF NEEDED

 

6) If all is OK and you are ready to take the parity drive from the OLD machine and make it DATA in the new machine

 

   6a) unassign parity in the OLD machine, then use Joe's pre-clear script on it.

 

   6b) put the OLD machine parity drive (now cleared) in the NEW machine, and assign it to a slot as data.

  • Author

 

It is possible to mount drive accross the network from unRAID to unRAID.  Look here.  You might need to use smbfs instead of cifs on the mount command, depending on the version of unRAID you are using.

 

 

Is that the right link??

 

Cheers

  • Author

Thanks for the new link.

 

I thought I'd try to server to server copy method, as follows:

mkdir /mnt/olddisk4

mount -t smbfs //192.168.0.100/disk4 /mnt/olddisk4

cp -R /mnt/olddisk4/* /mnt/disk1

 

Problem is that I get a "input/output error". Syslog is as follows:

 

Feb 7 14:42:51 Tower_2 emhttp: shcmd (15): mkdir -m 700 /mnt/user
Feb 7 14:42:51 Tower_2 emhttp: shcmd (16): /usr/local/sbin/shfs /mnt/user
Feb 7 14:42:52 Tower_2 emhttp: get_config_idx: fopen /boot/config/shares/1 Pictures.cfg: No such file or directory - assigning defaults
Feb 7 14:42:52 Tower_2 emhttp: get_config_idx: fopen /boot/config/shares/2 Music.cfg: No such file or directory - assigning defaults
Feb 7 14:42:52 Tower_2 emhttp: get_config_idx: fopen /boot/config/shares/3 Movies.cfg: No such file or directory - assigning defaults
Feb 7 14:42:52 Tower_2 emhttp: shcmd (17): killall -HUP smbd
Feb 7 14:43:54 Tower_2 in.telnetd[2576]: connect from 192.168.0.4 (192.168.0.4)
Feb 7 14:43:56 Tower_2 login[2577]: ROOT LOGIN on `pts/0' from `192.168.0.4'
Feb 7 14:47:57 Tower_2 kernel: smb_add_request: request [df6ea200, mid=15] timed out!
Feb 7 14:48:27 Tower_2 kernel: smb_add_request: request [df6ea200, mid=16] timed out!
Feb 7 14:48:57 Tower_2 kernel: smb_add_request: request [df6ea200, mid=17] timed out!
Feb 7 14:49:27 Tower_2 kernel: smb_add_request: request [df6ea200, mid=18] timed out!
Feb 7 14:49:57 Tower_2 kernel: smb_add_request: request [df6ea200, mid=19] timed out!
Feb 7 14:50:27 Tower_2 kernel: smb_add_request: request [df6ea200, mid=20] timed out!
Feb 7 14:50:57 Tower_2 kernel: smb_add_request: request [df6ea200, mid=21] timed out!
Feb 7 14:51:27 Tower_2 kernel: smb_add_request: request [df6ea200, mid=22] timed out!
Feb 7 14:51:57 Tower_2 kernel: smb_add_request: request [df6ea200, mid=23] timed out!
Feb 7 14:51:57 Tower_2 kernel: smb_file_aio_read: DivX/ehthumbs_vista.db validation failed, error=4294967291
Feb 7 14:52:27 Tower_2 kernel: smb_add_request: request [df6ea200, mid=24] timed out!
Feb 7 14:52:57 Tower_2 kernel: smb_add_request: request [df6ea200, mid=25] timed out!
Feb 7 14:52:57 Tower_2 kernel: smb_lookup: find //3 Movies failed, error=-5
Feb 7 14:53:27 Tower_2 kernel: smb_add_request: request [df6ea200, mid=26] timed out!
Feb 7 14:53:27 Tower_2 kernel: smb_lookup: find //3 Movies failed, error=-5
Feb 7 14:53:57 Tower_2 kernel: smb_add_request: request [df6ea200, mid=27] timed out!
Feb 7 14:53:57 Tower_2 kernel: smb_lookup: find //3 Movies failed, error=-5
Feb 7 14:54:27 Tower_2 kernel: smb_add_request: request [df6ea200, mid=28] timed out!
Feb 7 14:54:27 Tower_2 kernel: smb_lookup: find //4 TV series failed, error=-5
Feb 7 14:54:57 Tower_2 kernel: smb_add_request: request [df6ea200, mid=29] timed out!
Feb 7 14:54:57 Tower_2 kernel: smb_lookup: find //5 You tube failed, error=-5
Feb 7 14:55:27 Tower_2 kernel: smb_add_request: request [df6ea200, mid=30] timed out!
Feb 7 14:55:27 Tower_2 kernel: smb_lookup: find //8 Programs failed, error=-5

 

Perhaps it's because the destination directories don't exist on the new server??

 

See this post.

  • Author

See this post.

 

I'll give it a try but i'm on 4.3 so assumed i should stick with smbfs.

 

UPDATE

 

...at least I would if the new build would boot now! What?! I've changed nothing since I went to be last night but now the box won't even get past the bios IRQ screen.

Argh..... I give up.

 

UPDATE #2

 

.... wasn't booting from USB. Option was 'missing' from BIOS and IRQ not assigned to USB. Then got memory warning beep. Swapped memory, reset bios & options have returned! How weird.

 

Right.... lets try again.....

  • Author

I've also now tried copying using network shares, as shown in the wiki:

 

mkdir /work

smbmount //tower/disk4 /work

cp -r /work/* mnt/disk1

 

Of the dozens of files only one movie file and one .jpg file were copied, as were the directory structure but I still get the "input/output errors" and nothing else is copied. It obviously works to a degree but would it copy some files but not others???

 

Any help greatly appreciated (especialy since I get only 3Mb/sec copying unraid to unraid from my Windows machine - not sure I'll live long enough to copy all files at that rate!!!).

 

*** UPDATE ***

Decided to install HDD one by one into new box, mount in unmenu and copy drive using:

cp -r /mnt/disk/sda1 /mnt/disk3/temp

 

Seems to be working fine - copy speed is about 100Gb/hour, so it'll do!

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.