[ipxe-devel] sanhook not attaching multiple target?

Michael Brown mbrown at fensystems.co.uk
Mon Jun 6 08:35:26 BST 2011


On Monday 06 Jun 2011 03:59:08 Frank Weed wrote:
> I have haved been tring to attached multiple iscsi targets, but I
> notice that I am only seeing one.  Out of curiosity,  Would I need to
> add another line for it to make to work?  Here is the script:
> 
> #!ipxe
> dhcp
> route
> set use-cached 1
> set keep-san 1
> sanhook --drive 0x81 iscsi:xx.xx.x.x::::iqn.xxxxxx.xxxx.xxxxxxxx.xxx:vmdisk
> sanhook --drive 0x80
> iscsi:xx.xx.x.x::::iqn.xxxxxx.xxxx.xxxxxxxx.xxx:win7install
> sanboot --drive 0x80

Both drives will be accessible via INT13, but only the booted drive will be 
placed into the iBFT in the current implementation.

(More specifically, the last drive mentioned in a "sanboot" or "sanhook" 
command that doesn't specify --no-describe will be the drive that ends up in 
the iBFT.)

Michael


More information about the ipxe-devel mailing list