devnodes.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Driver Compatibility
  2. Users of udev have device nodes like /dev/etherd/e0.0 created for them
  3. automatically, as needed. These are dynamic device nodes. The aoe
  4. driver version 50 and above use dynamic device node minor numbers in
  5. order to support a greater number of AoE devices.
  6. Some systems use static device nodes, which are present in /dev
  7. regardless of what AoE devices are really available to the system. The
  8. aoetools contain the aoe-mkdevs and aoe-mkshelf commands, which create
  9. these static device nodes.
  10. If the static device nodes do not match the static device minor
  11. numbers in the kernel, you could accidentally perform reads and writes
  12. to the wrong AoE device. (It really is easier to let udev take care
  13. of the device nodes.)
  14. If you use an aoe driver from the CORAID website
  15. (http://support.coraid.com/support/linux/) then just use the aoetools that
  16. come bundled with that deiver. If you don't have udev, make sure you
  17. always load the aoe module with the aoe_dyndevs=0 option for any
  18. driver version above 49.
  19. If you didn't get your aoe driver from the CORAID website, and you
  20. can't use udev, then here's what to do:
  21. * Of course, read the README file in the aoetools sources.
  22. * To use aoetools-8 and later with older 2.6 kernels (2.6.13 and
  23. earlier), build the aoetools with an extra parameter for "make",
  24. like this:
  25. make NPERSHELF=10
  26. * Using aoetools-7 and earlier with newer 2.6 kernels (2.6.14 and
  27. later) is not recommended.
  28. Other combinations should work with the default settings.