World Library  
Flag as Inappropriate
Email this Article

ATA over Ethernet

Article Id: WHEBN0001974089
Reproduction Date:

Title: ATA over Ethernet  
Author: World Heritage Encyclopedia
Language: English
Subject: LayerWalker, Network-attached storage, Storage area network, Parallel ATA, Storage area networks
Collection: At Attachment, Ethernet, Network Protocols, Storage Area Networks
Publisher: World Heritage Encyclopedia

ATA over Ethernet

ATA over Ethernet (AoE) is a network protocol developed by the Brantley Coile Company, designed for simple, high-performance access of block storage devices over Ethernet networks. It is used to build storage area networks (SANs) with low-cost, standard technologies.


  • Protocol description 1
    • ATA encapsulation 1.1
    • Routability 1.2
    • Security 1.3
    • Config string 1.4
  • Operating system support 2
    • Linux target support 2.1
  • Hardware support 3
  • Related concepts 4
    • Storage area networks 4.1
    • Using storage area networks 4.2
  • See also 5
  • References 6
  • External links 7

Protocol description

AoE runs on layer 2 Ethernet. AoE does not use internet protocol (IP); it cannot be accessed over the Internet or other IP networks. In this regard it is more comparable to Fibre Channel over Ethernet than iSCSI.

With fewer protocol layers, this approach makes AoE fast and lightweight. It also makes the protocol relatively easy to implement, provides intrinsic security protections by virtue of its being non-routable, and offers linear scalability with high performance. The AoE specification is 12 pages[1] compared with iSCSI's 257 pages.[2]

AoE Header Format:
      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   0 |                    Ethernet Destination MAC Address           |
   4 |   Ethernet Destination (cont) |  Ethernet Source MAC Address  |
   8 |                    Ethernet Source MAC Address (cont)         |
  12 |     Ethernet Type (0x88A2)    |  Ver  | Flags |     Error     |
  16 |             Major             |     Minor     |    Command    |
  20 |                              Tag                              |
  24 |                              Arg                              |

AoE has the IEEE assigned EtherType 0x88A2.

ATA encapsulation

SATA (and older PATA) hard drives use the Advanced Technology Attachment (ATA) protocol to issue commands, such as read, write, and status. AoE encapsulates those commands inside Ethernet frames and lets them travel over an Ethernet network instead of a SATA or 40-pin ribbon cable. Although internally AoE uses the ATA protocol, it presents the disks as SCSI to the operating system. Also the actual disks can be SCSI or any other kind, AoE is not limited to disks that use the ATA command set. By using an AoE driver, the host operating system is able to access a remote disk as if it were directly attached.

The encapsulation of ATA provided by AoE is simple and low-level, allowing the translation to happen either at high performance or inside a small, embedded device, or both.


AoE is a layer 2 protocol running at the data-link layer, unlike other SAN protocols which run on top of layer 3 utilizing IP. While this reduces the significant processing overhead of TCP/IP, this means that routers cannot route AoE data across disparate networks (such as the Internet). Instead, AoE packets can only travel within a single local Ethernet storage area network (e.g., a set of computers connected to the same switch or in the same LAN Subnet or VLAN).


The non-routability of AoE is the only security mechanism (i.e., an intruder can't connect through a router—they must physically plug into the local Ethernet switch where Ethernet frame tunneling over routed networks is not in use). However, there are no AoE-specific mechanisms for password verification or encryption. The protocol provides for AoE targets such as Coraid Storage appliances, vblade and GGAOED to establish access lists ("masks") allowing connections only from specific MAC addresses (although these can be spoofed).

Config string

The AoE protocol provides a mechanism for host-based cooperative locking. When more than one AoE initiator is using an AoE target they must communicate to avoid interfering with one another as they read and write the config string data on the shared AoE device. Without this cooperation file-system corruption and data loss is likely, unless access is strictly read-only or a cluster file system is used).

One option provided by AoE is to use the storage device itself as the mechanism for determining specific host access. This is the AoE "config string" feature.[3] The config string can record who is using the device, as well as other information. If more than one host tries to set the config string simultaneously, only one succeeds. The other host is informed of the conflict.

Operating system support

The following operating systems provide ATA over Ethernet (AoE) support:

OS Support Third-party drivers
Linux Native (2.6.11+) Coraid
Windows Third-party StarWind Software AoE Initiator,[4] WinTarget AoE Target,[5] WinAoE,[6] WinVBlock [7]
Mac OS X 10.4 and up Third-party From 2006 through 2010, 2ºFrost Technologies developed proprietary software and marketed AoE storage solutions in the Windows and Mac markets.
Mac OS X 10.5 and 10.6 Third-party Small Tree Communications [8]
Solaris Third-party Coraid
FreeBSD Third-party Coraid (outdated)
OpenBSD Native (4.5 to 5.6[9])
VMware Third-party Coraid
Plan 9 from Bell Labs [10] Native

Linux target support

Linux can function as an AoE target using one of these independently developed implementations:

  • vblade[1], a userspace daemon that is part of the aoetools package.
  • kvblade[2], a Linux kernel module.
  • ggaoed[3], a userspace daemon that takes advantage of Linux-specific performance features.
  • qaoed[4], a multithreaded userspace daemon.
  • aoede[5], a userspace daemon with experimental protocol extensions.

Hardware support

The Coraid company offered an array of AoE SAN appliances under the EtherDrive brand, along with diskless gateways that add network-attached storage functionality, using the NFS or SMB protocols, to one or more AoE appliances.

In 2007, LayerWalker[11] announced the world's first single-chip AoE hardware solution called miniSAN[12] running at both Fast and Gigabit Ethernet grades. The miniSAN product family offers standard AoE server functions plus other management features that targets PC, consumer and SMB markets.

Data Fabrics Inc. offers low-cost internal and external GbE AoE enablers as well as desktop and rackmount AoE SAN appliances.

Related concepts

Although AoE is a simple network protocol, it opens up a complex realm of storage possibilities. To understand and evaluate these storage scenarios, it helps to be familiar with a few concepts.

Storage area networks

A SAN allows the physical hard drive to be removed from the server that uses it, and placed on the network. A SAN interface is similar in principle to non-networked interfaces such as SATA or SCSI. Most users will not use a SAN interface directly. Instead, they will connect to a server that uses a SAN disk instead of a local disk. Direct connection, however, can also be used.

When using a SAN network to access storage, there are several potential advantages over a local disk:

  • It is easier to add storage capacity and the amount of storage is practically unlimited.
  • It is easier to reallocate storage capacity.
  • Data may be shared.
  • Additionally, compared to other forms of networked storage, SANs are low-level and high performance

Using storage area networks

To use a SAN disk, the host must format it with a filesystem. Unlike a SATA or SCSI disk, however, a SAN hard drive may be accessed by multiple machines. This is a source of both danger and opportunity.

Traditional filesystems (such as FAT or ext3) are designed to be accessed by a single host, and will cause unpredictable behavior if accessed by multiple machines. Such filesystems may be used, and AoE provides mechanisms whereby an AoE target can be guarded against simultaneous access (see: Config String).

Shared disk file systems allow multiple machines to use a single hard disk safely by coordinating simultaneous access to individual files. These filesystems can be used to allow multiple machines access to the same AoE target without an intermediate server or filesystem (and at higher performance).

See also


  1. ^ S. Hopkins, B. Coile (February 2009). "AoE (ATA over Ethernet)" (PDF). 
  2. ^
  3. ^ Quanstrom, Erik. "aoecfg(8) - Linux man page". Retrieved 5 July 2011. 
  4. ^ StarWind Free AoE Initiator for Microsoft Windows
  5. ^ WinTarget AoE Target: A bootable, Free AoE Target for Microsoft Windows
  6. ^ WinAoE Driver: A bootable, open source AoE initiator
  7. ^ WinVBlock Driver: A WinAoE fork capable of booting AoE targets, file-backed disks and RAM disks created with MEMDISK and GRUB4DOS
  8. ^ Small Tree - The Mac Network Experts
  9. ^ OpenBSD -current changelog
  10. ^ Plan 9 from Bell Labs
  11. ^ LayerWalker Technology, Inc.
  12. ^

External links

  • Articles:
    • ATA Over Ethernet: Putting Hard Drives on the LAN — Linux Journal (28 April 2005)
    • ATA-over-Ethernet enables low-cost Linux-oriented SAN — (23 June 2004)
    • The ATA over Ethernet (AoE) Protocol — Linux Magazine (June 15, 2005)
  • HowTos:
    • Using ATA Over Ethernet On Debian Etch
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.