sdaoe 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. .TH SDAOE 3
  2. .SH NAME
  3. sdaoe \- ATA-over-Ethernet (AoE) storage device interface
  4. .SH SYNOPSIS
  5. .nf
  6. .B bind -a #S /dev
  7. .BI "echo config switch on spec " l " type aoe//dev/aoe/" shelf\fB.\fPslot " >/dev/sdctl"
  8. .BI /dev/sd l 0/ctl
  9. .BI /dev/sd l 0/raw
  10. .BI /dev/sd l 0/data
  11. \&...
  12. .fi
  13. .SH DESCRIPTION
  14. .I Sdaoe
  15. has a few quirks because
  16. network-attached storage can't be enumerated as directly-attached storage can.
  17. The default first letter for AoE devices is
  18. .LR e .
  19. Each
  20. .B sdaoe
  21. device must be configured explicitly.
  22. To configure target
  23. .B 42.0
  24. on
  25. .BR sde0 :
  26. .IP
  27. .EX
  28. echo config switch on spec e type aoe//dev/aoe/42.0 >/dev/sdctl
  29. .EE
  30. .PP
  31. To turn this device off,
  32. .IP
  33. .EX
  34. echo config switch off spec e >/dev/sdctl
  35. .EE
  36. .PP
  37. To boot from an AoE root, the
  38. .B sd
  39. device must be configured on boot. To accomplish this,
  40. one must either PXE boot or boot from direct-attached
  41. storage and add two configuration lines to
  42. .IR plan9.ini (8).
  43. For example, to boot using target
  44. .B 42.0
  45. as
  46. .B sde0
  47. as root over Ethernet interfaces 0 and 1,
  48. .IP
  49. .EX
  50. aoeif=ether0 ether1
  51. aoedev=e!#æ/aoe/42.0
  52. .EE
  53. .SH SOURCE
  54. .B /sys/src/9/port/sdaoe.c
  55. .SH SEE ALSO
  56. .\" .IR cec (1),
  57. .\" .IR vblade (1),
  58. .IR aoe (3),
  59. .IR sd (3),
  60. .IR 9load (8),
  61. .IR snoopy (8)
  62. .SH BUGS
  63. It is not currently possible to boot from an AoE target without an
  64. external bootstrap like PXE.