Wednesday, February 17, 2016

ATA over Ethernet AOE with aoetools and vblade

***information
-server: disk /dev/sdb -- partition /dev/sdb1 and /dev/sdb2
             interface: eth0
-client mac: 00:50:56:c0:00:01
             interface: vmnet1

1- on server
- install vblade server
$ sudo apt-get install vblade
- add /dev/sdb1 and /dev/sdb2 to vblade configuration file /dev/vblade.conf as bellow:
eth0 0 0 /dev/sdb1 00:50:56:c0:00:01
eth0 0 1 /dev/sdb2 00:50:56:c0:00:01


2- on client
- install aoetools
$ sudo apt-get install aoetools

- probe the kernel modules of aoe
$ sudo  modprobe aoe
$ sudo modprobe aoe aoe_iflist="vmnet1" 

- discovery and read read aoe stats
$ sudo aoe-discover
$ sudo aoe-stat
      e0.0        10.737GB     vmnet1 1024  up           
      e0.1        10.736GB     vmnet1 1024  up 


- mount disks
$ sudo mount /dev/etherd/e0.1 /media/disk1/
$ sudo mount /dev/etherd/e0.0 /media/disk0/



***Note ***
if the disk is not formatted with any file system yet, you have to format it to any file system you with.

No comments:

Post a Comment