The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with iPXE and AoE
2012-09-17, 16:46
Post: #1
Problem with iPXE and AoE
Hello,

I am trying to implement a small LAN of diskless clients using iPXE to boot from an AoE SAN device, and dnsmasq for DHCP and TFTP.

In order to make the image, I placed a hard drive in one of the clients and installed Debian Squeeze with XFCE (using two partitions in ext3, for root and swap), then placed the disk on the server and made an image of it with dd, using a block size of 512 bytes.

I then exported the image using vblade-persist:

Code:
vblade-persist setup 0 1 eth0 /var/storage/disks/d01.ima
vblade-persist auto all
vblade-persist restart all

Now, this is basically the dnsmasq setting I am using (so far I have configured only one client and image, for testing purposes)

Code:
interface=eth0
domain=mydomain.org
bogus-priv
filterwin2k
no-resolv
localise-queries
listen-address=192.168.1.1
server=192.168.0.2
cache-size=300
no-negcache
bogus-nxdomain=64.94.110.11
dhcp-range=set:lan,192.168.1.2,192.168.1.12,255.255.255.0,36h
dhcp-host=00:1A:2B:3C:4D:5E,set:d01,192.168.1.2,diskless01,infinite
cname=d01,diskless01
enable-tftp
tftp-root=/var/storage/ipxe/
dhcp-boot=tag:!ipxe,undionly.kpxe
dhcp-match=ipxe,175
dhcp-option=175,8:1:1
dhcp-option=tag:ipxe,tag:d01,17,"aoe:e0.1"
log-facility=/var/log/dnsmasq/dnsmasq.log
log-dhcp
log-queries
log-async=20

The problem is that although the client does begin to boot from the network, iPXE does not detect the SAN device.

However, the odd thing is that if I put the hard disk in the client and run the commands aoe-stat and aoeping, they seem to respond properly, so I asume the image is being served correctly.

I also burned the iPXE ISO on a CD and booted from it, and in this case the client does boots and detects the SAN device, but the boot process is interrupted when Linux tries to mount the root partition, because apparently it cannot find it. I modified the fstab to reference particions the former way instead of by UUID, but the same thing happens.

I am running out of ideas right now, so I would appreciate any help.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with iPXE and AoE - Nestor - 2012-09-17 16:46
RE: Problem with iPXE and AoE - mcb30 - 2012-09-18, 11:25
RE: Problem with iPXE and AoE - mcb30 - 2012-09-18, 14:02
RE: Problem with iPXE and AoE - mcb30 - 2012-09-18, 19:01
RE: Problem with iPXE and AoE - mcb30 - 2012-09-19, 01:31
RE: Problem with iPXE and AoE - Matt - 2012-10-01, 02:53



User(s) browsing this thread: 1 Guest(s)