AOE boot support

Write suggestions and new ideas in here
More ideas here http://community.linuxmint.com/idea/welcome
Forum rules
No support questions here please.
Do not post ideas for application developers. Please use GitHub for Cinnamon and Nemo ideas.

AOE boot support

Postby ldc on Thu Feb 14, 2008 2:29 pm

Hi,

I have been using Gentoo for quite some time, and for my workstation it's starting to feel a bit "too much" since i just want it 'to work'.. Currently i have a setup where i'm booting via AoE (ATA Over Ethernet) with the plain old AoE driver in the kernel and using a custom initrd for the AoE disk-discovery.

So my feature-request is if it would be possible to implement AoE disk-discovery support in the initrd to enable diskless booting?
If so i'm willing to help out with this, if needed, but it should be quite straightforward to implement.

Basically all that's needed is something like this:
1. get the kernel and initrd by whatever means you want (USB boot / tftp boot etc)
2. in the initrd we should then bring up the network interface(s) and might be good to be able to specify what driver/interface that is needed. Then do a discovery (echo 1 >/dev/etherd/discover ) of what disks are available and then use one of those to boot.

A couple of ideas i have had (but not played around with) is:
- Use some dhcp-options to specify what kernel-options should be used (like root-fs etc)
- Put a AoE server on some NAS server (like the Maxtor OneTouch that runs some embedded linux dist.)
- Some automatic scripts to enable configuration of a new client and create the corresponding disks etc.
- Using LVM snapshots during upgrades to failback on if something goes wrong.

Been using AoE-booting for about 8 months here with the AoE server qaoed with good performance and stability. The only thing i had problems with initially was irritating hangs where the client would lose contact with the server due to inactivity (during high load on the server) but that was easy to workaround with increasing the aoe.aoe_deadsecs to a couple of minutes just to make sure we only lose contact if the server goes down.. (server-restart time / 1.5 is usually a good thing if writecache is enabled in qaoed)


Still not a mint-user but might be very soon if this would get implemented ;)

If any of the developers wants to play with this or needs help with scripts or coding feel free to contact me..

My custom initrd is available here for reference.
http://bladerunner.mine.nu/
ldc
Level 1
Level 1
 
Posts: 1
Joined: Thu Feb 14, 2008 1:22 pm

Linux Mint is funded by ads and donations.
 

Re: AOE boot support

Postby Zwopper on Tue Feb 19, 2008 8:29 am

This sounds like a REALLY usefull feature!
I can imagine lots of uses for it.
In a company using this on thin clients would be great for instance.
This is something we need to get in to the corporate market I think.
Image
My artwork at deviantART | My Tweet
CREA DIEM!
Lenovo E320 | 8GB | 512GB Samsung 840 PRO - SSD | Ubuntu 14.04
User avatar
Zwopper
Level 10
Level 10
 
Posts: 3101
Joined: Fri Nov 30, 2007 12:20 pm
Location: Deep in the Swedish woods


Return to Suggestions & New Ideas

Who is online

Users browsing this forum: No registered users and 2 guests