View previous topic :: View next topic |
Author |
Message |
SouthOfHeaven Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 05 Apr 2003 Posts: 128
|
Posted: Sun Sep 07, 2008 2:41 am Post subject: File System question |
|
|
Is there a file system that can do mirroring but over ethernet ? I would like something like a partition that gets mirrored over ethernet. I have my live system and i want the data to be available on two hard drives live. I was looking at ATA Over Ethernet ... but i dont know if it can mirror on another system. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sadako Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/2074682074aea79062b33b.jpg)
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Sun Sep 07, 2008 3:52 am Post subject: |
|
|
I'm pretty sure anything like this would have to be down at the block device rather than the filesystem level, but what you could try is setting up an nbd (network block device) on the remote partition you want to mirror to, then use linux's software raid via mdadm to set up the mirror on the exported nbd and the local partition you want to have mirrored.
The above isn't particularly clear even to me, so I'll put it like this;
Remote machine "exports" partition /dev/sda1 as nbd0
Local machine sets the remote nbd0 up as /dev/nbd0
Via mdadm you set up a raid 1 mirror (/dev/md1) comprising of /dev/nbd0 and /dev/sda3
mkfs /dev/md0
Please note that I have never done this and have no idea whether it would work or not, but based on my experiences with both nbd and mdadm I really can't see any reason it wouldn't, and you should be able to easily use something else instead of nbd if desired.
HTH _________________ "You have to invite me in" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
maslo64 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/simpsons_homer.gif)
Joined: 04 Sep 2008 Posts: 14 Location: Slovakia
|
Posted: Sun Sep 07, 2008 5:07 am Post subject: |
|
|
You can use DRDB : http://www.drbd.org/
It`s recommended by Linux-HA project
maslo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SouthOfHeaven Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 05 Apr 2003 Posts: 128
|
Posted: Mon Sep 08, 2008 3:33 pm Post subject: |
|
|
I love gentoo forums :tear:
Thanks that is perfecto |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
maslo64 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/simpsons_homer.gif)
Joined: 04 Sep 2008 Posts: 14 Location: Slovakia
|
Posted: Mon Sep 08, 2008 6:43 pm Post subject: |
|
|
This is why I switched to gentoo. great comunity , good documentation.
Anyway there is also BTRFS http://btrfs.wiki.kernel.org/index.php/Main_Page filesystem which still only for "developers" right now i think. But i am looking closely for grow of this project which as it looks promissing.
maslo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|