Running is therapy

a blog about running, cats, Linux and programming.
  • Home
  • Current Schedule
  • Personal Records
  • Upcoming Races

ATA over Ethernet

Published by Nathan Powell on March 8, 2008 01:24 pm under computers

There are all kinds of ways to share storage on a network. AoE is one of them.

AoE couldn’t be easier to set up.

On the machine that will export a partition or hard drive, install vbladed. I installed it on my knoppmyth box here, as root:

  $ apt-get install vblade

Then fire it up on that machine, I export /dev/sda3 on eth0, as slot 0/shelf 0:

  $ vbladed 0 0 eth0 /dev/sda3

Then on the client machine install aoetools. I just used my Gutsy laptop:

  $ sudo apt-get install aoetools

Then discover, print out the drive details and mount the drive:

  $ sudo mkdir /mnt/aoe
  $ sudo aoe-discover
  $ sudo aoe-stat
      e0.0       244.249GB   eth1 up  
  $ sudo mount /dev/etherd/e0.0 /mnt/aoe/

Now, let’s watch some tv using ATA commands over Ethernet frames:

This gives us pretty cool low cost alternatives for SAN set ups.

4 Comments so far

  1. Bob Igo on March 8th, 2008

    How would you compare the performance and behavior of AoE to NFS, samba, sshfs, etc? Please give your reply in the form of interpretive dance.

  2. Nathan Powell on March 9th, 2008

    Hey Bob,

    /me begins to whirl dervishly about the room, all the while clucking and patting his rump.

    On a more serious note…

    That’s a good question and one I haven’t explored too deeply yet. I did some informal ‘time’ tests and it’s not compelling.

    Using AoE:

    npowell@delilah:~$ time mv /mnt/aoe/nathan/ubuntu-7.10-server-i386.iso .

    real 8m4.496s
    user 0m0.088s
    sys 0m3.848s

    Using sshfs:

    npowell@delilah:~$ time sudo mv /mnt/sshfs/nathan/ubuntu-7.10-server-i386.iso .

    real 4m15.202s
    user 0m0.048s
    sys 0m2.424s

    Now, these are far from being an exact science. I was actually using my laptop for other tasks while this was going on as well as surfing the nets, etc. So take what you will from that. But sshfs was faster by half.

    I am going to look around later today and see if this was an anomaly or about right.

  3. e on March 10th, 2008

    Um, I have no idea what you are talking about, but is that Alton Brown? I’ve seen that ep… Grilled CHeese??

  4. Nathan Powell on March 10th, 2008

    E, indeed it is. Alton is the man!

Posting your comment.

  • Search

  • Archives

    • October 2008 (5)
    • September 2008 (4)
    • August 2008 (10)
    • July 2008 (11)
    • June 2008 (14)
    • May 2008 (15)
    • April 2008 (10)
    • March 2008 (16)
    • February 2008 (17)
    • January 2008 (37)
    • December 2007 (21)
    • November 2007 (30)
    • October 2007 (29)
    • September 2007 (22)
    • August 2007 (30)
    • July 2007 (49)
    • June 2007 (32)
    • May 2007 (29)
    • April 2007 (38)
    • March 2007 (26)
    • February 2007 (25)
    • January 2007 (23)
    • December 2006 (10)
    • November 2006 (12)
    • October 2006 (9)
    • September 2006 (9)
    • August 2006 (5)
    • July 2006 (13)
    • June 2006 (9)
    • May 2006 (8)
    • April 2006 (11)
    • March 2006 (12)
    • February 2006 (12)
    • January 2006 (13)
    • December 2005 (15)
    • November 2005 (19)
    • October 2005 (8)
  • Categories

    • blather (63)
    • books (10)
    • computers (177)
    • cooking (1)
    • economics (3)
    • emacs (3)
    • football (1)
    • gaming (1)
    • hiking (5)
    • housekeeping (5)
    • lifehacking (7)
    • music (3)
    • paddling (2)
    • personal (1)
    • politics (21)
    • programming (70)
    • running (233)
    • smoking (40)
    • sysadmin (10)
    • tlc (10)
    • Uncategorized (1)
  • Pages

    • Current Schedule
    • Personal Records
    • Upcoming Races

Copyright © 2008 Running is therapy
WordPress Theme based on Light Theme