Zach Shepherd's WordPress Blog

Just another WordPress weblog

Tuesday, October 16, 2007

A note on using AoE with Virtual Machines

An issue I ran into recently (and was finally able to confirm was solved) is that when having a virtual machine on the COSI setup mount an AoE device, some special considerations need to be made. Because the modules directory is on a separate partition (shared between the images), modules listed in /etc/modules wont be added because the files haven’t yet been mounted. When the devices in fstab are finally mounted, the modules are now accessible, but because the AoE modules weren’t added, the mounting of those devices fails.

The solution? Add the modprobe commands, followed by “mount -a” to the rc.local (which is run after the modules directory has been mounted).

If anyone knows of a better solution, I’d certainly be interested, but this appears to work for now.

posted by Zach at 9:02 pm  


  1. You should put the modules in the initial RAM disk. (initrd file).

    This link, even though it is a fedora forum, should work for debian/ubuntu initrd files.

    If you need to build a ubuntu or debian one:

    Comment by Todd Deshane — October 17, 2007 @ 8:24 am

  2. I think I understand the concept, but if you’d be willing to walk me through this, I’d appreciate it. I think it’d get rid of all of the fatal error messages we get on boot (which would be nice!).

    Comment by Zach — October 17, 2007 @ 9:04 pm

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress