Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
File System question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
SouthOfHeaven
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2003
Posts: 128

PostPosted: Sun Sep 07, 2008 2:41 am    Post subject: File System question Reply with quote

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
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Sun Sep 07, 2008 3:52 am    Post subject: Reply with quote

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
View user's profile Send private message
maslo64
n00b
n00b


Joined: 04 Sep 2008
Posts: 14
Location: Slovakia

PostPosted: Sun Sep 07, 2008 5:07 am    Post subject: Reply with quote

You can use DRDB : http://www.drbd.org/
It`s recommended by Linux-HA project :)

maslo
Back to top
View user's profile Send private message
SouthOfHeaven
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2003
Posts: 128

PostPosted: Mon Sep 08, 2008 3:33 pm    Post subject: Reply with quote

I love gentoo forums :tear:

Thanks that is perfecto
Back to top
View user's profile Send private message
maslo64
n00b
n00b


Joined: 04 Sep 2008
Posts: 14
Location: Slovakia

PostPosted: Mon Sep 08, 2008 6:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum