AW: RAID-1 over network?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jordan,

> I haven't been able find any info on this subject: Is it 
> somehow possible to mirror a partition from the local machine 
> to a remote machine in real time using the md driver? 
> According to the FAQ, "Software RAID works with any
> block device in the Linux kernel." Is there some way to create 
> a block device which points to a block device on another machine? 
> Or is this just a Bad Idea to begin with? Any help would be 
> appreciated.

While this might work it's definitely a bad idea: The standard raid code has no concept of one device being local and one on a (slower) network connection; it'll read from both drives and thus give lousy performance.

You should use the drbd driver instead, see http://www.linbit.com/en for more info; drbd does disk mirroring over a network connection and also has code to correctly handle disconnect  / reconect. for reconect it does a quick sync whenever safely possible (just sync the blocks that were changed while the 2nd computer was offline).

drbd uses a plain network connection for communication, so if you want/need encryption you'll have to set that up seperately using one of the many encrypting tunnel drivers (cipe,  freeswan (ipsec), poptop..).

Bye, Martin
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux