Search:  
Gentoo Wiki

HOWTO_aoe

Contents

What is ATA Over Ethernet?

ATA Over Ethernet (AOE) is an IEEE protocol capable of sending ATA commands over a network. It was developed by Coraid (a startup company) 1 in order to make Linux Storage Area Networks (SANs) easy to create. This page is intended to give an overview of the protocol, as many people may have found it in their kernel configurations and wondered at its purpose.

Arguments

Advantages

Disadvantages

Uses

ATA Over Ethernet is therefore useful for creating cheap SANs, but it is not intended for the average user. It is very definitely not useful for sharing files easily: NFS or Samba are much better for this.

Installation

Linux Kernel Configuration: ATA Over Ethernet
Device Drivers  --->
  Block devices  --->
    <*> ATA over Ethernet support

Server

First we have to unmask the packages

echo sys-block/vblade >> /etc/portage/package.keywords

Then install the server:

emerge -av sys-block/vblade

Now it is time to edit the config file, open /etc/conf.d/vblade and change the config to your liking. My config file looks like this:

config_vblade0="0 0 eth0 /dev/sda1"

The vblade0 part is the name, like with the net package the vblade package uses /etc/init.d/vblade.$NAME to start, where name defaults to vblade0. The first 0 is the shelf number, the second the slot number, change these numbers to your liking. The eth0 part tells vblade what interface to use, it will _only_ be available to that interface on that direct connection. It can't go through routers and it can't be redirected. The last argument is the device name to share, this could be /dev/hda1 or some other device.

After editing, it is time to start the server.

/etc/init.d/vblade.vblade0 start


Client

First we have to unmask the packages

echo sys-block/aoetools >> /etc/portage/package.keywords

Then install the client

emerge -av sys-block/aoetools

If you've done everything correctly then you should see the server share by typing aoe-stat now. You can mount the share from /dev/etherd/e$SHELF.$SLOT (which is /dev/etherd/e0.0 in my case)

Good luck with your new ATA over Ethernet system :)

WoLpH 18:00, 9 May 2006 (UTC)

Sources

Retrieved from "http://www.gentoo-wiki.info/HOWTO_aoe"

Last modified: Fri, 30 May 2008 00:27:00 +0000 Hits: 14,670