1
0

aoe-flush.8 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. .TH aoe-flush 8
  2. .SH NAME
  3. aoe-flush \- flush the down devices out of the aoe driver
  4. .SH SYNOPSIS
  5. .nf
  6. .B aoe-flush [-a]
  7. .B aoe-flush dev1 [dev2 ...]
  8. .fi
  9. .SH DESCRIPTION
  10. The
  11. .I aoe-flush
  12. command tells the aoe driver to remove devices from the system and
  13. forget about them. Normally the aoe driver will remember all devices it has
  14. seen until the module is unloaded. By default,
  15. .I aoe-flush
  16. will only flush
  17. downed devices. With the \fB-a\fP flag all devices are candidates for removal.
  18. .PP
  19. .I aoe-flush
  20. will not remove devices that are in use. This includes devices in the
  21. closewait state or those in the process of being installed.
  22. .PP
  23. By specifying a series of specific aoe devices, e.g., \fBe7.0 e3.2\fP,
  24. it is possible to ask the aoe driver to forget these devices. This
  25. feature may be convenient after a temporary AoE target is no longer
  26. being used.
  27. .SH OPTIONS
  28. .TP
  29. \fB-a\fP
  30. The \fB-a\fP option tells the aoe driver to forget all unused devices.
  31. .SH EXAMPLE
  32. .EX
  33. .nf
  34. nai# aoe-stat | grep e12.0
  35. e12.0 0.000GB eth1 down
  36. nai# aoe-flush
  37. nai# aoe-stat | grep e12.0
  38. .fi
  39. .EE
  40. .SH BUGS
  41. Flushed devices may reappear when they are discovered by the periodic discovery
  42. beacon.
  43. .I aoe-discover
  44. may be used to force this behaviour.
  45. .SH "SEE ALSO"
  46. .IR aoe-stat (8),
  47. .IR aoe-discover (8),
  48. .IR aoetools (8).
  49. .SH AUTHOR
  50. Sam Hopkins (sah@coraid.com)