Jump to content

Fastest way transfer files onto NAS

My old NAS took a crap and I had to transfer all the files (11tb) to a new spare 18tb drive. But when I did that it was all on one system with a live USB of Ubuntu.

 

I have been building a new NAS with server hardware and it should be operational today once the ECC RAM arrives in the mail.

 

I will be installing trueNAS and using it for Plex. I have a fiber 10GB line between my gaming PC and the server. When I built it years ago using old gaming PC components I just transferred in Windows via drag and drop. It took quite a while and I only had like 5tb at that time.

 

Is there a faster way to transfer that many files either in windows or Ubuntu?

I used rsync to transfer them originally during my recent troubles via terminal and it took about 17 hours.

Link to comment
Share on other sites

Link to post
Share on other sites

With 10G networking the limit will be the speed of the drive(s) themselves, in this case the 18TB one assuming you'll have an array at the other end.

 

IF you have a way to connect/mount the drive on truenas itself and run the copy locally that could be a little faster but I only know enough about truenas to know I don't like it 😄 

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

As other's have mentioned, you'll be limited by your single drive. Unless it's something spectacular, a single spinning rust drive will get you ~250MBps which would take about 12 hours (if my napkin math is right.)

Primary Gaming Rig:

Ryzen 5 5600 CPU, Gigabyte B450 I AORUS PRO WIFI mITX motherboard, PNY XLR8 16GB (2x8GB) DDR4-3200 CL16 RAM, Mushkin PILOT 500GB SSD (boot), Corsair Force 3 480GB SSD (games), XFX RX 5700 8GB GPU, Fractal Design Node 202 HTPC Case, Corsair SF 450 W 80+ Gold SFX PSU, Windows 11 Pro, Dell S2719DGF 27.0" 2560x1440 155 Hz Monitor, Corsair K68 RGB Wired Gaming Keyboard (MX Brown), Logitech G900 CHAOS SPECTRUM Wireless Mouse, Logitech G533 Headset

 

HTPC/Gaming Rig:

Ryzen 7 3700X CPU, ASRock B450M Pro4 mATX Motherboard, ADATA XPG GAMMIX D20 16GB (2x8GB) DDR4-3200 CL16 RAM, Mushkin PILOT 1TB SSD (boot), 2x Seagate BarraCuda 1 TB 3.5" HDD (data), Seagate BarraCuda 4 TB 3.5" HDD (DVR), PowerColor RX VEGA 56 8GB GPU, Fractal Design Node 804 mATX Case, Cooler Master MasterWatt 550 W 80+ Bronze Semi-modular ATX PSU, Silverstone SST-SOB02 Blu-Ray Writer, Windows 11 Pro, Logitech K400 Plus Keyboard, Corsair K63 Lapboard Combo (MX Red w/Blue LED), Logitech G603 Wireless Mouse, Kingston HyperX Cloud Stinger Headset, HAUPPAUGE WinTV-quadHD TV Tuner, Samsung 65RU9000 TV

Link to comment
Share on other sites

Link to post
Share on other sites

8 minutes ago, Kilrah said:

With 10G networking the limit will be the speed of the drive(s) themselves, in this case the 18TB one assuming you'll have an array at the other end.

 

IF you have a way to connect/mount the drive on truenas itself and run the copy locally that could be a little faster but I only know enough about truenas to know I don't like it 😄 

Yeah it's 8x 10tb WD red drives in raidz2

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, airborne spoon said:

Yeah it's 8x 10tb WD red drives in raidz2

a RAID of at least 3 or 4 drives will always be faster than one drive.
the RAID isn't your concern.

That one lone USB HDD is the slow part.

 

Link to comment
Share on other sites

Link to post
Share on other sites

8 minutes ago, tkitch said:

a RAID of at least 3 or 4 drives will always be faster than one drive.
the RAID isn't your concern.

That one lone USB HDD is the slow part.

 

does HDD read or write faster?

Note: Users receive notifications after Mentions & Quotes. 

Feel free to ask any questions regarding my comments/build lists. I know a lot about PCs but not everything.

PC:

Ryzen 5 5600 |16GB DDR4 3200Mhz | B450 | GTX 1080 ti

PCs I used before:

Pentium G4500 | 4GB/8GB DDR4 2133Mhz | H110 | GTX 1050

Ryzen 3 1200 3,5Ghz / OC:4Ghz | 8GB DDR4 2133Mhz / 16GB 3200Mhz | B450 | GTX 1050

Ryzen 3 1200 3,5Ghz | 16GB 3200Mhz | B450 | GTX 1080 ti

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, podkall said:

does HDD read or write faster?

A read should generally be faster, but you potentially have some latency for seeks if data is non-consecutive, which might slow down the transfer.

 

But a RAID can usually distribute both reads and writes across multiple drives at once, which gives it a performance advantage over a single drive.

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, podkall said:

does HDD read or write faster?

On modern drives it's typically the same for both. At least for the drive itself, then there are lots of OS-level things that can affect it.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

15 minutes ago, tkitch said:

That one lone USB HDD is the slow part.

 

Who said anything about USB? Now that would be slow. Naw it's connected to the motherboard via SATA port in my gaming PC

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, airborne spoon said:

Who said anything about USB? Now that would be slow.

Nope, not slower when connected via USB, unless you're somehow using USB2... USB3 is capable of maxing out an HDD just fine.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

11 minutes ago, Kilrah said:

Nope, not slower when connected via USB, unless you're somehow using USB2... USB3 is capable of maxing out an HDD just fine.

Interesting well if I had a USB3 carrier I would do that but all I have is an old one from like 2007 that uses a mini-USB plug. So the old run a temp SATA cable to a HDD sitting next to the case is what I'm rolling with lol

Link to comment
Share on other sites

Link to post
Share on other sites

21 minutes ago, airborne spoon said:

Interesting well if I had a USB3 carrier I would do that but all I have is an old one from like 2007 that uses a mini-USB plug. So the old run a temp SATA cable to a HDD sitting next to the case is what I'm rolling with lol

if it's USB 2, you'd be slowing it down dramatically.
Micro USB / Mini USB are both USB 2.

USB 3 can push triple what most HDDs can push, more of it's 10 or 20gbps USB 3. 

 

check the drive connector on the USB Enclosure compared to this:
USB 2.0 vs 3.0 Cables: What to Know Before You Buy - Wandkey

Link to comment
Share on other sites

Link to post
Share on other sites

46 minutes ago, tkitch said:

if it's USB 2, you'd be slowing it down dramatically.
Micro USB / Mini USB are both USB 2.

USB 3 can push triple what most HDDs can push, more of it's 10 or 20gbps USB 3. 

 

check the drive connector on the USB Enclosure compared to this:
USB 2.0 vs 3.0 Cables: What to Know Before You Buy - Wandkey

Bro I said it's from like 2007 😂 it's ancient

I know good and well the difference between micro, mini and all the USB shapes and sizes. Obviously I wasn't tracking the speeds but that's a moot point.

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Eigenvektor said:

A read should generally be faster, but you potentially have some latency for seeks if data is non-consecutive, which might slow down the transfer.

 

But a RAID can usually distribute both reads and writes across multiple drives at once, which gives it a performance advantage over a single drive.

how does having data on multiple drives save time/improve performance?

Note: Users receive notifications after Mentions & Quotes. 

Feel free to ask any questions regarding my comments/build lists. I know a lot about PCs but not everything.

PC:

Ryzen 5 5600 |16GB DDR4 3200Mhz | B450 | GTX 1080 ti

PCs I used before:

Pentium G4500 | 4GB/8GB DDR4 2133Mhz | H110 | GTX 1050

Ryzen 3 1200 3,5Ghz / OC:4Ghz | 8GB DDR4 2133Mhz / 16GB 3200Mhz | B450 | GTX 1050

Ryzen 3 1200 3,5Ghz | 16GB 3200Mhz | B450 | GTX 1080 ti

Link to comment
Share on other sites

Link to post
Share on other sites

20 minutes ago, podkall said:

how does having data on multiple drives save time/improve performance?

If you have the same data on multiple drives, you can read from them simultaneously.

 

For example, let's say you have two drives. Then you could read bytes at index 0, 2, 4, … from one drive and bytes at index 1, 3, 5, … from the other one at the same time, effectively doubling your read speed. Provided the controller and bus it is connected to doesn't turn into a limit (which would most likely be the case for NVMe)

 

For write speed, it depends. RAID 0 means that you write separate halves of the data to two drives at the same time. It can be combined with other RAID levels (e.g. 5+0). Other levels generally decrease performance because of the parity bits that need to be calculated/written

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Eigenvektor said:

If you have the same data on multiple drives, you can read from them simultaneously.

 

For example, let's say you have two drives. Then you could read bytes at index 0, 2, 4, … from one drive and bytes at index 1, 3, 5, … from the other one at the same time, effectively doubling your read speed. Provided the controller and bus it is connected to doesn't turn into a limit (which would most likely be the case for NVMe)

 

For write speed, it depends. RAID 0 means that you write separate halves of the data to two drives at the same time. It can be combined with other RAID levels (e.g. 5+0). Other levels generally decrease performance because of the parity bits that need to be calculated/written

does the data write multiple times or is it just across whoever is first available?

Note: Users receive notifications after Mentions & Quotes. 

Feel free to ask any questions regarding my comments/build lists. I know a lot about PCs but not everything.

PC:

Ryzen 5 5600 |16GB DDR4 3200Mhz | B450 | GTX 1080 ti

PCs I used before:

Pentium G4500 | 4GB/8GB DDR4 2133Mhz | H110 | GTX 1050

Ryzen 3 1200 3,5Ghz / OC:4Ghz | 8GB DDR4 2133Mhz / 16GB 3200Mhz | B450 | GTX 1050

Ryzen 3 1200 3,5Ghz | 16GB 3200Mhz | B450 | GTX 1080 ti

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, podkall said:

does the data write multiple times or is it just across whoever is first available?

depends on the type of RAID you're running.    

(This convo is probably worth a thread of its own)

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, tkitch said:

depends on the type of RAID you're running.    

(This convo is probably worth a thread of its own)

say less

Note: Users receive notifications after Mentions & Quotes. 

Feel free to ask any questions regarding my comments/build lists. I know a lot about PCs but not everything.

PC:

Ryzen 5 5600 |16GB DDR4 3200Mhz | B450 | GTX 1080 ti

PCs I used before:

Pentium G4500 | 4GB/8GB DDR4 2133Mhz | H110 | GTX 1050

Ryzen 3 1200 3,5Ghz / OC:4Ghz | 8GB DDR4 2133Mhz / 16GB 3200Mhz | B450 | GTX 1050

Ryzen 3 1200 3,5Ghz | 16GB 3200Mhz | B450 | GTX 1080 ti

Link to comment
Share on other sites

Link to post
Share on other sites

41 minutes ago, podkall said:

does the data write multiple times or is it just across whoever is first available?

All depends on the array type and setup, but e.g. if you have a 5-drive raidz1, i.e with protection against failure of one drive, anything you write, plus the redundancy data gets split into equal amounts that go to each of the 5 drives.

 

So in principle instead of writing the data to one drive and be limited by its speed you now write a 5th of the data to 5 drives at the same time, so it's 5x faster.

There's some overhead compared to the raw file for the redundancy data, calculations and synchronization so it'll be a bit less, but you get the idea.

 

This has data for a single drive at 108MB/s writes, and a raidz1 of 5 of the same drive at 469MB/s.

 

https://calomel.org/zfs_raid_speed_capacity.html

 

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

15 minutes ago, Kilrah said:

All depends on the array type and setup, but e.g. if you have a 5-drive raidz1, i.e with protection against failure of one drive, anything you write, plus the redundancy data gets split into equal amounts that go to each of the 5 drives.

 

So in principle instead of writing the data to one drive and be limited by its speed you now write a 5th of the data to 5 drives at the same time, so it's 5x faster.

There's some overhead compared to the raw file for the redundancy data, calculations and synchronization so it'll be a bit less, but you get the idea.

 

This has data for a single drive at 108MB/s writes, and a raidz1 of 5 of the same drive at 469MB/s.

 

https://calomel.org/zfs_raid_speed_capacity.html

 

and if I didn't care about data integrity, could it be just for speed? (each drive has bit of info) or is that too complicated or not really?

Note: Users receive notifications after Mentions & Quotes. 

Feel free to ask any questions regarding my comments/build lists. I know a lot about PCs but not everything.

PC:

Ryzen 5 5600 |16GB DDR4 3200Mhz | B450 | GTX 1080 ti

PCs I used before:

Pentium G4500 | 4GB/8GB DDR4 2133Mhz | H110 | GTX 1050

Ryzen 3 1200 3,5Ghz / OC:4Ghz | 8GB DDR4 2133Mhz / 16GB 3200Mhz | B450 | GTX 1050

Ryzen 3 1200 3,5Ghz | 16GB 3200Mhz | B450 | GTX 1080 ti

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, podkall said:

and if I didn't care about data integrity, could it be just for speed? (each drive has bit of info) or is that too complicated or not really?

RAID 0….

 

Me thinks you should just google RAID, and read for a few minutes 🙂 

Rig: i7 13700k - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Assorted SATA SSD's for Photo Work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - XT45 X-Flow 420 + UT60 280 rads - - EK XRES RGB PWM - - Fractal Define S2 - - Acer Predator X34 -- Logitech G502 - - Logitech G710+ - - Logitech Z5500 - - LTT Deskpad

 

Headphones/amp/dac: Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/ Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x4 TB WD Red RAID Z2 - - Corsair 750D - - Corsair RM650i - - Dell H310 6Gbps SAS HBA - - Intel RES2SC240 SAS Expander - - TreuNAS + many other VM’s

 

iPhone 14 Pro - 2018 MacBook Air

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, podkall said:

and if I didn't care about data integrity, could it be just for speed? (each drive has bit of info) or is that too complicated or not really?

That would be RAID 0. Data is written to all drives without the parity bit.  The downside is integrity. Loose one drive and all the data is gone.

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, LIGISTX said:

RAID 0….

 

Me thinks you should just google RAID, and read for a few minutes 🙂 

nah, RAID sounded pretty complicated to google

 

 

Note: Users receive notifications after Mentions & Quotes. 

Feel free to ask any questions regarding my comments/build lists. I know a lot about PCs but not everything.

PC:

Ryzen 5 5600 |16GB DDR4 3200Mhz | B450 | GTX 1080 ti

PCs I used before:

Pentium G4500 | 4GB/8GB DDR4 2133Mhz | H110 | GTX 1050

Ryzen 3 1200 3,5Ghz / OC:4Ghz | 8GB DDR4 2133Mhz / 16GB 3200Mhz | B450 | GTX 1050

Ryzen 3 1200 3,5Ghz | 16GB 3200Mhz | B450 | GTX 1080 ti

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, podkall said:

nah, RAID sounded pretty complicated to google

 

 

I can’t tell if you are joking or not….

 

The Wikipedia page for RAID has had extremely easy to understand pictures for decades. It’s super simple to understand with a few pictures. 

Rig: i7 13700k - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Assorted SATA SSD's for Photo Work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - XT45 X-Flow 420 + UT60 280 rads - - EK XRES RGB PWM - - Fractal Define S2 - - Acer Predator X34 -- Logitech G502 - - Logitech G710+ - - Logitech Z5500 - - LTT Deskpad

 

Headphones/amp/dac: Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/ Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x4 TB WD Red RAID Z2 - - Corsair 750D - - Corsair RM650i - - Dell H310 6Gbps SAS HBA - - Intel RES2SC240 SAS Expander - - TreuNAS + many other VM’s

 

iPhone 14 Pro - 2018 MacBook Air

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×