ATA over Ethernet

From Initq
Jump to: navigation, search

The ATA over Ethernet is a cheap solution to sharing sata drives over ethernet just like fiber over ethernet. You need to have a concurrent file system to achieve this otherwise you will have problems on multiple writes from different devices.

Contents

Project

Shave a Sata drive or a disk image over ethernet so it can be mounted by any other system.

Software

apt-get install vblade

Create Disk Image

dd if=/dev/zero of=somefilename bs=1M count=10
mkfs.ext3 somefilename

This command will create a 10 meg file since the count is 10 and block size is 1 meg.

Run the AOE

vblade 0 0 eth0 somefilename

On the Other Machine

Go to another machine and do

modprobe aoe
cat /proc/partitions
mount /dev/etherd/e0.0 /somedirectory

Now you have a 10 Meg share to write files to.

Personal tools