ATAOverEthernet

Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2006-08-01 03:39:12
Size: 1535
Editor: eth6067
Comment:
Revision 10 as of 2006-08-01 04:07:54
Size: 2261
Editor: eth6067
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= ATA over Ethernet = ||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Contents'''[[BR]][[TableOfContents]]||

= Introduction =
Line 4: Line 6:
software (vblade) whoch allows any one to set up an ATA over Ethernet
storage network... and it is very to do in Ubuntu (currently Dapper
software (vblade) whoch allows anyone to set up an ATA over Ethernet
storage network... and it is very easy to do in Ubuntu (currently Dapper
Line 8: Line 10:
== Required packages == WARNING: These commands need to be run with root privilages (sudo su).
Do this at your own risk.

= Required Packages =

With the 'universe' repository enabled..
Line 11: Line 18:
{{{
  (server)# apt-get install vblade
}}}
On the Ubuntu host that you wish to mount the disk on:
{{{
  (client)# apt-get install aoe-tools
}}}
Line 12: Line 26:
  (server)# apt-get install vblade = To Configure =
To test that everything is working correctly, we created and used a
1 Mbyte file (vblade0). Any other block device could be used instead.
Line 14: Line 30:
On the Ubuntu host that you wish to mount the disk on:

  (client)# apt-get install aoe-tools

On the server:
On the server
{{{
Line 25: Line 37:
}}}
The deamon ('vbladed') could be used instead of 'vblade', which detaches the process from the console and send log messages to the system logs.
Line 27: Line 41:
{{{
Line 30: Line 44:
}}}
Line 31: Line 46:
== Using AoE == = Using AoE =
Line 33: Line 48:
{{{
Line 35: Line 50:
}}}
Line 41: Line 56:
{{{
Line 44: Line 59:
}}}
Line 49: Line 64:
{{{
Line 51: Line 66:
  }}}
Line 53: Line 68:
{{{
Line 56: Line 71:
}}}
Line 60: Line 75:
== References == = References =
Line 62: Line 77:
http://www.coraid.com/support/linux/EtherDrive-2.6-HOWTO.html

Introduction

There is now a kernel module (aoe), tools (aoetools) and server software (vblade) whoch allows anyone to set up an ATA over Ethernet storage network... and it is very easy to do in Ubuntu (currently Dapper 6.06 LTS).

WARNING: These commands need to be run with root privilages (sudo su). Do this at your own risk.

Required Packages

With the 'universe' repository enabled..

On the Ubuntu host that you wish to be the disk server:

  (server)# apt-get install vblade

On the Ubuntu host that you wish to mount the disk on:

  (client)# apt-get install aoe-tools

To Configure

To test that everything is working correctly, we created and used a 1 Mbyte file (vblade0). Any other block device could be used instead.

On the server

  (server)# dd if=/dev/zero of=vblade0 count=1 bs=1M
  (server)# vblade 1 1 eth0 vblade0
  ioctl returned 0
  1048576 bytes
  pid 25000: e1.1, 2048 sectors

The deamon ('vbladed') could be used instead of 'vblade', which detaches the process from the console and send log messages to the system logs.

On the client:

  (client)# sys_dir=/sys aoe-stat
          e1.1         0.001GB   eth0 up

Using AoE

Insert the module into the linux kernel.

  (client)# modprobe aoe

This can automatically be performed at startup, by entering a line into the /etc/modules file.

The device and directory automatially get created when the aoe module is inserted into the kernel.

  (client)# aoe-interfaces eth0
  (client)# aoe-discover

The block device is then located in /dev/etherd/e1.1 and can be treated like any other block device.

Create a filesystem:

  (client)# mke2fs /dev/etherd/e1.1

Create a mount point and mount the file system:

  (client)# mkdir /var/tmp/mnt
  (client)# mount /dev/etherd/e1.1 /var/tmp/mnt

This can be made to automatically mount on reboot, by entering a configuration line in /etc/fstab (untested).

References

http://www.coraid.com/support/linux/EtherDrive-2.6-HOWTO.html

ATAOverEthernet (last edited 2008-08-06 16:59:42 by localhost)