User Tools

Site Tools


computing:storage:aoe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computing:storage:aoe [2011/11/25 11:13]
gcooper
computing:storage:aoe [2017/06/07 11:29] (current)
gcooper
Line 1: Line 1:
-====== ATA Over Ethernet (AoE) ======+====== ATA over Ethernet (AoE) ======
  
 {{:computing:storage:coraid_logo.png?nolink& |}} {{:computing:storage:coraid_logo.png?nolink& |}}
Line 36: Line 36:
 http://www.linuxjournal.com/article/10780 http://www.linuxjournal.com/article/10780
  
 +http://www.howtoforge.com/ata_over_ethernet_debian_etch
 +
 +===== Old Notes =====
 +
 +==== Server Side (Target) ====
 +
 +''vblade'' - user space AoE server
 +''kvblade'' - kernel space server
 +
 +Performance difference? 
 +
 +[[virtualization:xen_virtualization|Xen Virtualization]] - Mount AoE storage in Dom0 then share to DomU's
 +
 +[[Linux Software RAID]] 1 to mirror two RAID 5 arrays
 +
 +==== Client Side (Initiator) ====
 +
 +Begin discovery of AoE targets:
 +
 +<file>
 +modprobe aoe
 +</file>
 +
 +No partition necessary - put filesystem on block device:
 +
 +''/dev/etherd/e<shelfnum>.<slotnum>''
 +
 +<file>
 +mkfs.ext3 /dev/etherd/e0.1
 +</file> 
 +
 +Partitions can be used:
 +
 +''/dev/etherd/e0.3p1''
 +
 +Custom init script to bring up and shut down AoE storage (FAQ)
 +
 +Admin Console uses port 6936
 +
 +Install compiler:
 +
 +<file>
 +yum install gcc gcc-c++ autoconf automake
 +</file>
 +
 +Install aoetools (domU):
 +
 +<file>
 +wget http://superb-west.dl.sourceforge.net/sourceforge/aoetools/aoetools-16.tar.gz
 +make install
 +</file>
 +
 +Install vblade (dom0) to export storage:
 +
 +<file>
 +wget http://internap.dl.sourceforge.net/sourceforge/aoetools/vblade-14.tgz
 +make 
 +make install
 +</file>
 +
 +
 +<file>
 +vi /etc/udev/rules.d/60-aoe.rules
 +
 +# These rules tell udev what device nodes to create for [[aoe]] support.
 +# They may be installed along the following lines.  Check the section
 +# 8 udev manpage to see whether your udev supports SUBSYSTEM, and 
 +# whether it uses one or two equal signs for SUBSYSTEM and KERNEL.
 +
 +# [[aoe]] char devices
 +SUBSYSTEM=="[[aoe]]", KERNEL=="discover",   NAME="etherd/%k", GROUP="disk", MODE="0220"
 +SUBSYSTEM=="[[aoe]]", KERNEL=="err",        NAME="etherd/%k", GROUP="disk", MODE="0440"
 +SUBSYSTEM=="[[aoe]]", KERNEL=="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220"
 +SUBSYSTEM=="[[aoe]]", KERNEL=="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220"
 +SUBSYSTEM=="[[aoe]]", KERNEL=="flush",      NAME="etherd/%k", GROUP="disk", MODE="0220"
 +
 +# [[aoe]] block devices     
 +KERNEL=="etherd*",       NAME="%k", GROUP="disk"
 +</file>
 +
 +Install kernel source:
 +
 +<file>
 +yum install kernel-xen-devel
 +</file>
  
computing/storage/aoe.1322244796.txt.gz · Last modified: 2011/11/25 11:13 by gcooper