ATA over Ethernet
ATA over Ethernet (AoE) is a network protocol developed by the Brantley Coile Company, designed for simple, high-performance access of SATA storage devices over Ethernet networks. It is used to build storage area networks (SANs) with low-cost, standard technologies.
Prequisites to AOE
To use AOE you need the AUR packages vbladeAUR and aoetoolsAUR.
# ip set link eth0 up
Create a Disk with dd:
# dd if=/dev/zero of=vblade0 count=1 bs=1M
Start Vblade
# vblade 1 1 eth0 vblade0
Now a Client should be able to see the ATA-Drive
Testing Local
To test the setup localy you have to assign vblade to lo
# modprobe aoe # vblade 1 1 lo vblade0 & # aoe-interfaces eth0 # aoe-discover # aoe-stat e1.1 0.001GB eth0 up
Using AOE
# modprobe aoe # aoe-interfaces eth0 # aoe-discover # aoe-stat e1.1 0.001GB eth0 up
Now the device can be used as a normal device. It will also show up in fdisk!
So first make a file system:
# mkfs.ext4 /dev/ethered/e1.1 # mkdir /mnt/e1.1 # mount /dev/etherd/e1.1 /mnt/e1.1