NAS to NAS or RTRR

Discussion on remote replication.
Locked
User avatar
Spider99
Experience counts
Posts: 1951
Joined: Fri Oct 21, 2011 11:14 pm
Location: UK

Re: NAS to NAS or RTRR

Post by Spider99 »

mdm is the disk manager is it not?

as for the caching yes have been keeping an eye on a few threads about this - my thought was its optimised for small files and they forgot about big ones or though it would be ok - needs a switch to say ignore anything over xMB

is this r/w or just a read cache issue?
Tim

TS-853A(16GB): - 4.3.4.0483 - Static volume - Raid5 - 8 x 4TB HGST Deskstar NAS
Windows Server + StableBit Drivepool and Scanner ~115 TB Backup Server
TS-412 & TS-459 Pro II: Retired
Clients: 3 x Windows 10 Pro(64bit)
cryptochrome
Been there, done that
Posts: 577
Joined: Sat Mar 09, 2013 7:26 pm

Re: NAS to NAS or RTRR

Post by cryptochrome »

mdm (or mda?) is the linux raid process.

well they actually have a setting for the SSD cache to ignore anything larger than N. If you set it higher than 1 MB, problems start to kick in, and the higher you go, the worse the problems. QNAP uses lvm-cache for SSD caching and that works perfectly well even with unlimited cache object size under normal conditions. My guess is they either use a buggy lvm version or their implementatin is just borked. Needless to say that QNAP support staff are utterly useless.
Steerpike
Starting out
Posts: 43
Joined: Tue Nov 22, 2016 11:39 pm
Location: Bay Area, CA

Re: NAS to NAS or RTRR

Post by Steerpike »

cryptochrome wrote:mdm (or mda?) is the linux raid process.

well they actually have a setting for the SSD cache to ignore anything larger than N. If you set it higher than 1 MB, problems start to kick in, and the higher you go, the worse the problems. QNAP uses lvm-cache for SSD caching and that works perfectly well even with unlimited cache object size under normal conditions. My guess is they either use a buggy lvm version or their implementatin is just borked. Needless to say that QNAP support staff are utterly useless.
Can you clarify what 'normal conditions' means in this context? The way I read the above, SSD caching is great under 'normal conditions' but goes south if you set the SSD cache > 1MB. So it works fine at a setting < 1 MB?
cryptochrome
Been there, done that
Posts: 577
Joined: Sat Mar 09, 2013 7:26 pm

Re: NAS to NAS or RTRR

Post by cryptochrome »

With normal conditions I meant that lvm-cache works just fine with large cache block sizes outside of QNAP, e.g. in any Linux distribution (like Ubuntu). Meaning, it is a supported scenario to use large cache block sizes. QNAP expose that in their GUI (you can even set "unlimited") so it's supposedly supported. It just doesn't work.

When setting cache block size to 1 MB or lower the erratic behavior is still visible but to a much lesser extent. It really starts to go south if you set it to 4 MB or higher.
Steerpike
Starting out
Posts: 43
Joined: Tue Nov 22, 2016 11:39 pm
Location: Bay Area, CA

Re: NAS to NAS or RTRR

Post by Steerpike »

I finally got my two NAS devices in their respective locations (one in AZ, one in CA) and am now doing testing between the two locations. Last night I was able to sync some large files (1GB+ ISO files) using RTRR at about 3.4 Mbps, and my typical home upload speed it about 6Mbps; I now plan to test with NAS to NAS.

But one question arose that people may be able to answer. By accident, I left a bunch of files in the '@Recycle' folder. Typically, I don't plan to use that, and if used, I don't need to replicate it. I found, in the job settings for RTRR job, 'Policy' tab, a setting 'Filter System-Generated Temporary Files'. The 'help' for that item says 'Temporary files created by the system (including thumbnails and @recycle) will be filtered'. So that seems pretty clear; checking that box should stop replicating the @recycle folder; but what else will it stop? 'temporary files created by the system ...' suggests files created by QNAP itself, perhaps, but '...including thumbnails ...' ... does the QNAP create thumbnails? I just don't want to prevent replication of (eg) thumbnails created by my apps and stored on the NAS.
User avatar
Spider99
Experience counts
Posts: 1951
Joined: Fri Oct 21, 2011 11:14 pm
Location: UK

Re: NAS to NAS or RTRR

Post by Spider99 »

thumbnails would not be temporary files

these are created by the media apps usually and file manager if you have generate media files still turned on in the preferences

they are stored in hidden directories @__thumb - search on the forum about them - great way to double the number of files on your nas! :)
Tim

TS-853A(16GB): - 4.3.4.0483 - Static volume - Raid5 - 8 x 4TB HGST Deskstar NAS
Windows Server + StableBit Drivepool and Scanner ~115 TB Backup Server
TS-412 & TS-459 Pro II: Retired
Clients: 3 x Windows 10 Pro(64bit)
User avatar
Moogle Stiltzkin
Guru
Posts: 11448
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: NAS to NAS or RTRR

Post by Moogle Stiltzkin »

i recently did a backup for 6-7tb worth of data from my TS-653A to TS-659 Pro II using NAS to NAS in back up station. Eta was 2-3 days :X

So initial backup does take a while, but subsequent backup using the same, should be faster as i can set the option not to replace if file already at destination. It should then copy only files that changed :X

if i'm not mistaken the transfer speed i was getting was between 25-60 ish MB/s or something

Spider99 says rtrr is better so maybe i should have used that :ashamed:
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
User avatar
Spider99
Experience counts
Posts: 1951
Joined: Fri Oct 21, 2011 11:14 pm
Location: UK

Re: NAS to NAS or RTRR

Post by Spider99 »

rtrr - good on the lan - but use the more powerful cpu to do the work - push or pull

rsync better over wan (or more reliable as thats what it was design for originally)
Tim

TS-853A(16GB): - 4.3.4.0483 - Static volume - Raid5 - 8 x 4TB HGST Deskstar NAS
Windows Server + StableBit Drivepool and Scanner ~115 TB Backup Server
TS-412 & TS-459 Pro II: Retired
Clients: 3 x Windows 10 Pro(64bit)
User avatar
Moogle Stiltzkin
Guru
Posts: 11448
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: NAS to NAS or RTRR

Post by Moogle Stiltzkin »

Spider99 wrote:rtrr - good on the lan - but use the more powerful cpu to do the work - push or pull

rsync better over wan (or more reliable as thats what it was design for originally)
ty :)
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
User avatar
Moogle Stiltzkin
Guru
Posts: 11448
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: NAS to NAS or RTRR

Post by Moogle Stiltzkin »

Spider99 wrote:rtrr - good on the lan - but use the more powerful cpu to do the work - push or pull

rsync better over wan (or more reliable as thats what it was design for originally)
thx.

by the way only reason i did nas to nas because it had this option which rtrr did not from settings.
nas to nas p1.jpg

also real time is as implied always on. but i wanted to rely on a scheduled backup rather than 24/7 because if anything happens with the production server, i did not want it to auto backup changes that went bad. so only NAS to NAS had an option for scheduling backup to stagger over a timeline e.g. daily, weekly, monthly etc.

But looking at it another way, maybe initial backup using rtrr then disabling it, to later use NAS to NAS for future scheduling may have worked? But i did not want to backup everything, only specific shares. Not sure if RTRR could do that or not :S
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
User avatar
Spider99
Experience counts
Posts: 1951
Joined: Fri Oct 21, 2011 11:14 pm
Location: UK

Re: NAS to NAS or RTRR

Post by Spider99 »

rtrr can be done to a time schedule over hours days etc as well as real -time sync (dangerous as you pointed out)

clues in the name real time remote replication :mrgreen:
Tim

TS-853A(16GB): - 4.3.4.0483 - Static volume - Raid5 - 8 x 4TB HGST Deskstar NAS
Windows Server + StableBit Drivepool and Scanner ~115 TB Backup Server
TS-412 & TS-459 Pro II: Retired
Clients: 3 x Windows 10 Pro(64bit)
P3R
Guru
Posts: 13192
Joined: Sat Dec 29, 2007 1:39 am
Location: Stockholm, Sweden (UTC+01:00)

Re: NAS to NAS or RTRR

Post by P3R »

Moogle Stiltzkin wrote:by the way only reason i did nas to nas because it had this option which rtrr did not from settings.
If you mean the option "Only copy files that differ from files at the destination", RTRR always do that. The difference is that you can't disable it in RTRR.
But i did not want to backup everything, only specific shares. Not sure if RTRR could do that or not :S
Of course it can, shares or even subfolders of shares.

RTRR have been constantly developed and have more features and advantages than NAS to NAS:
  • Both real time and scheduled modes
  • Two way synchronization (I'm not a fan and don't know how well it handles conflicts but it's available for the many users asking for it)
  • Choice of protocols; RTRR, FTP, CIFS/Samba
  • Versioning (this alone make it a killer app!)
  • Best performance for bulk copying on fast, LAN-like, connections (disable; Check file contents, Compress files during transmission, Delete extra files)
I'd say that today RTRR is almost always preferable and the only reasons to use Nas to NAS are when you want:
  • Rsync protocol
  • Block based mode (only the parts of a large file that have changed will be transferred)
  • Best performance on very slow connections, like <5 Mbit/sec
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!

A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.

All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
User avatar
Moogle Stiltzkin
Guru
Posts: 11448
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: NAS to NAS or RTRR

Post by Moogle Stiltzkin »

Spider99 wrote:rtrr can be done to a time schedule over hours days etc as well as real -time sync (dangerous as you pointed out)

clues in the name real time remote replication :mrgreen:
i was looking at the gui but didn't see it. maybe it only shows up when added first ? :S i'll check next time xd.

@p3r hm thx for explanation :)
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
User avatar
Spider99
Experience counts
Posts: 1951
Joined: Fri Oct 21, 2011 11:14 pm
Location: UK

Re: NAS to NAS or RTRR

Post by Spider99 »

yes you need to go through the various screens and the options p3r listed appear on those along with others including the schedule - one of the later screens - just setup a dummy job you can always delete it afterwards
Tim

TS-853A(16GB): - 4.3.4.0483 - Static volume - Raid5 - 8 x 4TB HGST Deskstar NAS
Windows Server + StableBit Drivepool and Scanner ~115 TB Backup Server
TS-412 & TS-459 Pro II: Retired
Clients: 3 x Windows 10 Pro(64bit)
User avatar
Moogle Stiltzkin
Guru
Posts: 11448
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: NAS to NAS or RTRR

Post by Moogle Stiltzkin »

Spider99 wrote:yes you need to go through the various screens and the options p3r listed appear on those along with others including the schedule - one of the later screens - just setup a dummy job you can always delete it afterwards
found the resource which includes the step by step procedure
https://www.qnap.com/en/tutorial/con_sh ... one&cid=41

yes u guys were right there was a scheduling option my bad :ashamed:

Image

and some finer settings similar to what NAS to NAS had
Image

and additional settings
Image

Image


So i guess what i should have done is use the schedule mode from the selection. Then once it was set up, i can then click run now (looking at the last screenshot it looks like you would be able to run right now). And when it was completed, i can just stop the scheduling then only run it manually when i need to do it. I don't trust automation, i prefer a hands on approach :mrgreen: but now i know the steps for next time so thx.



since i'm doing a review i'll run a rtrr and take some screenshots of the procedure and see if it works or not :mrgreen:
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
Locked

Return to “Remote Replication/ Disaster Recovery”