sdaoe 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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/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. To configure target
  22. .B 42.0
  23. on
  24. .BR sde0 :
  25. .IP
  26. .EX
  27. echo config switch on spec e type aoe/aoe/42.0 >/dev/sdctl
  28. .EE
  29. .PP
  30. To turn this device off,
  31. .IP
  32. .EX
  33. echo config switch off spec e >/dev/sdctl
  34. .EE
  35. .PP
  36. To boot from an AoE root, the
  37. .B sd
  38. device must be configured on boot. To accomplish this,
  39. one must either PXE boot or boot from direct-attached
  40. storage and add two configuration lines to
  41. .IR plan9.ini (8).
  42. For example, to boot using target
  43. .B 42.0
  44. as
  45. .B sde0
  46. as root over Ethernet interfaces 0 and 1,
  47. .IP
  48. .EX
  49. etherif=ether0 ether1
  50. aoedev=e!#æ/aoe/42.0
  51. .EE
  52. .SH SOURCE
  53. .B /sys/src/9/port/sdaoe.c
  54. .SH SEE ALSO
  55. .\" .IR cec (1),
  56. .\" .IR vblade (1),
  57. .IR aoe (3),
  58. .IR sd (3),
  59. .IR 9load (8),
  60. .IR snoopy (8)
  61. .SH BUGS
  62. It is not currently possible to boot from an AoE target without an
  63. external bootstrap like PXE.