Difference between revisions of "Vblade - ATA over Ethernet"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m (Installation)
m (Installation)
Line 12: Line 12:
 
{{Brick|This was a proof of concept exercise that someone on the IRC proposed.  I bricked my LS the first time I played with this and had to reflash}}
 
{{Brick|This was a proof of concept exercise that someone on the IRC proposed.  I bricked my LS the first time I played with this and had to reflash}}
 
=Installation=
 
=Installation=
The Linkstation is used as a server running '''vblade'''.  A separate computer is a client running '''aoetools'''.  This version of vblade runs in userspace, however there is a version that runs in kernelspace.<ref>[http://lpk.com.price.ru/~lelik/AoE/  Vblade Linux kernel module]</ref><ref>[http://sourceforge.net/project/showfiles.php?group_id=130453&package_id=201711        Sourceforge: Kvblade]
+
The Linkstation is used as a server running '''vblade'''.  A separate computer is a client running '''aoetools'''.  This version of vblade runs in userspace, however there is a version that runs in kernelspace.<ref>[http://lpk.com.price.ru/~lelik/AoE/  Vblade Linux kernel module]</ref><ref>[http://sourceforge.net/project/showfiles.php?group_id=130453&package_id=201711        Sourceforge: Kvblade]</ref>
  
 
{{Postit|USB Drive|I bricked my LS when trying to mount an internal partition the first time I tried this, so I used a usb drive this time around. Which on my LinkStation was <tt>/dev/sda1</tt> - [[User:Ramuk|Ramuk]]}}  
 
{{Postit|USB Drive|I bricked my LS when trying to mount an internal partition the first time I tried this, so I used a usb drive this time around. Which on my LinkStation was <tt>/dev/sda1</tt> - [[User:Ramuk|Ramuk]]}}  

Revision as of 02:40, 28 August 2006

162px-Harddisk-head.jpg

120px-Cat5-cable-with-RJ45.jpg

Contents

Background

ATA over Ethernet (AoE)[1] is a network protocol developed by the Brantley Coile Company (now Coraid)[2], designed for accessing ATA storage devices over Ethernet networks. It gives the possibility to build SANs with low-cost, standard technologies. AoE does not rely on network layers above Ethernet, such as IP, UDP, TCP, etc. This means that AoE is not routable over LANs and is intended for SANs only. An alternative to iSCSI, the AoE specification[3] [4] is 8 pages compared with iSCSI's[5] 257 pages.


Kurobrick.png
WARNING!

There is a possibility that you could brick your NAS with these instructions. Please make sure that you read the entire page carefully. This was a proof of concept exercise that someone on the IRC proposed. I bricked my LS the first time I played with this and had to reflash


Installation

The Linkstation is used as a server running vblade. A separate computer is a client running aoetools. This version of vblade runs in userspace, however there is a version that runs in kernelspace.[6][7]

USB Drive
Bar.png
I bricked my LS when trying to mount an internal partition the first time I tried this, so I used a usb drive this time around. Which on my LinkStation was /dev/sda1 - Ramuk


Server (vblade)

FreeLink

Use aptitude to install vblade componant of AOE. You will need to have the unstable branch added: Get access to packages from the Debian unstable branch

apt-get install vblade

usage: vblade <shelf> <slot> <ethn> <device>

vblade 1 2 eth0 /dev/sda1 &

Client (aoetools)

Install the aoetools[8] package [9] using aptitude. You will need to have Unstable (Debian) or Testing (Debian) branch enabled.

My Client
Bar.png
In this case I have a PIII/600 Compaq Armada laptop running Ubuntu Dapper Drake. - Ramuk


sudo apt-get aoetools
mkdir mountpoint
sudo modprobe aoe

check to see that your vblade device is available to mount

sudo aoe-stat

you should see output like this:

e1.2        20.003GB   eth0 up

Mount this device on your client

sudo mount -t vfat /dev/etherd/e1.2 mountpoint/

and try it out, hopefully it works. There is some useful Linux support on the Coraid site[10]

References

  1. Wikipedia:ATA over Ethernet
  2. Coraid:: The Linux Storage People
  3. Advanced Technology Attachment(ATA) over Ethernet - (AoE)
  4. Coraid: The AoE Protocol
  5. RFC 3720 - Internet Small Computer Systems Interface - (iSCSI)
  6. Vblade Linux kernel module
  7. Sourceforge: Kvblade
  8. Sourceforge: ATA Over Ethernet Tools - the server side part of AoE and this one runs in userspace
  9. Debian Package: aoetools - tools to assist in using ATA over Ethernet
  10. Linux Support for EtherDrive (R) Storage