xref: /plan9/sys/man/3/sdaoe (revision 856390f647b06ad32f5128d39f4fdf803d8e9b96)
SDAOE 3
NAME
sdaoe - ATA-over-Ethernet (AoE) storage device interface
SYNOPSIS
 bind -a #S /dev  "echo config switch on spec " l " type aoe//dev/aoe/" shelf.slot " >/dev/sdctl"  "echo config switch off spec " l " >/dev/sdctl"  /dev/sd l 0/ctl  /dev/sd l 0/raw  /dev/sd l 0/data ...
addaoe letter unit
DESCRIPTION
Sdaoe has a few quirks because network-attached storage can't be enumerated as directly-attached storage can. The default first controller letter for AoE devices is .LR e . Each sdaoe device must be configured explicitly.

Addaoe packages up the .L "switch on" invocation as an rc script.

To boot from an AoE root, the sd device must be configured on boot by either PXE booting or booting from directly-attached storage and adding two configuration lines to plan9.ini (8) for aoeif , listing the names of the Ethernet interface(s) to use, and aoedev= letter !#æ/aoe/ lun.

EXAMPLES
To configure target (LUN) 42.0 on #S/sde0 ,
.EX echo config switch on spec e type aoe//dev/aoe/42.0 >/dev/sdctl

To turn this device off,

.EX echo config switch off spec e >/dev/sdctl

To boot using target 42.0 as #S/sde0 and as root, over Ethernet interfaces 0 and 1,

.EX aoeif=ether0 ether1 aoedev=e!#æ/aoe/42.0
SOURCE
/sys/src/9/port/sdaoe.c
SEE ALSO
.IR vblade (1),
aoe (3), sd (3), .IR cec (8),
snoopy (8)
BUGS
It is not currently possible to boot from an AoE target without an external bootstrap like PXE.