Nfs – Is is possible to live sync two network drives

nfsrsyncsynchronizationxfs

I have one NAS in India (active) and while other in US(passive).

I want to sync the US NAS with that of India in real time (with permissible latency)

I tried using RAID1 for this purpose, but I don't know how to use RAID on two network drives.

Is it even possible? If yes how? In no, how to achieve this?

Best Answer

RAID is definitely not your answer. RAID is generally for drives being used in an array in the same physical location.

If you want to sync file systems across continents, then you need to use a NAS product that has some form of live mirroring capability. Most enterprise-class SAN/NAS products have this feature.

Otherwise, something like lsyncd or even a homegrown script to constantly rsync the two filesystems is probably your best bet.