glenda.party
term% ls -F
term% pwd
$home/manuals/9front/3/sdaoe
term% cat index.txt
SDAOE(3)                   Library Functions Manual                   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/sdl0/ctl
       /dev/sdl0/raw
       /dev/sdl0/data
       ...
       addaoe letter unit

DESCRIPTION
       Sdaoe  has  a few quirks because network-attached storage can't be enu‐
       merated as directly-attached storage can.  The default first controller
       letter  for AoE devices is Each sdaoe device must be configured explic‐
       itly.

       Addaoe packages up the 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,

              echo config switch on spec e type aoe//dev/aoe/42.0 >/dev/sdctl

       To turn this device off,

              echo config switch off spec e >/dev/sdctl

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

              aoeif=ether0 ether1
              aoedev=e!42.0

SOURCE
       /sys/src/9/port/sdaoe.c

SEE ALSO
       aoe(3), sd(3), snoopy(8)

BUGS
       It is not currently possible to boot from an AoE target without an  ex‐
       ternal bootstrap like PXE.



                                                                      SDAOE(3)